Add static site

This commit is contained in:
Marius Stanca 2019-11-26 22:11:22 +02:00
parent 7b9777a352
commit 70780ce71b
No known key found for this signature in database
GPG Key ID: 3F18F3CF10AD6E8D
3 changed files with 42 additions and 0 deletions

17
.travis.yml Normal file
View File

@ -0,0 +1,17 @@
anguage: python
python:
- "3.6"
script:
- cp README.md docs/index.md
- mkdocs build
deploy:
provider: pages
local-dir: site
skip-cleanup: true
keep-history: true
github-token: $GITHUB_TOKEN
on:
branch: master

23
mkdocs.yml Normal file
View File

@ -0,0 +1,23 @@
site_name: Awesome DevOps
site_url: https://awesome-devops.xyz
site_description: A curated list of awesome DevOps tools, platforms and resources
site_author: Marius Stanca
repo_name: wmariuss/awesome-devops
repo_url: https://github.com/wmariuss/awesome-devops
theme:
name: material
palette:
primary: 'black'
accent: 'light blue'
extra:
social:
- type: github
link: https://github.com/wmariuss
- type: twitter
link: https://twitter.com/wmariuss
- type: linkedin
link: https://www.linkedin.com/in/wmariuss
extra_css:
- css/extra.css
nav:
- "Life is short, you need Python.": "index.md"

2
requirements.txt Normal file
View File

@ -0,0 +1,2 @@
mkdocs==1.0.4
mkdocs-material==4.5.0