Skip to content

Commit

Permalink
Fix mathjax in RTD build (Lightning-AI#10889)
Browse files Browse the repository at this point in the history
* Update docs.txt
* Update conf.py
* Update .readthedocs.yml
  • Loading branch information
ethanwharris authored Dec 2, 2021
1 parent c55bc43 commit ff20af4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
10 changes: 9 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,17 @@ formats:
- htmlzip
#- pdf

build:
os: ubuntu-20.04
tools:
python: "3.9"
apt_packages:
- texlive-latex-extra
- dvipng
- texlive-pictures

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.7
install:
- requirements: requirements/docs.txt
#- requirements: requirements.txt
6 changes: 3 additions & 3 deletions requirements/docs.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
sphinx>=4.0,<4.1
myst-parser
sphinx>=4.0,<5.0
myst-parser>=0.15
nbsphinx>=0.8.5
ipython[notebook]
pandoc>=1.0
docutils>=0.16,<0.18 # Sphinx not yet compatible with docutils >= 0.18
docutils>=0.16
sphinxcontrib-fulltoc>=1.0
sphinxcontrib-mockautodoc
https://github.com/PyTorchLightning/lightning_sphinx_theme/archive/master.zip#egg=pt-lightning-sphinx-theme
Expand Down

0 comments on commit ff20af4

Please sign in to comment.