Point the CI badge at ci.yml (#30) #76
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: [master] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: docs-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| docs: | |
| uses: gojiplus/py-canon/.github/workflows/reusable-docs.yml@v1 | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| with: | |
| # naampy predates the docs/ flat-layout convention: real Sphinx source | |
| # (myst-nb notebook rendering, custom furo sidebars) lives in docs/source. | |
| docs-dir: docs/source | |
| # Docstring "Example:" blocks use >>> prompts for illustration (some | |
| # require live network/data access) and aren't meant to run as doctests. | |
| run-doctests: false | |
| deploy: ${{ github.event_name == 'push' }} |