Help you deploying your Sphinx documentation to Github Pages.
Set the publishing sources to "Github Actions"
Note
Publishing your GitHub Pages site with a custom GitHub Actions workflow is in beta and subject to change.
Create workflow:
name: Deploy Sphinx documentation to Pages # Runs on pushes targeting the default branch on: push: branches: [master] # Allow one concurrent deployment concurrency: group: "pages" cancel-in-progress: true jobs: pages: runs-on: ubuntu-20.04 environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} permissions: pages: write id-token: write steps: - id: deployment uses: sphinx-notes/pages@v3
Output | Description |
page_url |
URL to deployed GitHub Pages |
The following repository's pages are built by this action:
- https://github.com/SilverRainZ/bullet
- https://github.com/sphinx-notes/pages
- https://github.com/sphinx-notes/any
- https://github.com/sphinx-notes/snippet
- https://github.com/sphinx-notes/lilypond
- https://github.com/sphinx-notes/strike
- ...
You can found the workflow file in their repository.
Use Sphinx confval html_extra_path.