From 70780ce71b47d18ddf49b210dc56302699e95f10 Mon Sep 17 00:00:00 2001 From: Marius Stanca Date: Tue, 26 Nov 2019 22:11:22 +0200 Subject: [PATCH] Add static site --- .travis.yml | 17 +++++++++++++++++ mkdocs.yml | 23 +++++++++++++++++++++++ requirements.txt | 2 ++ 3 files changed, 42 insertions(+) create mode 100644 .travis.yml create mode 100644 mkdocs.yml create mode 100644 requirements.txt diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..576d5ce --- /dev/null +++ b/.travis.yml @@ -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 diff --git a/mkdocs.yml b/mkdocs.yml new file mode 100644 index 0000000..6050059 --- /dev/null +++ b/mkdocs.yml @@ -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" diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..0381c40 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +mkdocs==1.0.4 +mkdocs-material==4.5.0