Skip to content

Commit

Permalink
add role=main to fix search bug in sphinx 2.0+
Browse files Browse the repository at this point in the history
  • Loading branch information
mli committed Nov 5, 2019
1 parent ebe5f13 commit 5457b9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mxtheme/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from os import path
from .card import CardDirective

__version__ = '0.3.9'
__version__ = '0.3.10'
__version_full__ = __version__

package_dir = path.dirname(path.abspath(__file__))
Expand Down
2 changes: 1 addition & 1 deletion mxtheme/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
{% endblock %}

{%- block document %}
<div class="page-content">
<div class="page-content" role="main">
{% block body %} {% endblock %}
</div>
<div class="side-doc-outline">
Expand Down

2 comments on commit 5457b9f

@szha
Copy link

@szha szha commented on 5457b9f Nov 6, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@leezu could you help pick up this change in GluonNLP too?

@leezu
Copy link

@leezu leezu commented on 5457b9f Nov 6, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can go ahead and merge it szha#1

Please sign in to comment.