Skip to content

Commit

Permalink
Add nvidia-sphinx-template (#484)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdye64 authored Feb 21, 2025
1 parent 63654e3 commit 5ca642c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ mkdocs-include-dir-to-nav
mkdocs-literate-nav
mkdocs-site-urls
myst-parser
nvidia-sphinx-theme
sphinx
sphinx-markdown-builder
sphinx-rtd-theme
15 changes: 14 additions & 1 deletion docs/sphinx_docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,18 @@
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_theme = "alabaster"
html_theme = "nvidia_sphinx_theme"

html_theme_options = {
"header_links": [
("Home", "index"),
("GitHub", "https://github.com/NVIDIA/nvidia-sphinx-theme", True, "fab fa-github"),
],
"footer_links": [
("Privacy Policy", "https://www.nvidia.com/en-us/about-nvidia/privacy-policy/"),
("Terms of Use", "https://www.nvidia.com/en-us/about-nvidia/legal-info/"),
],
"show_prev_next": True, # Show next/previous buttons at bottom
}

html_static_path = ["_static"]

0 comments on commit 5ca642c

Please sign in to comment.