Skip to content

Commit

Permalink
added scoped keywords
Browse files Browse the repository at this point in the history
see issue 213 (#213)
  • Loading branch information
lhfriedman authored and AWhetter committed Jun 8, 2020
1 parent 975ac49 commit c51fb3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autoapi/templates/python/module.rst
Expand Up @@ -61,7 +61,7 @@ Submodules
{% set visible_classes = visible_children|selectattr("type", "equalto", "class")|list %}
{% set visible_functions = visible_children|selectattr("type", "equalto", "function")|list %}
{% if "show-module-summary" in autoapi_options and (visible_classes or visible_functions) %}
{% block classes %}
{% block classes scoped %}
{% if visible_classes %}
Classes
~~~~~~~
Expand All @@ -76,7 +76,7 @@ Classes
{% endif %}
{% endblock %}

{% block functions %}
{% block functions scoped %}
{% if visible_functions %}
Functions
~~~~~~~~~
Expand Down

0 comments on commit c51fb3f

Please sign in to comment.