Skip to content
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

Fix doc js initialization #1736

Merged
merged 1 commit into from
May 26, 2022
Merged

Fix doc js initialization #1736

merged 1 commit into from
May 26, 2022

Conversation

mthrok
Copy link
Contributor

@mthrok mthrok commented May 21, 2022

  1. Fix collapsedSections is not defined error.
    PyTorch Sphinx theme seems to expect that collapsedSections
    variable to be defined before its theme.js is executed.

  2. Overwrite the link to GitHub project to torchtext
    So that documentation link to torchtext's repository instead of
    PyTorch core.

1. Fix `collapsedSections is not defined` error.
PyTorch Sphinx theme seems to expect that `collapsedSections`
variable to be defined before its theme.js is executed.

2. Overwrite the link to GitHub project to torchtext
So that documentation link to torchtext's repository instead of
PyTorch core.
Copy link
Contributor

@Nayef211 Nayef211 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@mthrok mthrok merged commit fe57328 into pytorch:main May 26, 2022
@mthrok mthrok deleted the tweak-doc branch May 26, 2022 03:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants