GeezerVison is showing github.com — update mkdocs config · python043/awesome-python@21ab061
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboard +5-8Lines changed: 5 additions & 8 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
1 | | -BASEDIR=$(CURDIR) |
2 | | -DOCDIR=$(BASEDIR)/docs |
3 | | - |
4 | | -install: |
| 1 | +site_install: |
5 | 2 | pip install mkdocs==0.16.3 |
6 | 3 | pip install mkdocs-material==1.12.2 |
7 | 4 |
|
8 | | -link: |
9 | | - ln -sf $(BASEDIR)/README.md $(DOCDIR)/index.md |
| 5 | +site_link: |
| 6 | + ln -sf $(CURDIR)/README.md $(CURDIR)/docs/index.md |
10 | 7 |
|
11 | | -preview: link |
| 8 | +site_preview: site_link |
12 | 9 | mkdocs serve |
13 | 10 |
|
14 | | -deploy: link |
| 11 | +site_deploy: site_link |
15 | 12 | mkdocs gh-deploy --clean |
Collapse file
Copy file name to clipboard File renamed without changes.
Collapse file
Copy file name to clipboardExpand all lines: mkdocs.yml +2Lines changed: 2 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
21 | 21 | google_analytics: |
22 | 22 | - 'UA-510626-7' |
23 | 23 | - 'auto' |
| 24 | +extra_css: |
| 25 | + - css/extra.css |
24 | 26 | pages: |
25 | 27 | - "Life is short, you need Python.": "index.md" |