Skip to content

Commit 4ec8b60

Browse files
committed
Template modifications to avoid jinja exception
1 parent c1a5bbb commit 4ec8b60

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

doc/.templates/custom-class-template.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
{% block methods %}
1111
{% if methods %}
12-
.. rubric:: {{ _('Methods') }}
12+
.. rubric:: Methods
1313

1414
.. autosummary::
1515
:nosignatures:
@@ -23,7 +23,7 @@
2323

2424
{% block attributes %}
2525
{% if attributes %}
26-
.. rubric:: {{ _('Attributes') }}
26+
.. rubric:: Attributes
2727

2828
.. autosummary::
2929
{% for item in attributes %}

doc/.templates/custom-module-template.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
{% block functions %}
1818
{% if functions %}
19-
.. rubric:: {{ _('Functions') }}
19+
.. rubric:: Functions
2020

2121
.. autosummary::
2222
:toctree:
@@ -29,7 +29,7 @@
2929

3030
{% block classes %}
3131
{% if classes %}
32-
.. rubric:: {{ _('Classes') }}
32+
.. rubric:: Classes
3333

3434
.. autosummary::
3535
:toctree:
@@ -43,7 +43,7 @@
4343

4444
{% block exceptions %}
4545
{% if exceptions %}
46-
.. rubric:: {{ _('Exceptions') }}
46+
.. rubric:: Exceptions
4747

4848
.. autosummary::
4949
:toctree:

0 commit comments

Comments
 (0)