-
Notifications
You must be signed in to change notification settings - Fork 664
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit fixes multiple issues with documentation. 1. Duplicated requirejs The nbsphinx extension introduced in #2393 pulled a requirejs which caused the initialization script to halt. As a result, the right side bar was left uninitialized. 2. Undefined variable error It turned out that PyTorch's theme expected the downstream projects to define `collapsedSections` variable. Currently console log shows `collapsedSections is not defined`. As a result of this fix, we start to see the + symbol on left side. 3. Fix the behavior of default expand Tweaks the right-side bar initialization behavior so that expand-all only happens once, not at every resize. 4. Overwrite the link to GitHub The `GitHub` tab in main-menu always linked PyTorch core. This commit adds overwrite to torchaudio page
- Loading branch information
Showing
2 changed files
with
39 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,6 +54,8 @@ | |
"nbsphinx", | ||
] | ||
|
||
nbsphinx_requirejs_path = "" | ||
|
||
autodoc_member_order = "bysource" | ||
|
||
# katex options | ||
|