Skip to content

Commit

Permalink
Add syntax highlighting to ReadTheDocs
Browse files Browse the repository at this point in the history
Ends up those codeblocks produced in Sphinx need a lexer in order to
to have that syntax highlighting. It seems that what it needs in order
for that to work is just iPython. So this adds iPython to the sphinx
build environment to act as a lexer.
  • Loading branch information
markjonestx committed Jun 22, 2021
1 parent 342026d commit 88af007
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ sphinx-autodoc-typehints~=1.12.0
sphinxcontrib-bibtex~=1.0.0
nbsphinx~=0.8.6
jinja2~=2.11.3
ipython~=7.22.0

0 comments on commit 88af007

Please sign in to comment.