Use mkdocs for building the documentation site. (#456)

This commit is contained in:
Abhilash Raj
2021-04-07 12:06:36 -07:00
committed by GitHub
parent 0d38c5b793
commit 1cefea12ac
6 changed files with 67 additions and 50 deletions

24
.github/workflows/publish_docs.yml vendored Normal file
View File

@@ -0,0 +1,24 @@
name: Publish docs via GitHub Pages
on:
push:
branches:
- main
- master
jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v2
- name: Deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@master
# Or use mhausenblas/mkdocs-deploy-gh-pages@nomaterial to build without the mkdocs-material theme
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CUSTOM_DOMAIN: asynchronous.in
CONFIG_FILE: mkdocs.yml