Skip to content

Commit d9d3972

Browse files
authored
Extract constructors into their own dedicated section (#1)
1 parent fa99aca commit d9d3972

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • mkdocstrings/templates/crystal/material

mkdocstrings/templates/crystal/material/type.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@
4848
{% endif %}
4949

5050
{% for title, sub in [
51-
("Class methods", obj.class_methods + obj.constructors),
51+
("Constructors", obj.constructors),
52+
("Class methods", obj.class_methods),
5253
("Methods", obj.instance_methods),
5354
("Macros", obj.macros),
5455
] %}

0 commit comments

Comments
 (0)