8000 DOC: Bump minimum Sphinx to 5.1.0 · matplotlib/matplotlib@64cd3de · GitHub
[go: up one dir, main page]

Skip to content

Commit 64cd3de

Browse files
committed
DOC: Bump minimum Sphinx to 5.1.0
We depend on `pydata-sphinx-theme` 0.15.0, which requires Sphinx 5, and `sphinx-tags`, which requires Sphinx 5.1, so we really shouldn't create an environment with Sphinx older than that.
1 parent 08759ea commit 64cd3de

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,8 +360,8 @@ def gallery_image_warning_filter(record):
360360
# This is the default encoding, but it doesn't hurt to be explicit
361361
source_encoding = "utf-8"
362362

363-
# The toplevel toctree document (renamed to root_doc in Sphinx 4.0)
364-
root_doc = master_doc = 'index'
363+
# The toplevel toctree document.
364+
root_doc = 'index'
365365

366366
# General substitutions.
367367
try:

requirements/doc/doc-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# Install the documentation requirements with:
88
# pip install -r requirements/doc/doc-requirements.txt
99
#
10-
sphinx>=3.0.0,!=6.1.2
10+
sphinx>=5.1.0,!=6.1.2
1111
colorspacious
1212
ipython
1313
ipywidgets

0 commit comments

Comments
 (0)
0