summaryrefslogtreecommitdiffstats
path: root/docs/templates/python
diff options
context:
space:
mode:
Diffstat (limited to 'docs/templates/python')
-rw-r--r--docs/templates/python/material/anta_test.html.jinja (renamed from docs/templates/python/material/anta_test.html)10
-rw-r--r--docs/templates/python/material/class.html.jinja (renamed from docs/templates/python/material/class.html)4
-rw-r--r--docs/templates/python/material/docstring.html.jinja (renamed from docs/templates/python/material/docstring.html)0
3 files changed, 7 insertions, 7 deletions
diff --git a/docs/templates/python/material/anta_test.html b/docs/templates/python/material/anta_test.html.jinja
index ade0ba6..a40d86a 100644
--- a/docs/templates/python/material/anta_test.html
+++ b/docs/templates/python/material/anta_test.html.jinja
@@ -31,7 +31,7 @@
{% endif %}
{% with heading_level = heading_level + extra_level %}
{% for attribute in attributes|order_members(config.members_order, members_list) %}
- {% if members_list is not none or attribute.is_public(check_name=False) %}
+ {% if members_list is not none or attribute.is_public %}
{% include attribute|get_template with context %}
{% endif %}
{% endfor %}
@@ -60,7 +60,7 @@
{% include "attributes_table.html" with context %}
{% set obj = old_obj %}
{% else %}
- {% if members_list is not none or class.is_public(check_name=False) %}
+ {% if members_list is not none or class.is_public %}
{% include class|get_template with context %}
{% endif %}
{% endif %}
@@ -82,7 +82,7 @@
{% with heading_level = heading_level + extra_level %}
{% for function in functions|order_members(config.members_order, members_list) %}
{% if not (obj.kind.value == "class" and function.name == "__init__" and config.merge_init_into_class) %}
- {% if members_list is not none or function.is_public(check_name=False) %}
+ {% if members_list is not none or function.is_public %}
{% include function|get_template with context %}
{% endif %}
{% endif %}
@@ -104,7 +104,7 @@
{% endif %}
{% with heading_level = heading_level + extra_level %}
{% for module in modules|order_members(config.members_order.alphabetical, members_list) %}
- {% if members_list is not none or module.is_public(check_name=False) %}
+ {% if members_list is not none or module.is_public %}
{% include module|get_template with context %}
{% endif %}
{% endfor %}
@@ -129,7 +129,7 @@
{% if not (obj.is_class and child.name == "__init__" and config.merge_init_into_class) %}
- {% if members_list is not none or child.is_public(check_name=False) %}
+ {% if members_list is not none or child.is_public %}
{% if child.is_attribute %}
{% with attribute = child %}
{% include attribute|get_template with context %}
diff --git a/docs/templates/python/material/class.html b/docs/templates/python/material/class.html.jinja
index 940103b..1c1173c 100644
--- a/docs/templates/python/material/class.html
+++ b/docs/templates/python/material/class.html.jinja
@@ -1,4 +1,4 @@
-{% extends "_base/class.html" %}
+{% extends "_base/class.html.jinja" %}
{% set anta_test = namespace(found=false) %}
{% for base in class.bases %}
{% set basestr = base | string %}
@@ -10,7 +10,7 @@
{% if anta_test.found %}
{% set root = False %}
{% set heading_level = heading_level + 1 %}
- {% include "anta_test.html" with context %}
+ {% include "anta_test.html.jinja" with context %}
{# render source after children - TODO make add flag to respect disabling it.. though do we want to disable?#}
<details class="quote">
<summary>Source code in <code>
diff --git a/docs/templates/python/material/docstring.html b/docs/templates/python/material/docstring.html.jinja
index b12ae7e..b12ae7e 100644
--- a/docs/templates/python/material/docstring.html
+++ b/docs/templates/python/material/docstring.html.jinja