GeezerVison is showing github.com — Update .travis.yml for automatic deployment · python043/awesome-python@04c0ba8
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 +15-5Lines changed: 15 additions & 5 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
1 | | -language: ruby |
| 1 | +language: python |
2 | 2 |
|
3 | | -rvm: |
4 | | - - 2.2 |
| 3 | +python: |
| 4 | + - "3.6" |
5 | 5 |
|
6 | 6 | before_script: |
7 | | - - gem install awesome_bot |
| 7 | + - pip install mkdocs mkdocs-material |
8 | 8 |
|
9 | 9 | script: |
10 | | - - awesome_bot README.md --allow-dupe --white-list pyparsing,graphviz.org |
| 10 | + - cp README.md docs/index.md |
| 11 | + - mkdocs build |
| 12 | + |
| 13 | +deploy: |
| 14 | + provider: pages |
| 15 | + local-dir: "site" |
| 16 | + skip-cleanup: true |
| 17 | + github-token: $GITHUB_TOKEN |
| 18 | + keep-history: true |
| 19 | + on: |
| 20 | + branch: master |
Collapse file
Copy file name to clipboardExpand all lines: mkdocs.yml +4-5Lines changed: 4 additions & 5 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -4,13 +4,12 @@ site_description: 'A curated list of awesome Python frameworks, libraries and so |
4 | 4 | site_author: 'Vinta Chen' |
5 | 5 | repo_name: 'vinta/awesome-python' |
6 | 6 | repo_url: 'https://github.com/vinta/awesome-python' |
7 | | -theme: 'material' |
8 | | -extra: |
9 | | - feature: |
10 | | - tabs: false |
| 7 | +theme: |
| 8 | + name: 'material' |
11 | 9 | palette: |
12 | 10 | primary: 'red' |
13 | 11 | accent: 'pink' |
| 12 | +extra: |
14 | 13 | social: |
15 | 14 | - type: 'github' |
16 | 15 | link: 'https://github.com/vinta' |
@@ -23,5 +22,5 @@ google_analytics: |
23 | 22 | - 'auto' |
24 | 23 | extra_css: |
25 | 24 | - css/extra.css |
26 | | -pages: |
| 25 | +nav: |
27 | 26 | - "Life is short, you need Python.": "index.md" |