GeezerVison is showing github.com — use MkDocs to generate a static website · python043/awesome-python@65ef34f
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 +4Lines changed: 4 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | .DS_Store |
| 2 | + |
2 | 3 | *.py[co] |
| 4 | + |
| 5 | +docs/index.md |
| 6 | +site/ |
Collapse file
Copy file name to clipboard +12Lines changed: 12 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +BASEDIR=$(CURDIR) |
| 2 | +DOCDIR=$(BASEDIR)/docs |
| 3 | + |
| 4 | +install: |
| 5 | + pip install mkdocs |
| 6 | + |
| 7 | +preview: |
| 8 | + mkdocs serve |
| 9 | + |
| 10 | +deploy: |
| 11 | + ln -sf $(BASEDIR)/README.md $(DOCDIR)/index.md |
| 12 | + mkdocs gh-deploy --clean |
Collapse file
Copy file name to clipboard +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +awesome-python.com |
Collapse file
Copy file name to clipboard +37Lines changed: 37 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +.bs-sidebar.well { |
| 2 | + /* margin-bottom: 0; */ |
| 3 | +} |
| 4 | + |
| 5 | +.bs-sidebar .nav > li > a:hover, |
| 6 | +.bs-sidebar .nav > li > a:focus { |
| 7 | + border: none; |
| 8 | + border-left: 2px solid; |
| 9 | +} |
| 10 | + |
| 11 | +.bs-sidebar .nav > .active > a, |
| 12 | +.bs-sidebar .nav > .active:hover > a, |
| 13 | +.bs-sidebar .nav > .active:focus > a { |
| 14 | + border: none; |
| 15 | + border-left: 2px solid; |
| 16 | +} |
| 17 | + |
| 18 | +@media (min-width: 992px) { |
| 19 | + .bs-sidebar.affix { |
| 20 | + /* top: 60px; */ |
| 21 | + /* bottom: 0px; */ |
| 22 | + top: 80px; |
| 23 | + bottom: 23px; |
| 24 | + overflow: auto; |
| 25 | + } |
| 26 | +} |
| 27 | + |
| 28 | +@media (min-width: 1200px) { |
| 29 | + .bs-sidebar.affix-bottom, |
| 30 | + .bs-sidebar.affix { |
| 31 | + width: 280px; |
| 32 | + } |
| 33 | + |
| 34 | + .container > .col-md-9 { |
| 35 | + padding-left: 40px; |
| 36 | + } |
| 37 | +} |
Collapse file
Copy file name to clipboard +6Lines changed: 6 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +site_name: Awesome Python |
| 2 | +site_url: http://awesome-python.com |
| 3 | +site_description: "A curated list of awesome Python frameworks, libraries and software" |
| 4 | +site_author: Vinta Chen |
| 5 | +repo_url: https://github.com/vinta/awesome-python |
| 6 | +theme: flatly |