sphinx-codeautolink 0.15.2__tar.gz → 0.16.0__tar.gz

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 (140) hide show
  1. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/LICENSE +21 -21
  2. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/MANIFEST.in +6 -6
  3. {sphinx_codeautolink-0.15.2/src/sphinx_codeautolink.egg-info → sphinx_codeautolink-0.16.0}/PKG-INFO +104 -105
  4. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/contributing.rst +94 -94
  5. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/docs/requirements.txt +6 -6
  6. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/docs/src/404.rst +10 -10
  7. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/docs/src/about.rst +138 -141
  8. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/docs/src/conf.py +66 -66
  9. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/docs/src/example_library.rst +10 -10
  10. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/docs/src/examples.rst +320 -320
  11. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/docs/src/index.rst +118 -118
  12. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/docs/src/lib.py +28 -31
  13. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/docs/src/reference.rst +160 -160
  14. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/docs/src/release_notes.rst +187 -180
  15. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/pyproject.toml +96 -73
  16. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/readme_pypi.rst +50 -50
  17. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/requirements/build +2 -2
  18. sphinx_codeautolink-0.16.0/requirements/dev +9 -0
  19. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/requirements/docs +4 -4
  20. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/requirements/extras +1 -1
  21. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/requirements/tests +4 -4
  22. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/setup.cfg +4 -4
  23. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/src/sphinx_codeautolink/__init__.py +67 -49
  24. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/src/sphinx_codeautolink/extension/__init__.py +305 -302
  25. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/src/sphinx_codeautolink/extension/backref.py +130 -129
  26. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/src/sphinx_codeautolink/extension/block.py +415 -411
  27. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/src/sphinx_codeautolink/extension/cache.py +41 -42
  28. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/src/sphinx_codeautolink/extension/directive.py +140 -137
  29. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/src/sphinx_codeautolink/extension/resolve.py +173 -176
  30. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/src/sphinx_codeautolink/parse.py +713 -713
  31. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/src/sphinx_codeautolink/warn.py +6 -6
  32. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0/src/sphinx_codeautolink.egg-info}/PKG-INFO +104 -105
  33. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/src/sphinx_codeautolink.egg-info/SOURCES.txt +3 -2
  34. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/__init__.py +12 -12
  35. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/__init__.py +299 -300
  36. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/_check.py +41 -42
  37. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/fail/concat_invalid.txt +11 -11
  38. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/fail/custom_block_import_invalid.txt +12 -12
  39. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/fail/custom_block_syntax_error.txt +10 -10
  40. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/fail/failed_resolve_invalid_location.txt +11 -11
  41. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/fail/failed_resolve_no_module.txt +11 -11
  42. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/fail/failed_resolve_return_type.txt +11 -11
  43. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/fail/match_block_warning.txt +10 -10
  44. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/fail/missing_inventory.txt +9 -9
  45. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/fail/no_module_docs.txt +8 -8
  46. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/fail/ref_import_star_invalid.txt +9 -9
  47. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/fail/ref_invalid_block_type.txt +10 -10
  48. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/fail/ref_invalid_syntax.txt +18 -18
  49. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/fail/ref_invalid_syntax_complex.txt +16 -16
  50. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/fail/ref_ipython_non-python.txt +12 -12
  51. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/fail/skip_invalid.txt +11 -11
  52. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/concat_default.txt +28 -28
  53. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/concat_off.txt +20 -20
  54. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/concat_on_across_sections.txt +28 -28
  55. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/concat_on_breaks.txt +21 -21
  56. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/concat_section_breaks.txt +28 -28
  57. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/concat_section_returns_to_global.txt +35 -35
  58. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/custom_block.txt +19 -19
  59. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/custom_block_imported.txt +16 -16
  60. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/empty_project.txt +5 -5
  61. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/inventory_map_is_needed.txt +19 -19
  62. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/inventory_map_not_needed.txt +17 -17
  63. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/line_numbers.txt +14 -14
  64. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/non_python_block.txt +12 -12
  65. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/preface_concatenated.txt +18 -18
  66. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/preface_consumed_non_python.txt +15 -15
  67. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/preface_global.txt +14 -14
  68. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/preface_global_multiline.txt +14 -14
  69. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/preface_global_overwritten.txt +17 -17
  70. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/preface_multiline.txt +18 -18
  71. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/preface_multiline_and_arg.txt +17 -17
  72. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/preface_multiple.txt +15 -15
  73. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/preface_single.txt +12 -12
  74. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/ref_assign_targets.txt +18 -24
  75. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/ref_builtins.txt +16 -16
  76. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/ref_chain.txt +15 -15
  77. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/ref_chain_call.txt +14 -14
  78. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/ref_class_attr.txt +22 -22
  79. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/ref_class_meth_returns_self.txt +16 -16
  80. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/ref_class_type_attr.txt +15 -15
  81. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/ref_decorator.txt +18 -18
  82. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/ref_doctest.txt +22 -22
  83. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/ref_extdoctest_doctest.txt +28 -28
  84. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/ref_extdoctest_testcode.txt +21 -21
  85. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/ref_fluent_attrs.txt +24 -24
  86. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/ref_fluent_call.txt +30 -30
  87. sphinx_codeautolink-0.16.0/tests/extension/ref/ref_func_args.txt +27 -0
  88. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/ref_func_no_module.txt +16 -16
  89. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/ref_import_as.txt +14 -14
  90. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/ref_import_from.txt +12 -12
  91. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/ref_import_from_complex.txt +32 -32
  92. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/ref_import_multiple.txt +17 -17
  93. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/ref_import_multiple_libs.txt +17 -17
  94. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/ref_import_star.txt +11 -11
  95. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/ref_import_submodule.txt +15 -15
  96. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/ref_imported_func.txt +12 -12
  97. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/ref_imported_func_relocated.txt +14 -14
  98. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/ref_inherited.txt +22 -22
  99. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/ref_intersphinx_only.txt +17 -17
  100. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/ref_ipython.txt +32 -32
  101. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/ref_ipython3.txt +14 -14
  102. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/ref_ipython_directive.txt +22 -22
  103. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/ref_ipython_directive_comment.txt +18 -18
  104. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/ref_ipython_syntax.txt +23 -23
  105. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/ref_optional.txt +17 -14
  106. sphinx_codeautolink-0.16.0/tests/extension/ref/ref_optional_future.txt +17 -0
  107. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/ref_py.txt +13 -13
  108. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/ref_pycon.txt +24 -24
  109. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/ref_shadow_builtin.txt +19 -19
  110. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/ref_simple.txt +14 -14
  111. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/search_css_duplicates_removed.txt +14 -14
  112. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/skip_file.txt +25 -25
  113. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/skip_next.txt +19 -19
  114. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/skip_next_consumed_non_python.txt +19 -19
  115. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/skip_off.txt +31 -31
  116. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/ref/skip_section.txt +27 -27
  117. sphinx_codeautolink-0.16.0/tests/extension/src/future_project.py +18 -0
  118. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/src/parser_func.py +12 -11
  119. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/src/test_project/__init__.py +53 -55
  120. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/src/test_project/sub.py +8 -8
  121. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/table/tab_autodoc_empty.txt +14 -14
  122. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/table/tab_autodoc_links.txt +14 -14
  123. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/table/tab_manual_collapse.txt +14 -14
  124. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/table/tab_manual_empty.txt +12 -12
  125. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/table/tab_manual_links.txt +14 -14
  126. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/table/tab_manual_links_subsection.txt +18 -18
  127. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/extension/table/tab_no_table.txt +11 -11
  128. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/parse/__init__.py +170 -170
  129. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/parse/_util.py +37 -41
  130. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/parse/assign.py +310 -315
  131. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/parse/chain.py +26 -26
  132. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/parse/match.py +127 -127
  133. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tests/parse/scope.py +346 -347
  134. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/tox.ini +84 -109
  135. sphinx_codeautolink-0.15.2/requirements/dev +0 -13
  136. sphinx_codeautolink-0.15.2/src/sphinx_codeautolink/static/sphinx-codeautolink.css +0 -16
  137. sphinx_codeautolink-0.15.2/tests/extension/ref/ref_optional_manual.txt +0 -14
  138. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/src/sphinx_codeautolink.egg-info/dependency_links.txt +0 -0
  139. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/src/sphinx_codeautolink.egg-info/requires.txt +0 -0
  140. {sphinx_codeautolink-0.15.2 → sphinx_codeautolink-0.16.0}/src/sphinx_codeautolink.egg-info/top_level.txt +0 -0
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2021-2023 Felix Hildén
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2021-2025 Felix Hildén
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1,6 +1,6 @@
1
- graft docs
2
- prune docs/build
3
- graft requirements
4
- graft tests
5
- include contributing.rst readme_pypi.rst tox.ini
6
- global-exclude *.py[cod] __pycache__ *.so
1
+ graft docs
2
+ prune docs/build
3
+ graft requirements
4
+ graft tests
5
+ include contributing.rst readme_pypi.rst tox.ini
6
+ global-exclude *.py[cod] __pycache__ *.so
@@ -1,105 +1,104 @@
1
- Metadata-Version: 2.1
2
- Name: sphinx-codeautolink
3
- Version: 0.15.2
4
- Summary: Automatic links from code examples to reference documentation.
5
- Author-email: Felix Hildén <felix.hilden@gmail.com>
6
- Maintainer-email: Felix Hildén <felix.hilden@gmail.com>
7
- License: MIT License
8
-
9
- Copyright (c) 2021-2023 Felix Hildén
10
-
11
- Permission is hereby granted, free of charge, to any person obtaining a copy
12
- of this software and associated documentation files (the "Software"), to deal
13
- in the Software without restriction, including without limitation the rights
14
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15
- copies of the Software, and to permit persons to whom the Software is
16
- furnished to do so, subject to the following conditions:
17
-
18
- The above copyright notice and this permission notice shall be included in all
19
- copies or substantial portions of the Software.
20
-
21
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
27
- SOFTWARE.
28
-
29
- Project-URL: homepage, https://pypi.org/project/sphinx-codeautolink
30
- Project-URL: download, https://pypi.org/project/sphinx-codeautolink
31
- Project-URL: source, https://github.com/felix-hilden/sphinx-codeautolink
32
- Project-URL: issues, https://github.com/felix-hilden/sphinx-codeautolink/issues
33
- Project-URL: documentation, https://sphinx-codeautolink.rtfd.org
34
- Keywords: sphinx,extension,code,link
35
- Classifier: Development Status :: 4 - Beta
36
- Classifier: Framework :: Sphinx
37
- Classifier: Framework :: Sphinx :: Extension
38
- Classifier: Programming Language :: Python :: 3
39
- Classifier: Programming Language :: Python :: 3 :: Only
40
- Classifier: Programming Language :: Python :: 3.7
41
- Classifier: Programming Language :: Python :: 3.8
42
- Classifier: Programming Language :: Python :: 3.9
43
- Classifier: Programming Language :: Python :: 3.10
44
- Classifier: Programming Language :: Python :: 3.11
45
- Classifier: Topic :: Documentation
46
- Classifier: Topic :: Documentation :: Sphinx
47
- Classifier: Topic :: Software Development :: Documentation
48
- Requires-Python: >=3.7
49
- Description-Content-Type: text/x-rst
50
- License-File: LICENSE
51
- Requires-Dist: sphinx>=3.2.0
52
- Requires-Dist: beautifulsoup4>=4.8.1
53
- Provides-Extra: ipython
54
- Requires-Dist: ipython!=8.7.0; extra == "ipython"
55
-
56
- sphinx-codeautolink
57
- ===================
58
- |pyversions| |downloads| |license| |readthedocs|
59
-
60
- sphinx-codeautolink makes code examples clickable by inserting links
61
- from individual code elements to the corresponding reference documentation.
62
- We aim for a minimal setup assuming your examples are already valid Python.
63
-
64
- For a live demo, see our online documentation on
65
- `Read The Docs <https://sphinx-codeautolink.rtfd.org>`_.
66
-
67
- Installation
68
- ------------
69
- sphinx-codeautolink can be installed from the following sources:
70
-
71
- .. code:: sh
72
-
73
- $ pip install sphinx-codeautolink
74
- # or, alternatively:
75
- $ conda install -c conda-forge sphinx-codeautolink
76
-
77
- Note that the library is in early development, so version pinning is advised.
78
- To enable sphinx-codeautolink, modify the extension list in ``conf.py``.
79
- Note that the extension name uses an underscore rather than a hyphen.
80
-
81
- .. code:: python
82
-
83
- extensions = [
84
- ...,
85
- "sphinx_codeautolink",
86
- ]
87
-
88
- That's it! Now your code examples are linked.
89
- For ways of concatenating multiple examples
90
- and setting default import statements among other things,
91
- have a look at the online documentation.
92
-
93
- .. |pyversions| image:: https://img.shields.io/pypi/pyversions/sphinx-codeautolink
94
- :alt: Python versions
95
-
96
- .. |downloads| image:: https://img.shields.io/pypi/dm/sphinx-codeautolink
97
- :alt: Monthly downloads
98
-
99
- .. |license| image:: https://img.shields.io/badge/License-MIT-blue.svg
100
- :target: https://choosealicense.com/licenses/mit
101
- :alt: License: MIT
102
-
103
- .. |readthedocs| image:: https://rtfd.org/projects/sphinx-codeautolink/badge/?version=stable
104
- :target: https://sphinx-codeautolink.rtfd.org/en/stable/
105
- :alt: Documentation
1
+ Metadata-Version: 2.2
2
+ Name: sphinx-codeautolink
3
+ Version: 0.16.0
4
+ Summary: Automatic links from code examples to reference documentation.
5
+ Author-email: Felix Hildén <felix.hilden@gmail.com>
6
+ Maintainer-email: Felix Hildén <felix.hilden@gmail.com>
7
+ License: MIT License
8
+
9
+ Copyright (c) 2021-2025 Felix Hildén
10
+
11
+ Permission is hereby granted, free of charge, to any person obtaining a copy
12
+ of this software and associated documentation files (the "Software"), to deal
13
+ in the Software without restriction, including without limitation the rights
14
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15
+ copies of the Software, and to permit persons to whom the Software is
16
+ furnished to do so, subject to the following conditions:
17
+
18
+ The above copyright notice and this permission notice shall be included in all
19
+ copies or substantial portions of the Software.
20
+
21
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
27
+ SOFTWARE.
28
+
29
+ Project-URL: homepage, https://pypi.org/project/sphinx-codeautolink
30
+ Project-URL: download, https://pypi.org/project/sphinx-codeautolink
31
+ Project-URL: source, https://github.com/felix-hilden/sphinx-codeautolink
32
+ Project-URL: issues, https://github.com/felix-hilden/sphinx-codeautolink/issues
33
+ Project-URL: documentation, https://sphinx-codeautolink.rtfd.org
34
+ Keywords: sphinx,extension,code,link
35
+ Classifier: Development Status :: 4 - Beta
36
+ Classifier: Framework :: Sphinx
37
+ Classifier: Framework :: Sphinx :: Extension
38
+ Classifier: Programming Language :: Python :: 3
39
+ Classifier: Programming Language :: Python :: 3 :: Only
40
+ Classifier: Programming Language :: Python :: 3.10
41
+ Classifier: Programming Language :: Python :: 3.11
42
+ Classifier: Programming Language :: Python :: 3.12
43
+ Classifier: Programming Language :: Python :: 3.13
44
+ Classifier: Topic :: Documentation
45
+ Classifier: Topic :: Documentation :: Sphinx
46
+ Classifier: Topic :: Software Development :: Documentation
47
+ Requires-Python: >=3.10
48
+ Description-Content-Type: text/x-rst
49
+ License-File: LICENSE
50
+ Requires-Dist: sphinx>=3.2.0
51
+ Requires-Dist: beautifulsoup4>=4.8.1
52
+ Provides-Extra: ipython
53
+ Requires-Dist: ipython!=8.7.0; extra == "ipython"
54
+
55
+ sphinx-codeautolink
56
+ ===================
57
+ |pyversions| |downloads| |license| |readthedocs|
58
+
59
+ sphinx-codeautolink makes code examples clickable by inserting links
60
+ from individual code elements to the corresponding reference documentation.
61
+ We aim for a minimal setup assuming your examples are already valid Python.
62
+
63
+ For a live demo, see our online documentation on
64
+ `Read The Docs <https://sphinx-codeautolink.rtfd.org>`_.
65
+
66
+ Installation
67
+ ------------
68
+ sphinx-codeautolink can be installed from the following sources:
69
+
70
+ .. code:: sh
71
+
72
+ $ pip install sphinx-codeautolink
73
+ # or, alternatively:
74
+ $ conda install -c conda-forge sphinx-codeautolink
75
+
76
+ Note that the library is in early development, so version pinning is advised.
77
+ To enable sphinx-codeautolink, modify the extension list in ``conf.py``.
78
+ Note that the extension name uses an underscore rather than a hyphen.
79
+
80
+ .. code:: python
81
+
82
+ extensions = [
83
+ ...,
84
+ "sphinx_codeautolink",
85
+ ]
86
+
87
+ That's it! Now your code examples are linked.
88
+ For ways of concatenating multiple examples
89
+ and setting default import statements among other things,
90
+ have a look at the online documentation.
91
+
92
+ .. |pyversions| image:: https://img.shields.io/pypi/pyversions/sphinx-codeautolink
93
+ :alt: Python versions
94
+
95
+ .. |downloads| image:: https://img.shields.io/pypi/dm/sphinx-codeautolink
96
+ :alt: Monthly downloads
97
+
98
+ .. |license| image:: https://img.shields.io/badge/License-MIT-blue.svg
99
+ :target: https://choosealicense.com/licenses/mit
100
+ :alt: License: MIT
101
+
102
+ .. |readthedocs| image:: https://rtfd.org/projects/sphinx-codeautolink/badge/?version=stable
103
+ :target: https://sphinx-codeautolink.rtfd.org/en/stable/
104
+ :alt: Documentation
@@ -1,94 +1,94 @@
1
- Contributing
2
- ============
3
- |issues_open| |issue_resolution|
4
-
5
- Thank you for considering contributing to sphinx-codeautolink!
6
- If you've found a bug or would like to propose a feature,
7
- please submit an `issue <https://github.com/felix-hilden/sphinx-codeautolink/issues>`_.
8
-
9
- If you'd like to get more involved,
10
- `here's how <https://opensource.guide/how-to-contribute/>`_.
11
- There are many valuable contributions in addition to contributing code!
12
- If you're so inclined, triaging issues, improving documentation,
13
- helping other users and reviewing existing code and PRs is equally appreciated!
14
-
15
- The rest of this guide focuses on development and code contributions.
16
-
17
- Installation
18
- ------------
19
- Start by cloning the most recent version, either from the main repository
20
- or a fork you created, and installing the source as an editable package.
21
- Using a virtual environment of your choice for the installation is recommended.
22
-
23
- .. code:: sh
24
-
25
- $ git clone https://github.com/felix-hilden/sphinx-codeautolink.git
26
- $ cd sphinx-codeautolink
27
- $ pip install -e .
28
- $ pip install -r requirements/dev
29
-
30
- The last command installs all the necessary tools for development
31
- as well as all optional dependencies.
32
-
33
- If you forked, consider adding the upstream repository as a remote to easily
34
- update your main branch with the latest upstream changes.
35
- For tips and tricks on contributing, see `how to submit a contribution
36
- <https://opensource.guide/how-to-contribute/#how-to-submit-a-contribution>`_,
37
- specifically `opening a pull request
38
- <https://opensource.guide/how-to-contribute/#opening-a-pull-request>`_.
39
-
40
- Testing
41
- -------
42
- The installation can be verified, and any changes tested by running tox.
43
-
44
- .. code:: sh
45
-
46
- $ tox
47
-
48
- Developing
49
- ----------
50
- A number of tools are used to automate development tasks.
51
- They are available through tox labels.
52
-
53
- .. code:: sh
54
-
55
- $ coverage run && coverage report # execute test suite
56
- $ tox -m docs # build documentation to docs/build/html/index.html
57
- $ tox -m lint # check code style
58
- $ tox -m format # autoformat code
59
- $ tox -m build # packaging dry run
60
-
61
- Releasing
62
- ---------
63
- Before releasing, make sure the version number is incremented
64
- and the release notes reference the new release.
65
-
66
- .. note::
67
-
68
- With sphinx-codeautolink specifically, if Sphinx's environment data
69
- structure was modified, increment the environment version number before
70
- releasing a new version.
71
-
72
- Running tests once more is also good practice.
73
- Tox is used to build the appropriate distributions and publish them on PyPI.
74
-
75
- .. code:: sh
76
-
77
- $ tox -m publish
78
-
79
- If you'd like to test the upload and the resulting package,
80
- upload manually to `TestPyPI <https://test.pypi.org>`_ instead.
81
-
82
- .. code:: sh
83
-
84
- $ python -m build
85
- $ twine upload --repository testpypi dist/*
86
- $ pip install --index-url https://test.pypi.org/simple/ sphinx-codeautolink
87
-
88
- .. |issue_resolution| image:: http://isitmaintained.com/badge/resolution/felix-hilden/sphinx-codeautolink.svg
89
- :target: https://isitmaintained.com/project/felix-hilden/sphinx-codeautolink
90
- :alt: issue resolution time
91
-
92
- .. |issues_open| image:: http://isitmaintained.com/badge/open/felix-hilden/sphinx-codeautolink.svg
93
- :target: https://isitmaintained.com/project/felix-hilden/sphinx-codeautolink
94
- :alt: open issues
1
+ Contributing
2
+ ============
3
+ |issues_open| |issue_resolution|
4
+
5
+ Thank you for considering contributing to sphinx-codeautolink!
6
+ If you've found a bug or would like to propose a feature,
7
+ please submit an `issue <https://github.com/felix-hilden/sphinx-codeautolink/issues>`_.
8
+
9
+ If you'd like to get more involved,
10
+ `here's how <https://opensource.guide/how-to-contribute/>`_.
11
+ There are many valuable contributions in addition to contributing code!
12
+ If you're so inclined, triaging issues, improving documentation,
13
+ helping other users and reviewing existing code and PRs is equally appreciated!
14
+
15
+ The rest of this guide focuses on development and code contributions.
16
+
17
+ Installation
18
+ ------------
19
+ Start by cloning the most recent version, either from the main repository
20
+ or a fork you created, and installing the source as an editable package.
21
+ Using a virtual environment of your choice for the installation is recommended.
22
+
23
+ .. code:: sh
24
+
25
+ $ git clone https://github.com/felix-hilden/sphinx-codeautolink.git
26
+ $ cd sphinx-codeautolink
27
+ $ pip install -e .
28
+ $ pip install -r requirements/dev
29
+
30
+ The last command installs all the necessary tools for development
31
+ as well as all optional dependencies.
32
+
33
+ If you forked, consider adding the upstream repository as a remote to easily
34
+ update your main branch with the latest upstream changes.
35
+ For tips and tricks on contributing, see `how to submit a contribution
36
+ <https://opensource.guide/how-to-contribute/#how-to-submit-a-contribution>`_,
37
+ specifically `opening a pull request
38
+ <https://opensource.guide/how-to-contribute/#opening-a-pull-request>`_.
39
+
40
+ Testing
41
+ -------
42
+ The installation can be verified, and any changes tested by running tox.
43
+
44
+ .. code:: sh
45
+
46
+ $ tox
47
+
48
+ Developing
49
+ ----------
50
+ A number of tools are used to automate development tasks.
51
+ They are available through tox labels.
52
+
53
+ .. code:: sh
54
+
55
+ $ coverage run && coverage report # execute test suite
56
+ $ tox -m docs # build documentation to docs/build/html/index.html
57
+ $ tox -m lint # check code style
58
+ $ tox -m format # autoformat code
59
+ $ tox -m build # packaging dry run
60
+
61
+ Releasing
62
+ ---------
63
+ Before releasing, make sure the version number is incremented
64
+ and the release notes reference the new release.
65
+
66
+ .. note::
67
+
68
+ With sphinx-codeautolink specifically, if Sphinx's environment data
69
+ structure was modified, increment the environment version number before
70
+ releasing a new version.
71
+
72
+ Running tests once more is also good practice.
73
+ Tox is used to build the appropriate distributions and publish them on PyPI.
74
+
75
+ .. code:: sh
76
+
77
+ $ tox -m publish
78
+
79
+ If you'd like to test the upload and the resulting package,
80
+ upload manually to `TestPyPI <https://test.pypi.org>`_ instead.
81
+
82
+ .. code:: sh
83
+
84
+ $ python -m build
85
+ $ twine upload --repository testpypi dist/*
86
+ $ pip install --index-url https://test.pypi.org/simple/ sphinx-codeautolink
87
+
88
+ .. |issue_resolution| image:: http://isitmaintained.com/badge/resolution/felix-hilden/sphinx-codeautolink.svg
89
+ :target: https://isitmaintained.com/project/felix-hilden/sphinx-codeautolink
90
+ :alt: issue resolution time
91
+
92
+ .. |issues_open| image:: http://isitmaintained.com/badge/open/felix-hilden/sphinx-codeautolink.svg
93
+ :target: https://isitmaintained.com/project/felix-hilden/sphinx-codeautolink
94
+ :alt: open issues
@@ -1,6 +1,6 @@
1
- # Manually pin Sphinx + docs requirements
2
- sphinx==7.2.6
3
- sphinx-rtd-theme==2.0.0
4
- docutils==0.19
5
- matplotlib==3.8.3
6
- ipython==8.22.2
1
+ # Manually pin Sphinx + docs requirements
2
+ sphinx==7.2.6
3
+ sphinx-rtd-theme==2.0.0
4
+ docutils==0.19
5
+ matplotlib==3.8.3
6
+ ipython==8.22.2
@@ -1,10 +1,10 @@
1
- :orphan:
2
-
3
- sphinx-codeautolink
4
- ===================
5
-
6
- Oops! The page you are looking for was not found.
7
- Maybe you'll find what you're looking for by searching the documentation
8
- or returning to the `home page <rtd_>`_.
9
-
10
- .. _rtd: https://sphinx-codeautolink.rtfd.org
1
+ :orphan:
2
+
3
+ sphinx-codeautolink
4
+ ===================
5
+
6
+ Oops! The page you are looking for was not found.
7
+ Maybe you'll find what you're looking for by searching the documentation
8
+ or returning to the `home page <rtd_>`_.
9
+
10
+ .. _rtd: https://sphinx-codeautolink.rtfd.org