Skip to content

Commit

Permalink
DOC: Add NEPs link to top navbar
Browse files Browse the repository at this point in the history
[skip azp] [skip travis] [skip cirrus]
  • Loading branch information
melissawm committed Jun 27, 2023
1 parent a8c60e5 commit 80f7316
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 19 deletions.
14 changes: 0 additions & 14 deletions doc/source/_templates/sidebar-extras.html

This file was deleted.

8 changes: 4 additions & 4 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,10 @@ def setup(app):
"twitter_url": "https://twitter.com/numpy_team",
"collapse_navigation": True,
"external_links": [
{"name": "Learn", "url": "https://numpy.org/numpy-tutorials/"}
{"name": "Learn", "url": "https://numpy.org/numpy-tutorials/"},
{"name": "NEPs", "url": "https://numpy.org/neps"}
],
"header_links_before_dropdown": 6,
# Add light/dark mode and documentation version switcher:
"navbar_end": ["theme-switcher", "version-switcher", "navbar-icon-links"],
"switcher": {
Expand All @@ -210,10 +212,8 @@ def setup(app):
html_copy_source = False
html_domain_indices = False
html_file_suffix = '.html'

htmlhelp_basename = 'numpy'
html_sidebars = {
"**": ["sidebar-nav-bs", "sidebar-extras"]
}

if 'sphinx.ext.pngmath' in extensions:
pngmath_use_preview = True
Expand Down
4 changes: 3 additions & 1 deletion doc/source/user/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ details are found in :ref:`reference`.
.. toctree::
:hidden:
:caption: Extras

../glossary
../license
../release
../license

0 comments on commit 80f7316

Please sign in to comment.