From e34e035e221fc3e261c5094aaa1588650a87633d Mon Sep 17 00:00:00 2001 From: Jarrod Millman Date: Wed, 12 May 2021 16:15:18 -0700 Subject: Update documentation dependencies (#4794) * Update documentation dependencies * Speed up theme --- doc/conf.py | 3 +++ requirements/doc.txt | 6 +++--- 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 -- cgit v1.2.1