-
Notifications
You must be signed in to change notification settings - Fork 805
Publishing updates #3399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Publishing updates #3399
Changes from all commits
ff8a510
7a76a30
fffd19e
474a2c0
57562cf
6c43d04
84d0546
f45f74e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -59,6 +59,8 @@ | |
| "breathe", | ||
| "autoapi.extension", | ||
| "sphinx_tabs.tabs", | ||
| "myst_parser", | ||
| "nvidia-sphinx-theme", | ||
| ] | ||
|
|
||
| templates_path = ["_templates"] | ||
|
|
@@ -77,26 +79,22 @@ | |
| # -- Options for HTML output ------------------------------------------------- | ||
| # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output | ||
|
|
||
| html_theme = "sphinx_rtd_theme" | ||
| html_static_path = ["_static"] | ||
| html_show_sphinx = False | ||
|
|
||
| html_css_files = [ | ||
| "css/nvidia_font.css", | ||
| "css/nvidia_footer.css", | ||
| "css/output-style.css", | ||
| "css/diagram-colors.css", | ||
| "css/sphinx_tabs.css", | ||
| "css/svg-responsive.css", | ||
| "css/rtabs.css", | ||
| ] | ||
|
|
||
| html_theme = "nvidia_sphinx_theme" | ||
| html_theme_options = { | ||
| "collapse_navigation": False, | ||
| "logo_only": False, | ||
| "version_selector": False, | ||
| "language_selector": False, | ||
| "public_docs_features": True, | ||
| "switcher": { | ||
|
zredeaux07 marked this conversation as resolved.
|
||
| "json_url": "../versions1.json", | ||
| "version_match": release, | ||
| }, | ||
| "icon_links": [ | ||
| { | ||
| "name": "GitHub", | ||
| "url": "https://github.com/NVIDIA/TransformerEngine/", | ||
| "icon": "fa-brands fa-github", | ||
| } | ||
| ], | ||
| } | ||
| html_extra_path = ["project.json", "versions1.json"] | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These will need to be created for the project. |
||
|
|
||
| napoleon_custom_sections = [ | ||
| ("Parallelism parameters", "params_style"), | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -31,6 +31,7 @@ Transformer Engine documentation | |||||
| installation | ||||||
| getting_started/index | ||||||
| faq | ||||||
| release_notes | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Only needed if content remains in MD. |
||||||
|
|
||||||
| .. toctree:: | ||||||
| :hidden: | ||||||
|
|
||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This file should either be renamed to "release_notes.md" or the TE team will need to provide the release notes content as RST for future releases. They are currently provided as an MD file. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Paste in the latest release notes. | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should add our copyright header here
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Will do! Thank you @ksivaman! |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When CI, nightly publishing, or the documented local build runs, Sphinx loads
nvidia_sphinx_theme, but those environments install or clone onlysphinx_rtd_theme, causing the documentation build to abort before producing HTML.