Skip to content

Commit f2122d7

Browse files
committed
refactor: Use more explicit template debug messages
1 parent b91f15b commit f2122d7

File tree

17 files changed

+17
-17
lines changed

17 files changed

+17
-17
lines changed

src/mkdocstrings_handlers/python/templates/material/_base/attribute.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{ log.debug() }}
1+
{{ log.debug("Rendering " + attribute.path) }}
22
{% if config.show_if_no_docstring or attribute.has_docstrings %}
33

44
<div class="doc doc-object doc-attribute">

src/mkdocstrings_handlers/python/templates/material/_base/children.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{ log.debug() }}
1+
{{ log.debug("Rendering children of " + obj.path) }}
22
{% if obj.members %}
33

44
<div class="doc doc-children">

src/mkdocstrings_handlers/python/templates/material/_base/class.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{ log.debug() }}
1+
{{ log.debug("Rendering " + class.path) }}
22
{% if config.show_if_no_docstring or class.has_docstrings %}
33

44
<div class="doc doc-object doc-class">

src/mkdocstrings_handlers/python/templates/material/_base/docstring.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{ log.debug() }}
1+
{{ log.debug("Rendering docstring") }}
22
{% if docstring_sections %}
33
{% for section in docstring_sections %}
44
{% if section.kind.value == "text" %}

src/mkdocstrings_handlers/python/templates/material/_base/docstring/admonition.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{ log.debug() }}
1+
{{ log.debug("Rendering admonition") }}
22
<details class="{{ section.value.kind }}">
33
<summary>{{ section.title|convert_markdown(heading_level, html_id, strip_paragraph=True) }}</summary>
44
{{ section.value.contents|convert_markdown(heading_level, html_id) }}

src/mkdocstrings_handlers/python/templates/material/_base/docstring/attributes.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{ log.debug() }}
1+
{{ log.debug("Rendering attributes section") }}
22
{% if config.docstring_section_style == "table" %}
33
<p><strong>{{ section.title or "Attributes:" }}</strong></p>
44
<table>

src/mkdocstrings_handlers/python/templates/material/_base/docstring/examples.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{ log.debug() }}
1+
{{ log.debug("Rendering examples section") }}
22
<p><strong>{{ section.title or "Examples:" }}</strong></p>
33
{% for section_type, sub_section in section.value %}
44
{% if section_type == "markdown" %}

src/mkdocstrings_handlers/python/templates/material/_base/docstring/other_parameters.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{ log.debug() }}
1+
{{ log.debug("Rendering other parameters section") }}
22
{% if config.docstring_section_style == "table" %}
33
<p><strong>{{ section.title or "Other Parameters:" }}</strong></p>
44
<table>

src/mkdocstrings_handlers/python/templates/material/_base/docstring/parameters.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{ log.debug() }}
1+
{{ log.debug("Rendering parameters section") }}
22
{% if config.docstring_section_style == "table" %}
33
<p><strong>{{ section.title or "Parameters:" }}</strong></p>
44
<table>

src/mkdocstrings_handlers/python/templates/material/_base/docstring/raises.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{ log.debug() }}
1+
{{ log.debug("Rendering raises section") }}
22
{% if config.docstring_section_style == "table" %}
33
<p><strong>{{ section.title or "Raises:" }}</strong></p>
44
<table>

0 commit comments

Comments
 (0)