8000 fix: Make admonitions open by default · FasterSpeeding/python@79cd153 · GitHub
[go: up one dir, main page]

Skip to content

Commit 79cd153

Browse files
committed
fix: Make admonitions open by default
Issue mkdocstrings#22: mkdocstrings#22
1 parent c40d166 commit 79cd153

File tree

1 file changed

+1
-1
lines changed
  • src/mkdocstrings_handlers/python/templates/material/_base/docstring

1 file changed

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

0 commit comments

Comments
 (0)
0