Skip to content

Commit

Permalink
mkdocs
Browse files Browse the repository at this point in the history
  • Loading branch information
nakamasato committed Mar 5, 2022
1 parent e13ff9b commit ecdf441
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: github-pages

on:
push:
branches:
- main
pull_request: # temporary
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.x
- run: pip install mkdocs-material
- run: mkdocs gh-deploy --force
26 changes: 26 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
site_name: Kubernetes Traning
theme:
name: material
palette:
- scheme: default
toggle:
icon: material/toggle-switch-off-outline
name: Switch to dark mode
primary: blue grey
- scheme: slate
toggle:
icon: material/toggle-switch
name: Switch to light mode
primary: blue grey
features:
- header.autohide
- navigation.indexes
- toc.follow
repo_url: https://github.com/nakamasato/kubernetes-training
markdown_extensions:
- pymdownx.superfences
extra:
analytics:
provider: google
property: G-9NTB93RVPJ
docs_dir: contents

0 comments on commit ecdf441

Please sign in to comment.