summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoss Barnowski <rossbar@berkeley.edu>2022-09-08 10:51:47 -0700
committerJarrod Millman <jarrod.millman@gmail.com>2022-09-30 09:55:24 -0700
commitcc54f73a9b12364f093dc8904687e73acac9a6cd (patch)
tree523a94391458a37528c5d677b1404401a537c060
parentdeda4c3f08f821888cb3b0ebc5e778a6cec55319 (diff)
downloadnetworkx-cc54f73a9b12364f093dc8904687e73acac9a6cd.tar.gz
Update documentation header links for latest pydata-sphinx-theme (#5966)
Non-collapsing header, re-order links.
-rw-r--r--doc/conf.py1
-rw-r--r--doc/index.rst4
2 files changed, 3 insertions, 2 deletions
diff --git a/doc/conf.py b/doc/conf.py
index 4e7ac42e..f5b6d55a 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -137,6 +137,7 @@ html_theme_options = {
"external_links": [{"name": "Guides", "url": "https://networkx.org/nx-guides/"}],
"navbar_end": ["theme-switcher", "navbar-icon-links", "version"],
"page_sidebar_items": ["search-field", "page-toc", "edit-this-page"],
+ "header_links_before_dropdown": 7,
}
html_sidebars = {
"**": ["sidebar-nav-bs", "sidebar-ethical-ads"],
diff --git a/doc/index.rst b/doc/index.rst
index 0a177e99..bcc0bff3 100644
--- a/doc/index.rst
+++ b/doc/index.rst
@@ -119,6 +119,6 @@ Bibliography
install
tutorial
reference/index
- release/index
- developer/index
auto_examples/index
+ developer/index
+ release/index