summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarrod Millman <jarrod.millman@gmail.com>2021-05-12 16:15:18 -0700
committerGitHub <noreply@github.com>2021-05-12 16:15:18 -0700
commite34e035e221fc3e261c5094aaa1588650a87633d (patch)
tree0001f80d3418a4b98cbf3d69b382662233f5a4ce
parent40656f99a2574fee183a42a2a6167d31cced924d (diff)
downloadnetworkx-e34e035e221fc3e261c5094aaa1588650a87633d.tar.gz
Update documentation dependencies (#4794)
* Update documentation dependencies * Speed up theme
-rw-r--r--doc/conf.py3
-rw-r--r--requirements/doc.txt6
2 files changed, 6 insertions, 3 deletions
diff --git a/doc/conf.py b/doc/conf.py
index d52df556..65c3359c 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -130,6 +130,9 @@ doctest_global_setup = "import networkx as nx"
html_baseurl = "https://networkx.org/documentation/stable/"
html_theme = "pydata_sphinx_theme"
html_theme_options = {
+ "collapse_navigation": True,
+ "navigation_depth": 3,
+ "show_prev_next": False,
"icon_links": [
{
"name": "GitHub",
diff --git a/requirements/doc.txt b/requirements/doc.txt
index 0fd736ef..5f5e791f 100644
--- a/requirements/doc.txt
+++ b/requirements/doc.txt
@@ -1,6 +1,6 @@
-sphinx==3.5.4
-pydata-sphinx-theme==0.5.2
-sphinx-gallery==0.8.2
+sphinx~=4.0
+pydata-sphinx-theme~=0.6
+sphinx-gallery~=0.9
numpydoc>=1.1
pillow>=8.2
nb2plots>=0.6