Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
sudo apt-get install -y pandoc graphviz doxygen
export GIT_SHA=$(git show-ref --hash HEAD)
- name: 'Build docs'
env:
NVTE_DOCS_DISABLE_PUBLIC_FEATURES: '1'
run: | # SPHINXOPTS="-W" errors out on warnings
doxygen docs/Doxyfile
cd docs
Expand Down
4 changes: 3 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,10 @@
)
switcher_version = os.getenv("NVTE_DOCS_SWITCHER_VERSION", "latest")

public_docs_features = os.getenv("NVTE_DOCS_DISABLE_PUBLIC_FEATURES", "0") != "1"

html_theme_options = {
"public_docs_features": True,
"public_docs_features": public_docs_features,
"switcher": {
"json_url": switcher_json_url,
"version_match": switcher_version,
Expand Down
Loading