Skip to content

Commit fa2f86a

Browse files
authored
Merge pull request #1658 from consideRatio/explicitly-require-sphinx-2
RTD build fix: get correct version of sphinx
2 parents 8ffced2 + 81ef2d4 commit fa2f86a

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

doc/doc-requirements.txt

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
1-
pydata_sphinx_theme
1+
# Order matters:
2+
# - myst-parser[sphinx] depends on "sphinx>=2,<3"
3+
# - pydata-sphinx-theme depends on "sphinx"
4+
# - sphinx-copybutton depends on "sphinx>=1.8"
5+
#
6+
# Listing either pydata-sphinx-theme or sphinx-copybutton first will make the
7+
# myst-parser[sphinx] constraints on sphinx be ignored, so myst-parser should go
8+
# first. This is only relevant if sphinx==1.* is already installed in the
9+
# environment, which it is on ReadTheDocs.
10+
#
11+
myst-parser[sphinx]
12+
pydata-sphinx-theme
213
pyyaml
3-
myst_parser[sphinx]
414
sphinx-autobuild
515
sphinx-copybutton

0 commit comments

Comments
 (0)