Fixes #1745 - Github action to generate API docs

This commit is contained in:
Charlie Kindel
2022-09-16 09:15:03 -06:00
parent 959f8b3742
commit 414cc41ec6

18
.github/workflows/api-docs.yml vendored Normal file
View File

@@ -0,0 +1,18 @@
jobs:
build-publish-api-docs:
runs-on: ubuntu-latest
name: Build and publish API docs
steps:
- uses: actions/checkout@v1
# ...
- uses: nikeee/docfx-action@v1.0.0
name: Build API Documentation
with:
args: docfx/docfx.json
# # Publish generated site using GitHub Pages
# - uses: maxheld83/ghpages@master
# name: Publish API Documentation on GitHub Pages
# env:
# BUILD_DIR: docs # docfx's default output directory is _site
# GH_PAT: ${{ secrets.GH_PAT }} # See https://github.com/maxheld83/ghpages