Skip to content

Commit 7b130d5

Browse files
committed
Fix: doc template
1 parent 415e5b4 commit 7b130d5

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

changelog.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
- New `eds.contextual_qualifier` pipeline component to qualify spans based on contextual information.
66

77
### Fixed
8-
- Contributing documentation. Delete `$ pre-commit run --all-files`recommendation.
8+
- Correct the contributing documentation. Delete `$ pre-commit run --all-files`recommendation.
9+
- Fix the the `Obj Class` in the doc template `class.html`.
910

1011
## v0.15.0 (2024-12-13)
1112

docs/assets/templates/python/material/class.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<div class="doc doc-object doc-class">
2-
{% with html_id = class.path %}
2+
{% with obj = class %}
3+
{% with html_id = class.path %}
34

45
{% if config.only_parameters or config.only_class_level %}
56

@@ -115,13 +116,12 @@
115116
{% endif %}
116117
{% endif %}
117118

118-
{% with obj = class %}
119-
{% set root = False %}
120-
{% set heading_level = heading_level + 1 %}
121-
{% include "children.html" with context %}
122-
{% endwith %}
119+
{% set root = False %}
120+
{% set heading_level = heading_level + 1 %}
121+
{% include "children.html" with context %}
123122
</div>
124123
{% endif %}
125124

125+
{% endwith %}
126126
{% endwith %}
127127
</div>

0 commit comments

Comments
 (0)