Skip to content

Commit

Permalink
Configure PST top bar and shorten top-level page title names
Browse files Browse the repository at this point in the history
  • Loading branch information
CAM-Gerlach committed Jul 28, 2024
1 parent 8a7e762 commit 0b3885d
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 19 deletions.
5 changes: 4 additions & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@
html_theme = "pydata_sphinx_theme"
html_logo = "_static/images/spyder_logo.png"
html_theme_options = {
"header_links_before_dropdown": 8,
"navigation_with_keys": False,
}
html_context = {
Expand Down Expand Up @@ -211,7 +212,9 @@
# default: ``['localtoc.html', 'relations.html', 'sourcelink.html',
# 'searchbox.html']``.
#
html_sidebars = {}
html_sidebars = {
"**": ["sidebar-nav-bs"],
}

# Additional templates that should be rendered to pages, maps page names to
# template names.
Expand Down
5 changes: 2 additions & 3 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -154,12 +154,11 @@ Connect with Spyder through our social media channels to stay up to date with ou
:maxdepth: 2
:hidden:

Welcome<self>
quickstart
installation
FAQ<faq>
videos/index
panes/index
plugins/index
troubleshooting/index
workshops/index
FAQ<faq>
troubleshooting/index
6 changes: 3 additions & 3 deletions doc/installation.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.. _install-guide:

##################
Installation Guide
##################
#############
Install Guide
#############

Spyder is relatively easy to install on Windows, Linux and macOS.
Just make sure to read and follow these instructions with care.
Expand Down
6 changes: 3 additions & 3 deletions doc/panes/index.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
==============
Panes in Depth
==============
=====
Panes
=====

.. toctree::
:maxdepth: 2
Expand Down
6 changes: 3 additions & 3 deletions doc/plugins/index.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
==============
Spyder Plugins
==============
=======
Plugins
=======

.. toctree::
:maxdepth: 2
Expand Down
6 changes: 3 additions & 3 deletions doc/quickstart.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
##########
Quickstart
##########
####
Tour
####

Welcome to our Quickstart!
Here you will find an interactive tour that will guide you through Spyder's interface.
Expand Down
6 changes: 3 additions & 3 deletions doc/videos/index.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
============
Intro Videos
============
=========
Tutorials
=========

.. toctree::
:maxdepth: 2
Expand Down

0 comments on commit 0b3885d

Please sign in to comment.