Skip to content

Added API folder

Added API folder #13

Workflow file for this run

# DocFx Build and Deploy
name: DocFx
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
defaults:
run:
working-directory: docs
jobs:
Build_DocFx :
runs-on: ubuntu-latest
name: BuildDocs
steps:
- uses: actions/checkout@v2.4.0
# ...
- run: echo $GITHUB_PATH
- run: ls
- uses: nikeee/docfx-action@v1.0.0
name: Build Documentation
with:
args: build ./docs/docfx.json
# Publish generated site using GitHub Pages
- uses: maxheld83/ghpages@master
name: Publish Documentation on GitHub Pages
env:
BUILD_DIR: docs/_site # docfx's default output directory is _site
GH_PAT: ${{ secrets.GH_PAT }} # See https://github.com/maxheld83/ghpages