mkdocs-template¶
Mkdocs Template using github pages and actions
How to build mkdocs template¶
- init repo
- set up mkdocs work directories, including
mkdocs.yml
anddocs
directory. - set up github pages
Source: Deploy from a branch Branch: gh-pages/root
- set up github actions
name: ci on: push: branches: - main 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: pip install mkdocs-awesome-pages-plugin - run: pip install mkdocs-jupyter - run: pip install mkdocs-git-revision-date-localized-plugin - run: mkdocs gh-deploy --force
- view the https://speaknowpotato.github.io/mkdocs-template/. It's all set.
Reference¶
Managing a custom domain for your GitHub Pages site
Last update:
2022-10-30
Created: 2022-10-30
Created: 2022-10-30