mkdocstrings-python 1.7.0__py3-none-any.whl → 1.7.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mkdocstrings_handlers/python/templates/material/_base/class.html +8 -8
- mkdocstrings_handlers/python/templates/material/_base/signature.html +4 -4
- {mkdocstrings_python-1.7.0.dist-info → mkdocstrings_python-1.7.1.dist-info}/METADATA +1 -1
- {mkdocstrings_python-1.7.0.dist-info → mkdocstrings_python-1.7.1.dist-info}/RECORD +6 -6
- {mkdocstrings_python-1.7.0.dist-info → mkdocstrings_python-1.7.1.dist-info}/WHEEL +0 -0
- {mkdocstrings_python-1.7.0.dist-info → mkdocstrings_python-1.7.1.dist-info}/licenses/LICENSE +0 -0
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
{% block heading scoped %}
|
|
27
27
|
{% if config.separate_signature %}
|
|
28
28
|
<span class="doc doc-object-name doc-class-name">{{ class_name }}</span>
|
|
29
|
-
{% elif config.merge_init_into_class and "__init__" in class.
|
|
30
|
-
{% with function = class.
|
|
29
|
+
{% elif config.merge_init_into_class and "__init__" in class.all_members %}
|
|
30
|
+
{% with function = class.all_members["__init__"] %}
|
|
31
31
|
{%+ filter highlight(language="python", inline=True) %}
|
|
32
32
|
{{ class_name }}{% include "signature.html" with context %}
|
|
33
33
|
{% endfilter %}
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
|
|
48
48
|
{% block signature scoped %}
|
|
49
49
|
{% if config.separate_signature and config.merge_init_into_class %}
|
|
50
|
-
{% if "__init__" in class.
|
|
51
|
-
{% with function = class.
|
|
50
|
+
{% if "__init__" in class.all_members %}
|
|
51
|
+
{% with function = class.all_members["__init__"] %}
|
|
52
52
|
{% filter format_signature(function, config.line_length, crossrefs=config.signature_crossrefs) %}
|
|
53
53
|
{{ class.name }}
|
|
54
54
|
{% endfilter %}
|
|
@@ -86,8 +86,8 @@
|
|
|
86
86
|
{% include "docstring.html" with context %}
|
|
87
87
|
{% endwith %}
|
|
88
88
|
{% if config.merge_init_into_class %}
|
|
89
|
-
{% if "__init__" in class.
|
|
90
|
-
{% with docstring_sections = class.
|
|
89
|
+
{% if "__init__" in class.all_members and class.all_members["__init__"].has_docstring %}
|
|
90
|
+
{% with docstring_sections = class.all_members["__init__"].docstring.parsed %}
|
|
91
91
|
{% include "docstring.html" with context %}
|
|
92
92
|
{% endwith %}
|
|
93
93
|
{% endif %}
|
|
@@ -97,10 +97,10 @@
|
|
|
97
97
|
{% block source scoped %}
|
|
98
98
|
{% if config.show_source %}
|
|
99
99
|
{% if config.merge_init_into_class %}
|
|
100
|
-
{% if "__init__" in class.
|
|
100
|
+
{% if "__init__" in class.all_members and class.all_members["__init__"].source %}
|
|
101
101
|
<details class="quote">
|
|
102
102
|
<summary>Source code in <code>{{ class.relative_filepath }}</code></summary>
|
|
103
|
-
{{ class.
|
|
103
|
+
{{ class.all_members["__init__"].source|highlight(language="python", linestart=class.all_members["__init__"].lineno, linenums=True) }}
|
|
104
104
|
</details>
|
|
105
105
|
{% endif %}
|
|
106
106
|
{% elif class.source %}
|
|
@@ -11,10 +11,6 @@
|
|
|
11
11
|
)
|
|
12
12
|
-%}
|
|
13
13
|
|
|
14
|
-
{%- if config.show_signature_annotations -%}
|
|
15
|
-
{%- set ns.equal = " = " -%}
|
|
16
|
-
{%- endif -%}
|
|
17
|
-
|
|
18
14
|
(
|
|
19
15
|
{%- for parameter in function.parameters -%}
|
|
20
16
|
{%- if parameter.name not in ("self", "cls") or loop.index0 > 0 or not (function.parent and function.parent.is_class) -%}
|
|
@@ -31,6 +27,7 @@
|
|
|
31
27
|
{%- endif -%}
|
|
32
28
|
|
|
33
29
|
{%- if config.show_signature_annotations and parameter.annotation is not none -%}
|
|
30
|
+
{%- set ns.equal = " = " -%}
|
|
34
31
|
{%- if config.separate_signature and config.signature_crossrefs -%}
|
|
35
32
|
{%- with expression = parameter.annotation -%}
|
|
36
33
|
{%- set ns.annotation -%}: {% include "expression.html" with context %}{%- endset -%}
|
|
@@ -38,6 +35,9 @@
|
|
|
38
35
|
{%- else -%}
|
|
39
36
|
{%- set ns.annotation = ": " + parameter.annotation|safe -%}
|
|
40
37
|
{%- endif -%}
|
|
38
|
+
{%- else -%}
|
|
39
|
+
{%- set ns.equal = "=" -%}
|
|
40
|
+
{%- set ns.annotation = "" -%}
|
|
41
41
|
{%- endif -%}
|
|
42
42
|
|
|
43
43
|
{%- if parameter.default is not none and parameter.kind.value != "variadic positional" and parameter.kind.value != "variadic keyword" -%}
|
|
@@ -4,7 +4,7 @@ mkdocstrings_handlers/python/handler.py,sha256=HjHHYUiCzk9zxrIUmZwo6yM-_mjR0C-lv
|
|
|
4
4
|
mkdocstrings_handlers/python/rendering.py,sha256=pBpsM_zxGGlp-xmCNZRcOOkQppyQFPev5b1exmtJSW0,11551
|
|
5
5
|
mkdocstrings_handlers/python/templates/material/_base/attribute.html,sha256=1nLfAEyZiD3DF9R7nyEb69cIM5oFp1MA-Zl7SJwuVts,2539
|
|
6
6
|
mkdocstrings_handlers/python/templates/material/_base/children.html,sha256=8z5dQ2HOywV7CQ3KYYgdBX8N-CGbnYZ8Sm7ugN89IIo,5709
|
|
7
|
-
mkdocstrings_handlers/python/templates/material/_base/class.html,sha256=
|
|
7
|
+
mkdocstrings_handlers/python/templates/material/_base/class.html,sha256=T1i4f82Gtx9Yyf7cvhxiZ2s1ipLnZ0tli_sXnmkRBSc,4523
|
|
8
8
|
mkdocstrings_handlers/python/templates/material/_base/docstring.html,sha256=Sw8TwJy4aTZA2phqqg61QVAZDfLYJAzgE_lQmDcdUsU,2163
|
|
9
9
|
mkdocstrings_handlers/python/templates/material/_base/docstring/admonition.html,sha256=wiD2FtMnGrFMZJDilURnNqzIu8bOR0zcMErUVUqbDPo,274
|
|
10
10
|
mkdocstrings_handlers/python/templates/material/_base/docstring/attributes.html,sha256=hpGB3CKuD44C4utJxKfA4V-uqQCVnV4fVRkjwGMrcdU,2840
|
|
@@ -26,7 +26,7 @@ mkdocstrings_handlers/python/templates/material/_base/languages/en.html,sha256=u
|
|
|
26
26
|
mkdocstrings_handlers/python/templates/material/_base/languages/ja.html,sha256=Az63fFTq4MIr65DjufCh8GYujB0-CiAJFDVVW9mCGtQ,984
|
|
27
27
|
mkdocstrings_handlers/python/templates/material/_base/languages/zh.html,sha256=oPB3-fnOdmdGdrnRZUgXw6zuQGlF-aq5Bbkm1zF4xgA,902
|
|
28
28
|
mkdocstrings_handlers/python/templates/material/_base/module.html,sha256=OrQb5_CfpQno9TJeVkHdz0Dp_DrXXKFW7sVRflsw-mI,2085
|
|
29
|
-
mkdocstrings_handlers/python/templates/material/_base/signature.html,sha256=
|
|
29
|
+
mkdocstrings_handlers/python/templates/material/_base/signature.html,sha256=aXGcPXowRwAc__-OQYBuNYT45trt7BZIxlp-64-WRrM,2833
|
|
30
30
|
mkdocstrings_handlers/python/templates/material/attribute.html,sha256=Zbo0SMrqjdlUhXunXpy_VENWITviBDLt8UBdF5EnVb0,37
|
|
31
31
|
mkdocstrings_handlers/python/templates/material/children.html,sha256=xLnVaXevA0HRffVdOK0INULbekvbOYV9vKQ_zXBLyK0,36
|
|
32
32
|
mkdocstrings_handlers/python/templates/material/class.html,sha256=BGYm-uj8AEDiUZtNxr6ji7I1xFrlAiyOB7cOwM7gzEM,33
|
|
@@ -67,7 +67,7 @@ mkdocstrings_handlers/python/templates/readthedocs/languages/en.html,sha256=bhfj
|
|
|
67
67
|
mkdocstrings_handlers/python/templates/readthedocs/languages/ja.html,sha256=ULdcRwrN9rF8shxFVwEZ1jqSICebVKMi8cYHpNZypd8,372
|
|
68
68
|
mkdocstrings_handlers/python/templates/readthedocs/languages/zh.html,sha256=ZYm9N33cRC4Z66-ZqmteWDfRNfo8hKe25Bz4ijVk22A,359
|
|
69
69
|
mkdocstrings_handlers/python/templates/readthedocs/style.css,sha256=Ds8vF1rSxc2B0c4P10osx4cqXHWMntcSCxmRfX-nfzw,971
|
|
70
|
-
mkdocstrings_python-1.7.
|
|
71
|
-
mkdocstrings_python-1.7.
|
|
72
|
-
mkdocstrings_python-1.7.
|
|
73
|
-
mkdocstrings_python-1.7.
|
|
70
|
+
mkdocstrings_python-1.7.1.dist-info/METADATA,sha256=-xUoZmk8lP5DyZLiop0byqpZmZBTiX6KrkVedc12pn8,5748
|
|
71
|
+
mkdocstrings_python-1.7.1.dist-info/WHEEL,sha256=1D4d-_ODszlK6-qFybc5BLF-ZhZvee-uKVh2hLa3IIc,90
|
|
72
|
+
mkdocstrings_python-1.7.1.dist-info/licenses/LICENSE,sha256=JGb4pdPEM8TTjjhr-uNCO7oXkiVrwG5Pz0JamcjNF_s,754
|
|
73
|
+
mkdocstrings_python-1.7.1.dist-info/RECORD,,
|
|
File without changes
|
{mkdocstrings_python-1.7.0.dist-info → mkdocstrings_python-1.7.1.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|