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

Use prerendered KaTeX in docs. #23376

Closed
wants to merge 2 commits into from
Closed

Conversation

ezyang
Copy link
Contributor

@ezyang ezyang commented Jul 25, 2019

Stack from ghstack:

This uses master version of sphinxcontrib-katex as it only
recently got prerender support.

Fixes #20984

Signed-off-by: Edward Z. Yang ezyang@fb.com

Differential Revision: D16582064

This uses master version of sphinxcontrib-katex as it only
recently got prerender support.

Signed-off-by: Edward Z. Yang <ezyang@fb.com>
@pytorchbot pytorchbot added module: build Build system issues module: ci Related to continuous integration module: docs Related to our documentation, both in docs/ and docblocks module: pybind Related to our Python bindings / interactions with other Python libraries labels Jul 25, 2019
ezyang added a commit that referenced this pull request Jul 25, 2019
This uses master version of sphinxcontrib-katex as it only
recently got prerender support.

Signed-off-by: Edward Z. Yang <ezyang@fb.com>

ghstack-source-id: 831c1e7dbbec6db3e9c3deb1d41c92c6f4bc9806
Pull Request resolved: #23376
@ezyang
Copy link
Contributor Author

ezyang commented Jul 25, 2019

This, as done in this PR, is a bit slower than imgmath svg/png. Check out #20984 (comment) for more details.

@ezyang
Copy link
Contributor Author

ezyang commented Jul 26, 2019

We should add some extra preloads for this, and slim down the JavaScript, before landing this.

This uses master version of sphinxcontrib-katex as it only
recently got prerender support.

Fixes #20984

Signed-off-by: Edward Z. Yang <ezyang@fb.com>
ezyang added a commit that referenced this pull request Jul 31, 2019
This uses master version of sphinxcontrib-katex as it only
recently got prerender support.

Signed-off-by: Edward Z. Yang <ezyang@fb.com>

ghstack-source-id: 4e8d4aba1831163a96bd9c8070828e4f6d3df657
Pull Request resolved: #23376
@zou3519 zou3519 deleted the gh/ezyang/254/head branch July 31, 2019 17:04
@facebook-github-bot
Copy link
Contributor

@ezyang merged this pull request in 5b66062.

soumith pushed a commit that referenced this pull request Aug 7, 2019
Summary:
Pull Request resolved: #23376

This uses master version of sphinxcontrib-katex as it only
recently got prerender support.

Fixes #20984

Signed-off-by: Edward Z. Yang <ezyang@fb.com>

Test Plan: Imported from OSS

Differential Revision: D16582064

Pulled By: ezyang

fbshipit-source-id: 9ef24c5788c19572515ded2db2e8ebfb7a5ed44d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Merged module: build Build system issues module: ci Related to continuous integration module: docs Related to our documentation, both in docs/ and docblocks module: pybind Related to our Python bindings / interactions with other Python libraries
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants