mkdocstrings-python 1.18.2__py3-none-any.whl → 2.0.0__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.
Files changed (150) hide show
  1. mkdocstrings_handlers/python/__init__.py +0 -4
  2. mkdocstrings_handlers/python/_internal/config.py +20 -48
  3. mkdocstrings_handlers/python/_internal/debug.py +1 -1
  4. mkdocstrings_handlers/python/_internal/handler.py +26 -45
  5. mkdocstrings_handlers/python/_internal/rendering.py +50 -113
  6. mkdocstrings_handlers/python/templates/material/_base/attribute.html.jinja +2 -4
  7. mkdocstrings_handlers/python/templates/material/_base/backlinks.html.jinja +49 -0
  8. mkdocstrings_handlers/python/templates/material/_base/class.html.jinja +58 -18
  9. mkdocstrings_handlers/python/templates/material/_base/docstring/attributes.html.jinja +4 -8
  10. mkdocstrings_handlers/python/templates/material/_base/docstring/classes.html.jinja +1 -2
  11. mkdocstrings_handlers/python/templates/material/_base/docstring/examples.html.jinja +1 -2
  12. mkdocstrings_handlers/python/templates/material/_base/docstring/functions.html.jinja +1 -2
  13. mkdocstrings_handlers/python/templates/material/_base/docstring/modules.html.jinja +1 -2
  14. mkdocstrings_handlers/python/templates/material/_base/docstring/other_parameters.html.jinja +4 -8
  15. mkdocstrings_handlers/python/templates/material/_base/docstring/parameters.html.jinja +7 -14
  16. mkdocstrings_handlers/python/templates/material/_base/docstring/raises.html.jinja +4 -8
  17. mkdocstrings_handlers/python/templates/material/_base/docstring/receives.html.jinja +5 -10
  18. mkdocstrings_handlers/python/templates/material/_base/docstring/returns.html.jinja +5 -10
  19. mkdocstrings_handlers/python/templates/material/_base/docstring/type_aliases.html.jinja +1 -1
  20. mkdocstrings_handlers/python/templates/material/_base/docstring/type_parameters.html.jinja +9 -9
  21. mkdocstrings_handlers/python/templates/material/_base/docstring/warns.html.jinja +4 -8
  22. mkdocstrings_handlers/python/templates/material/_base/docstring/yields.html.jinja +5 -10
  23. mkdocstrings_handlers/python/templates/material/_base/docstring.html.jinja +15 -30
  24. mkdocstrings_handlers/python/templates/material/_base/expression.html.jinja +3 -0
  25. mkdocstrings_handlers/python/templates/material/_base/function.html.jinja +6 -10
  26. mkdocstrings_handlers/python/templates/material/_base/language.html.jinja +3 -6
  27. mkdocstrings_handlers/python/templates/material/_base/module.html.jinja +4 -8
  28. mkdocstrings_handlers/python/templates/material/_base/signature.html.jinja +3 -6
  29. mkdocstrings_handlers/python/templates/material/_base/summary/attributes.html.jinja +1 -2
  30. mkdocstrings_handlers/python/templates/material/_base/summary/classes.html.jinja +1 -2
  31. mkdocstrings_handlers/python/templates/material/_base/summary/functions.html.jinja +1 -2
  32. mkdocstrings_handlers/python/templates/material/_base/summary/modules.html.jinja +1 -2
  33. mkdocstrings_handlers/python/templates/material/_base/summary/type_aliases.html.jinja +1 -2
  34. mkdocstrings_handlers/python/templates/material/_base/summary.html.jinja +5 -10
  35. mkdocstrings_handlers/python/templates/material/_base/type_alias.html.jinja +3 -6
  36. mkdocstrings_handlers/python/templates/material/_base/type_parameters.html.jinja +2 -4
  37. mkdocstrings_handlers/python/templates/material/style.css +24 -0
  38. mkdocstrings_handlers/python/templates/readthedocs/_base/class.html +11 -0
  39. mkdocstrings_handlers/python/templates/readthedocs/_base/class.html.jinja +251 -0
  40. mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/attributes.html.jinja +2 -4
  41. mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/other_parameters.html.jinja +2 -4
  42. mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/parameters.html.jinja +3 -6
  43. mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/raises.html.jinja +2 -4
  44. mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/receives.html.jinja +2 -4
  45. mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/returns.html.jinja +2 -4
  46. mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/warns.html.jinja +2 -4
  47. mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/yields.html.jinja +2 -4
  48. mkdocstrings_handlers/python/templates/readthedocs/_base/language.html.jinja +3 -6
  49. mkdocstrings_handlers/python/templates/{material → readthedocs}/class.html +0 -1
  50. mkdocstrings_handlers/python/templates/readthedocs/class.html.jinja +1 -0
  51. mkdocstrings_python-2.0.0.dist-info/METADATA +179 -0
  52. mkdocstrings_python-2.0.0.dist-info/RECORD +121 -0
  53. {mkdocstrings_python-1.18.2.dist-info → mkdocstrings_python-2.0.0.dist-info}/WHEEL +1 -1
  54. mkdocstrings_handlers/python/config.py +0 -17
  55. mkdocstrings_handlers/python/handler.py +0 -17
  56. mkdocstrings_handlers/python/rendering.py +0 -17
  57. mkdocstrings_handlers/python/templates/material/_base/attribute.html +0 -10
  58. mkdocstrings_handlers/python/templates/material/_base/children.html +0 -10
  59. mkdocstrings_handlers/python/templates/material/_base/class.html +0 -10
  60. mkdocstrings_handlers/python/templates/material/_base/docstring/admonition.html +0 -10
  61. mkdocstrings_handlers/python/templates/material/_base/docstring/attributes.html +0 -10
  62. mkdocstrings_handlers/python/templates/material/_base/docstring/classes.html +0 -10
  63. mkdocstrings_handlers/python/templates/material/_base/docstring/examples.html +0 -10
  64. mkdocstrings_handlers/python/templates/material/_base/docstring/functions.html +0 -10
  65. mkdocstrings_handlers/python/templates/material/_base/docstring/modules.html +0 -10
  66. mkdocstrings_handlers/python/templates/material/_base/docstring/other_parameters.html +0 -10
  67. mkdocstrings_handlers/python/templates/material/_base/docstring/parameters.html +0 -10
  68. mkdocstrings_handlers/python/templates/material/_base/docstring/raises.html +0 -10
  69. mkdocstrings_handlers/python/templates/material/_base/docstring/receives.html +0 -10
  70. mkdocstrings_handlers/python/templates/material/_base/docstring/returns.html +0 -10
  71. mkdocstrings_handlers/python/templates/material/_base/docstring/type_aliases.html +0 -10
  72. mkdocstrings_handlers/python/templates/material/_base/docstring/type_parameters.html +0 -10
  73. mkdocstrings_handlers/python/templates/material/_base/docstring/warns.html +0 -10
  74. mkdocstrings_handlers/python/templates/material/_base/docstring/yields.html +0 -10
  75. mkdocstrings_handlers/python/templates/material/_base/docstring.html +0 -10
  76. mkdocstrings_handlers/python/templates/material/_base/expression.html +0 -10
  77. mkdocstrings_handlers/python/templates/material/_base/function.html +0 -10
  78. mkdocstrings_handlers/python/templates/material/_base/labels.html +0 -10
  79. mkdocstrings_handlers/python/templates/material/_base/language.html +0 -10
  80. mkdocstrings_handlers/python/templates/material/_base/languages/en.html +0 -10
  81. mkdocstrings_handlers/python/templates/material/_base/languages/ja.html +0 -10
  82. mkdocstrings_handlers/python/templates/material/_base/languages/zh.html +0 -10
  83. mkdocstrings_handlers/python/templates/material/_base/module.html +0 -10
  84. mkdocstrings_handlers/python/templates/material/_base/signature.html +0 -10
  85. mkdocstrings_handlers/python/templates/material/_base/summary/attributes.html +0 -10
  86. mkdocstrings_handlers/python/templates/material/_base/summary/classes.html +0 -10
  87. mkdocstrings_handlers/python/templates/material/_base/summary/functions.html +0 -10
  88. mkdocstrings_handlers/python/templates/material/_base/summary/modules.html +0 -10
  89. mkdocstrings_handlers/python/templates/material/_base/summary/type_aliases.html +0 -10
  90. mkdocstrings_handlers/python/templates/material/_base/summary.html +0 -10
  91. mkdocstrings_handlers/python/templates/material/_base/type_alias.html +0 -10
  92. mkdocstrings_handlers/python/templates/material/_base/type_parameters.html +0 -10
  93. mkdocstrings_handlers/python/templates/material/attribute.html +0 -2
  94. mkdocstrings_handlers/python/templates/material/children.html +0 -2
  95. mkdocstrings_handlers/python/templates/material/docstring/admonition.html +0 -2
  96. mkdocstrings_handlers/python/templates/material/docstring/attributes.html +0 -2
  97. mkdocstrings_handlers/python/templates/material/docstring/classes.html +0 -2
  98. mkdocstrings_handlers/python/templates/material/docstring/examples.html +0 -2
  99. mkdocstrings_handlers/python/templates/material/docstring/functions.html +0 -2
  100. mkdocstrings_handlers/python/templates/material/docstring/modules.html +0 -2
  101. mkdocstrings_handlers/python/templates/material/docstring/other_parameters.html +0 -2
  102. mkdocstrings_handlers/python/templates/material/docstring/parameters.html +0 -2
  103. mkdocstrings_handlers/python/templates/material/docstring/raises.html +0 -2
  104. mkdocstrings_handlers/python/templates/material/docstring/receives.html +0 -2
  105. mkdocstrings_handlers/python/templates/material/docstring/returns.html +0 -2
  106. mkdocstrings_handlers/python/templates/material/docstring/warns.html +0 -2
  107. mkdocstrings_handlers/python/templates/material/docstring/yields.html +0 -2
  108. mkdocstrings_handlers/python/templates/material/docstring.html +0 -2
  109. mkdocstrings_handlers/python/templates/material/expression.html +0 -2
  110. mkdocstrings_handlers/python/templates/material/function.html +0 -2
  111. mkdocstrings_handlers/python/templates/material/labels.html +0 -2
  112. mkdocstrings_handlers/python/templates/material/language.html +0 -2
  113. mkdocstrings_handlers/python/templates/material/languages/en.html +0 -2
  114. mkdocstrings_handlers/python/templates/material/languages/ja.html +0 -2
  115. mkdocstrings_handlers/python/templates/material/languages/zh.html +0 -2
  116. mkdocstrings_handlers/python/templates/material/module.html +0 -2
  117. mkdocstrings_handlers/python/templates/material/signature.html +0 -2
  118. mkdocstrings_handlers/python/templates/material/summary/attributes.html +0 -2
  119. mkdocstrings_handlers/python/templates/material/summary/classes.html +0 -2
  120. mkdocstrings_handlers/python/templates/material/summary/functions.html +0 -2
  121. mkdocstrings_handlers/python/templates/material/summary/modules.html +0 -2
  122. mkdocstrings_handlers/python/templates/material/summary.html +0 -2
  123. mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/attributes.html +0 -10
  124. mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/other_parameters.html +0 -10
  125. mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/parameters.html +0 -10
  126. mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/raises.html +0 -10
  127. mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/receives.html +0 -10
  128. mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/returns.html +0 -10
  129. mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/warns.html +0 -10
  130. mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/yields.html +0 -10
  131. mkdocstrings_handlers/python/templates/readthedocs/_base/language.html +0 -10
  132. mkdocstrings_handlers/python/templates/readthedocs/_base/languages/en.html +0 -10
  133. mkdocstrings_handlers/python/templates/readthedocs/_base/languages/ja.html +0 -10
  134. mkdocstrings_handlers/python/templates/readthedocs/_base/languages/zh.html +0 -10
  135. mkdocstrings_handlers/python/templates/readthedocs/docstring/attributes.html +0 -2
  136. mkdocstrings_handlers/python/templates/readthedocs/docstring/other_parameters.html +0 -2
  137. mkdocstrings_handlers/python/templates/readthedocs/docstring/parameters.html +0 -2
  138. mkdocstrings_handlers/python/templates/readthedocs/docstring/raises.html +0 -2
  139. mkdocstrings_handlers/python/templates/readthedocs/docstring/receives.html +0 -2
  140. mkdocstrings_handlers/python/templates/readthedocs/docstring/returns.html +0 -2
  141. mkdocstrings_handlers/python/templates/readthedocs/docstring/warns.html +0 -2
  142. mkdocstrings_handlers/python/templates/readthedocs/docstring/yields.html +0 -2
  143. mkdocstrings_handlers/python/templates/readthedocs/language.html +0 -2
  144. mkdocstrings_handlers/python/templates/readthedocs/languages/en.html +0 -2
  145. mkdocstrings_handlers/python/templates/readthedocs/languages/ja.html +0 -2
  146. mkdocstrings_handlers/python/templates/readthedocs/languages/zh.html +0 -2
  147. mkdocstrings_python-1.18.2.dist-info/METADATA +0 -117
  148. mkdocstrings_python-1.18.2.dist-info/RECORD +0 -211
  149. {mkdocstrings_python-1.18.2.dist-info → mkdocstrings_python-2.0.0.dist-info}/entry_points.txt +0 -0
  150. {mkdocstrings_python-1.18.2.dist-info → mkdocstrings_python-2.0.0.dist-info}/licenses/LICENSE +0 -0
@@ -1,2 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/children.html.jinja" %}
@@ -1,2 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/docstring/admonition.html.jinja" %}
@@ -1,2 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/docstring/attributes.html.jinja" %}
@@ -1,2 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/docstring/classes.html.jinja" %}
@@ -1,2 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/docstring/examples.html.jinja" %}
@@ -1,2 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/docstring/functions.html.jinja" %}
@@ -1,2 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/docstring/modules.html.jinja" %}
@@ -1,2 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/docstring/other_parameters.html.jinja" %}
@@ -1,2 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/docstring/parameters.html.jinja" %}
@@ -1,2 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/docstring/raises.html.jinja" %}
@@ -1,2 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/docstring/receives.html.jinja" %}
@@ -1,2 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/docstring/returns.html.jinja" %}
@@ -1,2 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/docstring/warns.html.jinja" %}
@@ -1,2 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/docstring/yields.html.jinja" %}
@@ -1,2 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/docstring.html.jinja" %}
@@ -1,2 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/expression.html.jinja" %}
@@ -1,2 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/function.html.jinja" %}
@@ -1,2 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/labels.html.jinja" %}
@@ -1,2 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/language.html.jinja" %}
@@ -1,2 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/languages/en.html.jinja" %}
@@ -1,2 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/languages/ja.html.jinja" %}
@@ -1,2 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/languages/zh.html.jinja" %}
@@ -1,2 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/module.html.jinja" %}
@@ -1,2 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/signature.html.jinja" %}
@@ -1,2 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/summary/attributes.html.jinja" %}
@@ -1,2 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/summary/classes.html.jinja" %}
@@ -1,2 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/summary/functions.html.jinja" %}
@@ -1,2 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/summary/modules.html.jinja" %}
@@ -1,2 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/summary.html.jinja" %}
@@ -1,10 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/docstring/attributes.html.jinja" %}
3
-
4
- {% block logs scoped %}
5
- {{ super() }}
6
- {{ log.warning(
7
- "DeprecationWarning: Extending '_base/docstring/attributes.html' is deprecated, extend '_base/docstring/attributes.html.jinja' instead. ",
8
- once=True,
9
- ) }}
10
- {% endblock logs %}
@@ -1,10 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/docstring/other_parameters.html.jinja" %}
3
-
4
- {% block logs scoped %}
5
- {{ super() }}
6
- {{ log.warning(
7
- "DeprecationWarning: Extending '_base/docstring/other_parameters.html' is deprecated, extend '_base/docstring/other_parameters.html.jinja' instead. ",
8
- once=True,
9
- ) }}
10
- {% endblock logs %}
@@ -1,10 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/docstring/parameters.html.jinja" %}
3
-
4
- {% block logs scoped %}
5
- {{ super() }}
6
- {{ log.warning(
7
- "DeprecationWarning: Extending '_base/docstring/parameters.html' is deprecated, extend '_base/docstring/parameters.html.jinja' instead. ",
8
- once=True,
9
- ) }}
10
- {% endblock logs %}
@@ -1,10 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/docstring/raises.html.jinja" %}
3
-
4
- {% block logs scoped %}
5
- {{ super() }}
6
- {{ log.warning(
7
- "DeprecationWarning: Extending '_base/docstring/raises.html' is deprecated, extend '_base/docstring/raises.html.jinja' instead. ",
8
- once=True,
9
- ) }}
10
- {% endblock logs %}
@@ -1,10 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/docstring/receives.html.jinja" %}
3
-
4
- {% block logs scoped %}
5
- {{ super() }}
6
- {{ log.warning(
7
- "DeprecationWarning: Extending '_base/docstring/receives.html' is deprecated, extend '_base/docstring/receives.html.jinja' instead. ",
8
- once=True,
9
- ) }}
10
- {% endblock logs %}
@@ -1,10 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/docstring/returns.html.jinja" %}
3
-
4
- {% block logs scoped %}
5
- {{ super() }}
6
- {{ log.warning(
7
- "DeprecationWarning: Extending '_base/docstring/returns.html' is deprecated, extend '_base/docstring/returns.html.jinja' instead. ",
8
- once=True,
9
- ) }}
10
- {% endblock logs %}
@@ -1,10 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/docstring/warns.html.jinja" %}
3
-
4
- {% block logs scoped %}
5
- {{ super() }}
6
- {{ log.warning(
7
- "DeprecationWarning: Extending '_base/docstring/warns.html' is deprecated, extend '_base/docstring/warns.html.jinja' instead. ",
8
- once=True,
9
- ) }}
10
- {% endblock logs %}
@@ -1,10 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/docstring/yields.html.jinja" %}
3
-
4
- {% block logs scoped %}
5
- {{ super() }}
6
- {{ log.warning(
7
- "DeprecationWarning: Extending '_base/docstring/yields.html' is deprecated, extend '_base/docstring/yields.html.jinja' instead. ",
8
- once=True,
9
- ) }}
10
- {% endblock logs %}
@@ -1,10 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/language.html.jinja" %}
3
-
4
- {% block logs scoped %}
5
- {{ super() }}
6
- {{ log.warning(
7
- "DeprecationWarning: Extending '_base/language.html' is deprecated, extend '_base/language.html.jinja' instead. ",
8
- once=True,
9
- ) }}
10
- {% endblock logs %}
@@ -1,10 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/languages/en.html.jinja" %}
3
-
4
- {% block logs scoped %}
5
- {{ super() }}
6
- {{ log.warning(
7
- "DeprecationWarning: Extending '_base/languages/en.html' is deprecated, extend '_base/languages/en.html.jinja' instead. ",
8
- once=True,
9
- ) }}
10
- {% endblock logs %}
@@ -1,10 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/languages/ja.html.jinja" %}
3
-
4
- {% block logs scoped %}
5
- {{ super() }}
6
- {{ log.warning(
7
- "DeprecationWarning: Extending '_base/languages/ja.html' is deprecated, extend '_base/languages/ja.html.jinja' instead. ",
8
- once=True,
9
- ) }}
10
- {% endblock logs %}
@@ -1,10 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/languages/zh.html.jinja" %}
3
-
4
- {% block logs scoped %}
5
- {{ super() }}
6
- {{ log.warning(
7
- "DeprecationWarning: Extending '_base/languages/zh.html' is deprecated, extend '_base/languages/zh.html.jinja' instead. ",
8
- once=True,
9
- ) }}
10
- {% endblock logs %}
@@ -1,2 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/docstring/attributes.html.jinja" %}
@@ -1,2 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/docstring/other_parameters.html.jinja" %}
@@ -1,2 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/docstring/parameters.html.jinja" %}
@@ -1,2 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/docstring/raises.html.jinja" %}
@@ -1,2 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/docstring/receives.html.jinja" %}
@@ -1,2 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/docstring/returns.html.jinja" %}
@@ -1,2 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/docstring/warns.html.jinja" %}
@@ -1,2 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/docstring/yields.html.jinja" %}
@@ -1,2 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/language.html.jinja" %}
@@ -1,2 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/languages/en.html.jinja" %}
@@ -1,2 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/languages/ja.html.jinja" %}
@@ -1,2 +0,0 @@
1
- {# YORE: Bump 2: Remove file. #}
2
- {% extends "_base/languages/zh.html.jinja" %}
@@ -1,117 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: mkdocstrings-python
3
- Version: 1.18.2
4
- Summary: A Python handler for mkdocstrings.
5
- Author-Email: =?utf-8?q?Timoth=C3=A9e_Mazzucotelli?= <dev@pawamoy.fr>
6
- License-Expression: ISC
7
- License-File: LICENSE
8
- Classifier: Development Status :: 4 - Beta
9
- Classifier: Intended Audience :: Developers
10
- Classifier: Programming Language :: Python
11
- Classifier: Programming Language :: Python :: 3
12
- Classifier: Programming Language :: Python :: 3 :: Only
13
- Classifier: Programming Language :: Python :: 3.9
14
- Classifier: Programming Language :: Python :: 3.10
15
- Classifier: Programming Language :: Python :: 3.11
16
- Classifier: Programming Language :: Python :: 3.12
17
- Classifier: Programming Language :: Python :: 3.13
18
- Classifier: Programming Language :: Python :: 3.14
19
- Classifier: Topic :: Documentation
20
- Classifier: Topic :: Software Development
21
- Classifier: Topic :: Software Development :: Documentation
22
- Classifier: Topic :: Utilities
23
- Classifier: Typing :: Typed
24
- Project-URL: Homepage, https://mkdocstrings.github.io/python
25
- Project-URL: Documentation, https://mkdocstrings.github.io/python
26
- Project-URL: Changelog, https://mkdocstrings.github.io/python/changelog
27
- Project-URL: Repository, https://github.com/mkdocstrings/python
28
- Project-URL: Issues, https://github.com/mkdocstrings/python/issues
29
- Project-URL: Discussions, https://github.com/mkdocstrings/python/discussions
30
- Project-URL: Gitter, https://gitter.im/mkdocstrings/python
31
- Project-URL: Funding, https://github.com/sponsors/pawamoy
32
- Requires-Python: >=3.9
33
- Requires-Dist: mkdocstrings>=0.30
34
- Requires-Dist: mkdocs-autorefs>=1.4
35
- Requires-Dist: griffe>=1.13
36
- Requires-Dist: typing-extensions>=4.0; python_version < "3.11"
37
- Description-Content-Type: text/markdown
38
-
39
- <h1 align="center">mkdocstrings-python</h1>
40
-
41
- <p align="center">A Python handler for <a href="https://github.com/mkdocstrings/mkdocstrings"><i>mkdocstrings</i></a>.</p>
42
-
43
- [![ci](https://github.com/mkdocstrings/python/workflows/ci/badge.svg)](https://github.com/mkdocstrings/python/actions?query=workflow%3Aci)
44
- [![documentation](https://img.shields.io/badge/docs-mkdocs-708FCC.svg?style=flat)](https://mkdocstrings.github.io/python/)
45
- [![pypi version](https://img.shields.io/pypi/v/mkdocstrings-python.svg)](https://pypi.org/project/mkdocstrings-python/)
46
- [![gitter](https://badges.gitter.im/join%20chat.svg)](https://app.gitter.im/#/room/#python:gitter.im)
47
-
48
- ---
49
-
50
- <p align="center"><img src="logo.png"></p>
51
-
52
- The Python handler uses [Griffe](https://mkdocstrings.github.io/griffe)
53
- to collect documentation from Python source code.
54
- The word "griffe" can sometimes be used instead of "signature" in French.
55
- Griffe is able to visit the Abstract Syntax Tree (AST) of the source code to extract useful information.
56
- It is also able to execute the code (by importing it) and introspect objects in memory
57
- when source code is not available. Finally, it can parse docstrings following different styles.
58
-
59
- ## Installation
60
-
61
- You can install this handler as a *mkdocstrings* extra:
62
-
63
- ```toml title="pyproject.toml"
64
- # PEP 621 dependencies declaration
65
- # adapt to your dependencies manager
66
- [project]
67
- dependencies = [
68
- "mkdocstrings[python]>=0.18",
69
- ]
70
- ```
71
-
72
- You can also explicitly depend on the handler:
73
-
74
- ```toml title="pyproject.toml"
75
- # PEP 621 dependencies declaration
76
- # adapt to your dependencies manager
77
- [project]
78
- dependencies = [
79
- "mkdocstrings-python",
80
- ]
81
- ```
82
-
83
- ## Preview
84
-
85
- <!-- TODO: update the GIF with a more recent screen capture. Maybe use mp4 instead -->
86
- ![mkdocstrings_python_gif](https://user-images.githubusercontent.com/3999221/77157838-7184db80-6aa2-11ea-9f9a-fe77405202de.gif)
87
-
88
- ## Features
89
-
90
- - **Data collection from source code**: collection of the object-tree and the docstrings is done thanks to
91
- [Griffe](https://github.com/mkdocstrings/griffe).
92
-
93
- - **Support for type annotations:** Griffe collects your type annotations and *mkdocstrings* uses them
94
- to display parameter types or return types. It is even able to automatically add cross-references
95
- to other objects from your API, from the standard library or third-party libraries!
96
- See [how to load inventories](https://mkdocstrings.github.io/usage/#cross-references-to-other-projects-inventories) to enable it.
97
-
98
- - **Recursive documentation of Python objects:** just use the module dotted-path as an identifier, and you get the full
99
- module docs. You don't need to inject documentation for each class, function, etc.
100
-
101
- - **Support for documented attributes:** attributes (variables) followed by a docstring (triple-quoted string) will
102
- be recognized by Griffe in modules, classes and even in `__init__` methods.
103
-
104
- - **Multiple docstring-styles support:** common support for Google-style, Numpydoc-style,
105
- and Sphinx-style docstrings. See [Griffe's documentation](https://mkdocstrings.github.io/griffe/docstrings/) on docstrings support.
106
-
107
- - **Admonition support in Google docstrings:** blocks like `Note:` or `Warning:` will be transformed
108
- to their [admonition](https://squidfunk.github.io/mkdocs-material/reference/admonitions/) equivalent.
109
- *We do not support nested admonitions in docstrings!*
110
-
111
- - **Every object has a TOC entry:** we render a heading for each object, meaning *MkDocs* picks them into the Table
112
- of Contents, which is nicely displayed by the Material theme. Thanks to *mkdocstrings* cross-reference ability,
113
- you can reference other objects within your docstrings, with the classic Markdown syntax:
114
- `[this object][package.module.object]` or directly with `[package.module.object][]`
115
-
116
- - **Source code display:** *mkdocstrings* can add a collapsible div containing the highlighted source code
117
- of the Python object.