Skip to content

Commit

Permalink
Hide Common from toctree
Browse files Browse the repository at this point in the history
Signed-off-by: Travis F. Collins <[email protected]>
  • Loading branch information
tfcollins committed May 15, 2024
1 parent dc29a65 commit 832a89f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./doc/build/html

- name: Publish package
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
# - name: Publish package
# uses: pypa/gh-action-pypi-publish@master
# with:
# user: __token__
# password: ${{ secrets.PYPI_TOKEN }}
1 change: 1 addition & 0 deletions doc/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ myst-parser
sphinxcontrib-mermaid
pillow
furo
sphinx-remove-toctrees
2 changes: 2 additions & 0 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,13 @@
"sphinx.ext.githubpages",
"myst_parser",
"sphinxcontrib.mermaid",
"sphinx_remove_toctrees",
]

templates_path = ["_templates"]
exclude_patterns = []

remove_from_toctrees = ["instruments/bench.common.rst"]

# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
Expand Down

0 comments on commit 832a89f

Please sign in to comment.