Support sum of 2D vectors using tensor #98
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docs | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- src/** | |
- docs/** | |
- .github/workflows/docs.yml | |
pull_request: | |
branches: | |
- main | |
paths: | |
- docs/** | |
- .github/workflows/docs.yml | |
workflow_dispatch: | |
jobs: | |
generate-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 8.0.x | |
- name: Setup DocFX | |
run: dotnet tool update -g docfx | |
- name: DocFX Build | |
working-directory: docs | |
run: docfx ./docfx.json | |
continue-on-error: false | |
- name: Publish | |
if: github.event_name == 'push' | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: docs/_site | |
force_orphan: true |