Skip to content

Commit

Permalink
Fix search function hanging
Browse files Browse the repository at this point in the history
Fixed by applying the changes from sphinx-doc/sphinx#6394.
Specifically, the main div now has the `role="main" attribute.

Fixes #28.
  • Loading branch information
hunse authored and tbekolay committed Aug 5, 2019
1 parent fa7b7c4 commit 107e90f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ Release History
1.0.2 (unreleased)
==================

**Fixed**

- Fixed the search box, which was hanging for many search terms.
(`#28 <https://github.com/nengo/nengo-sphinx-theme/issues/28>`__,
`#39 <https://github.com/nengo/nengo-sphinx-theme/pull/39>`__)

1.0.1 (July 16, 2019)
=====================
Expand Down
2 changes: 1 addition & 1 deletion nengo_sphinx_theme/theme/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
<div class="col-12 col-md-8 col-xl-9">
<div class="container">
<div class="row">
<div class="col-10 offset-1 pb-5 documentation-source">
<div class="col-10 offset-1 pb-5 documentation-source" role="main">
{% block body %} {% endblock %}
</div>
</div>
Expand Down

0 comments on commit 107e90f

Please sign in to comment.