Upgrade to Doxygen 1.12.0 (#146) #57
This file contains hidden or 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: | |
| - '.github/workflows/docs.yml' | |
| - 'docs/**' | |
| - 'include/**' | |
| - 'tests/**' | |
| - 'CMakeLists.txt' | |
| - 'cmake/**' | |
| - '*.md' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| jobs: | |
| generate_docs: | |
| runs-on: ubuntu-latest | |
| container: libfn/ci-docs:latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| # Guardrail to ensure that we do not update docs after a bad merge | |
| - name: Build and run tests | |
| continue-on-error: false | |
| run: | | |
| mkdir .build | |
| cd .build | |
| cmake -DDOCS=On .. | |
| cmake --build . | |
| ctest | |
| - name: Export docs | |
| continue-on-error: false | |
| run: | | |
| cd .build | |
| cmake --build . --target export_docs | |
| - name: Setup Pages | |
| uses: actions/configure-pages@v4 | |
| - name: Upload artifact | |
| uses: actions/upload-pages-artifact@v3 | |
| with: | |
| path: ./.build/docs | |
| name: docs-develop | |
| - name: Deploy to GitHub Pages | |
| id: deployment | |
| uses: actions/deploy-pages@v4 | |
| with: | |
| artifact_name: docs-develop |