Skip to content

Commit

Permalink
refactor: Bring consistency on headings style
Browse files Browse the repository at this point in the history
  • Loading branch information
pawamoy committed Apr 28, 2022
1 parent dd41182 commit 59104c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
toc_label=class.name) %}

{% if config.separate_signature %}
<code>{% if show_full_path %}{{ class.path }}{% else %}{{ class.name }}{% endif %}</code>
{% if show_full_path %}{{ class.path }}{% else %}{{ class.name }}{% endif %}
{% elif config.merge_init_into_class and "__init__" in class.members -%}
{%- with function = class.members["__init__"] -%}
{%- filter highlight(language="python", inline=True) -%}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
class="doc doc-heading",
toc_label=module.name) %}

<code>{% if show_full_path %}{{ module.path }}{% else %}{{ module.name }}{% endif %}</code>
{% if not config.separate_signature %}<code>{% endif %}
{% if show_full_path %}{{ module.path }}{% else %}{{ module.name }}{% endif %}
{% if not config.separate_signature %}</code>{% endif %}

{% with labels = module.labels %}
{% include "labels.html" with context %}
Expand Down

0 comments on commit 59104c4

Please sign in to comment.