File tree 15 files changed +15
-15
lines changed
src/mkdocstrings_handlers/python/templates 15 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 40
40
< ul >
41
41
{% for attribute in section.value %}
42
42
< li class ="field-body ">
43
- < b > {{ attribute.name }}</ b >
43
+ < b > < code > {{ attribute.name }}</ code > </ b >
44
44
{% if attribute.annotation %}
45
45
{% with expression = attribute.annotation %}
46
46
(< code > {% include "expression.html" with context %}</ code > )
Original file line number Diff line number Diff line change 32
32
< ul >
33
33
{% for class in section.value %}
34
34
< li class ="field-body ">
35
- < b > {{ class.name }}</ b >
35
+ < b > < code > {{ class.name }}</ code > </ b >
36
36
–
37
37
< div class ="doc-md-description ">
38
38
{{ class.description|convert_markdown(heading_level, html_id) }}
Original file line number Diff line number Diff line change 35
35
{% for function in section.value %}
36
36
{% if not function.name == "__init__" or not config.merge_init_into_class %}
37
37
< li class ="field-body ">
38
- < b > {{ function.name }}</ b >
38
+ < b > < code > {{ function.name }}</ code > </ b >
39
39
–
40
40
< div class ="doc-md-description ">
41
41
{{ function.description|convert_markdown(heading_level, html_id) }}
Original file line number Diff line number Diff line change 32
32
< ul >
33
33
{% for module in section.value %}
34
34
< li class ="field-body ">
35
- < b >{{ module.name }}</ b >
35
+ < b > < code > {{ module.name }}</ code > </ b >
36
36
–
37
37
< div class ="doc-md-description ">
38
38
{{ module.description|convert_markdown(heading_level, html_id) }}
Original file line number Diff line number Diff line change 40
40
< ul >
41
41
{% for parameter in section.value %}
42
42
< li class ="field-body ">
43
- < b > {{ parameter.name }}</ b >
43
+ < b > < code > {{ parameter.name }}</ code > </ b >
44
44
{% if parameter.annotation %}
45
45
{% with expression = parameter.annotation %}
46
46
(< code > {% include "expression.html" with context %}</ code > )
Original file line number Diff line number Diff line change 50
50
< ul >
51
51
{% for parameter in section.value %}
52
52
< li class ="field-body ">
53
- < b > {{ parameter.name }}</ b >
53
+ < b > < code > {{ parameter.name }}</ code > </ b >
54
54
{% if parameter.annotation %}
55
55
{% with expression = parameter.annotation %}
56
56
(< code > {% include "expression.html" with context %}</ code >
Original file line number Diff line number Diff line change 41
41
< ul &g
A935
t;
42
42
{% for receives in section.value %}
43
43
< li class ="field-body ">
44
- {% if receives.name %}< b > {{ receives.name }}</ b > {% endif %}
44
+ {% if receives.name %}< b > < code > {{ receives.name }}</ code > </ b > {% endif %}
45
45
{% if receives.annotation %}
46
46
{% with expression = receives.annotation %}
47
47
{% if receives.name %} ({% endif %}
Original file line number Diff line number Diff line change 41
41
< ul >
42
42
{% for returns in section.value %}
43
43
< li class ="field-body ">
44
- {% if returns.name %}< b > {{ returns.name }}</ b > {% endif %}
44
+ {% if returns.name %}< b > < code > {{ returns.name }}</ code > </ b > {% endif %}
45
45
{% if returns.annotation %}
46
46
{% with expression = returns.annotation %}
47
47
{% if returns.name %} ({% endif %}
Original file line number Diff line number Diff line change 41
41
< ul >
42
42
{% for yields in section.value %}
43
43
< li class ="field-body ">
44
- {% if yields.name %}< b > {{ yields.name }}</ b > {% endif %}
44
+ {% if yields.name %}< b > < code > {{ yields.name }}</ code > </ b > {% endif %}
45
45
{% if yields.annotation %}
46
46
{% with expression = yields.annotation %}
47
47
{% if yields.name %} ({% endif %}
Original file line number Diff line number Diff line change 14
14
< ul class ="first simple ">
15
15
{% for attribute in section.value %}
16
16
< li >
17
- < b > {{ attribute.name }}</ b >
17
+ < b > < code > {{ attribute.name }}</ code > </ b >
18
18
{% if attribute.annotation %}
19
19
{% with expression = attribute.annotation %}
20
20
(< code > {% include "expression.html" with context %}</ code > )
Original file line number Diff line number Diff line change 14
14
< ul class ="first simple ">
15
15
{% for parameter in section.value %}
16
16
< li >
17
- < b > {{ parameter.name }}</ b >
17
+ < b > < code > {{ parameter.name }}</ code > </ b >
18
18
{% if parameter.annotation %}
19
19
{% with expression = parameter.annotation %}
20
20
(< code > {% include "expression.html" with context %}</ code > )
Original file line number Diff line number Diff line change 14
14
< ul class ="first simple ">
15
15
{% for parameter in section.value %}
16
16
< li >
17
- < b > {{ parameter.name }}</ b >
17
+ < b > < code > {{ parameter.name }}</ code > </ b >
18
18
{% if parameter.annotation %}
19
19
{% with expression = parameter.annotation %}
20
20
(< code > {% include "expression.html" with context %}</ code >
Original file line number Diff line number Diff line change 14
14
< ul class ="first simple ">
15
15
{% for receives in section.value %}
16
16
< li >
17
- {% if receives.name %}< b > {{ receives.name }}</ b > {% endif %}
17
+ {% if receives.name %}< b > < code > {{ receives.name }}</ code > </ b > {% endif %}
18
18
{% if receives.annotation %}
19
19
{% with expression = receives.annotation %}
20
20
{% if receives.name %}({% endif %}
Original file line number Diff line number Diff line change 14
14
< ul class ="first simple ">
15
15
{% for returns in section.value %}
16
16
< li >
17
- {% if returns.name %}< b > {{ returns.name }}</ b > {% endif %}
17
+ {% if returns.name %}< b > < code > {{ returns.name }}</ code > </ b > {% endif %}
18
18
{% if returns.annotation %}
19
19
{% with expression = returns.annotation %}
20
20
{% if returns.name %}({% endif %}
Original file line number Diff line number Diff line change 14
14
< ul class ="first simple ">
15
15
{% for yields in section.value %}
16
16
< li >
17
- {% if yields.name %}< b > {{ yields.name }}</ b > {% endif %}
17
+ {% if yields.name %}< b > </ code > {{ yields.name }}</ code > </ b > {% endif %}
18
18
{% if yields.annotation %}
19
19
{% with expression = yields.annotation %}
20
20
{% if yields.name %}({% endif %}
You can’t perform that action at this time.
0 commit comments