Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ zip_safe = False
packages = sphinx_rtd_theme
python_requires = >=3.8
install_requires =
sphinx >=6,<9
sphinx >=8.1,<9
docutils >0.18,<0.22
sphinxcontrib-jquery >=4,<5
tests_require =
Expand Down
2 changes: 1 addition & 1 deletion sphinx_rtd_theme/static/js/theme.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ function ThemeNav () {
})

// Nav menu link click operations
.on('click', ".wy-menu-vertical .current ul li a", function() {
.on('click', ".wy-menu-vertical ul li a[href^='#']", function() {
var target = $(this);
// Close menu when you click a link.
$("[data-toggle='wy-nav-shift']").removeClass("shift");
Expand Down