Skip to content

Commit

Permalink
fix: Remove href attributes from headings in templates
Browse files Browse the repository at this point in the history
There's no real issue with this but it's invalid and doesn't do anything.

PR #204: #204
  • Loading branch information
oprypin authored Dec 30, 2020
1 parent a154f5c commit d5602ff
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/mkdocstrings/templates/python/material/attribute.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
{% else %}
{% if config.show_root_toc_entry %}
<h{{ heading_level }} class="hidden-toc"
href="#{{ html_id }}"
id="{{ html_id }}"
data-toc-label="{{ attribute.path }}"
style="visibility: hidden; position: absolute;">
Expand Down
1 change: 0 additions & 1 deletion src/mkdocstrings/templates/python/material/class.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
{% else %}
{% if config.show_root_toc_entry %}
<h{{ heading_level }} class="hidden-toc"
href="#{{ html_id }}"
id="{{ html_id }}"
data-toc-label="{{ class.path }}"
style="visibility: hidden; position: absolute;">
Expand Down
1 change: 0 additions & 1 deletion src/mkdocstrings/templates/python/material/function.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
{% else %}
{% if config.show_root_toc_entry %}
<h{{ heading_level }} class="hidden-toc"
href="#{{ html_id }}"
id="{{ html_id }}"
data-toc-label="{{ function.path }}"
style="visibility: hidden; position: absolute;">
Expand Down
1 change: 0 additions & 1 deletion src/mkdocstrings/templates/python/material/method.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
{% else %}
{% if config.show_root_toc_entry %}
<h{{ heading_level }} class="hidden-toc"
href="#{{ html_id }}"
id="{{ html_id }}"
data-toc-label="{{ method.path }}"
style="visibility: hidden; position: absolute;">
Expand Down
1 change: 0 additions & 1 deletion src/mkdocstrings/templates/python/material/module.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
{% else %}
{% if config.show_root_toc_entry %}
<h{{ heading_level }} class="hidden-toc"
href="#{{ html_id }}"
id="{{ html_id }}"
data-toc-label="{{ module.path }}"
style="visibility: hidden; position: absolute;">
Expand Down

0 comments on commit d5602ff

Please sign in to comment.