sphinx-codeautolink 0.15.0__tar.gz → 0.16.2__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.
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/LICENSE +21 -21
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/MANIFEST.in +6 -6
- {sphinx-codeautolink-0.15.0/src/sphinx_codeautolink.egg-info → sphinx_codeautolink-0.16.2}/PKG-INFO +104 -102
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/contributing.rst +94 -94
- sphinx_codeautolink-0.16.2/docs/requirements.txt +6 -0
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/docs/src/404.rst +10 -8
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/docs/src/about.rst +138 -133
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/docs/src/conf.py +66 -64
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/docs/src/example_library.rst +10 -10
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/docs/src/examples.rst +320 -320
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/docs/src/index.rst +118 -118
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/docs/src/lib.py +28 -31
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/docs/src/reference.rst +160 -160
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/docs/src/release_notes.rst +195 -171
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/pyproject.toml +96 -73
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/readme_pypi.rst +50 -50
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/requirements/build +2 -2
- sphinx_codeautolink-0.16.2/requirements/dev +9 -0
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/requirements/docs +4 -4
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/requirements/extras +1 -1
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/requirements/tests +4 -4
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/setup.cfg +4 -4
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/src/sphinx_codeautolink/__init__.py +67 -48
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/src/sphinx_codeautolink/extension/__init__.py +305 -301
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/src/sphinx_codeautolink/extension/backref.py +130 -128
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/src/sphinx_codeautolink/extension/block.py +415 -401
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/src/sphinx_codeautolink/extension/cache.py +41 -41
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/src/sphinx_codeautolink/extension/directive.py +140 -136
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/src/sphinx_codeautolink/extension/resolve.py +177 -175
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/src/sphinx_codeautolink/parse.py +713 -712
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/src/sphinx_codeautolink/warn.py +6 -5
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2/src/sphinx_codeautolink.egg-info}/PKG-INFO +104 -102
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/src/sphinx_codeautolink.egg-info/SOURCES.txt +7 -2
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/__init__.py +12 -12
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/__init__.py +299 -299
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/_check.py +41 -42
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/fail/concat_invalid.txt +11 -11
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/fail/custom_block_import_invalid.txt +12 -12
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/fail/custom_block_syntax_error.txt +10 -10
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/fail/failed_resolve_invalid_location.txt +11 -11
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/fail/failed_resolve_no_module.txt +11 -11
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/fail/failed_resolve_return_type.txt +11 -11
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/fail/match_block_warning.txt +10 -10
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/fail/missing_inventory.txt +9 -9
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/fail/no_module_docs.txt +8 -8
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/fail/ref_import_star_invalid.txt +9 -9
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/fail/ref_invalid_block_type.txt +10 -10
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/fail/ref_invalid_syntax.txt +18 -18
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/fail/ref_invalid_syntax_complex.txt +16 -16
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/fail/ref_ipython_non-python.txt +12 -12
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/fail/skip_invalid.txt +11 -11
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/concat_default.txt +28 -28
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/concat_off.txt +20 -20
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/concat_on_across_sections.txt +28 -28
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/concat_on_breaks.txt +21 -21
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/concat_section_breaks.txt +28 -28
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/concat_section_returns_to_global.txt +35 -35
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/custom_block.txt +19 -18
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/custom_block_imported.txt +16 -15
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/empty_project.txt +5 -5
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/inventory_map_is_needed.txt +19 -19
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/inventory_map_not_needed.txt +17 -17
- sphinx_codeautolink-0.16.2/tests/extension/ref/line_numbers.txt +14 -0
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/non_python_block.txt +12 -12
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/preface_concatenated.txt +18 -18
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/preface_consumed_non_python.txt +15 -15
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/preface_global.txt +14 -14
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/preface_global_multiline.txt +14 -14
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/preface_global_overwritten.txt +17 -17
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/preface_multiline.txt +18 -18
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/preface_multiline_and_arg.txt +17 -17
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/preface_multiple.txt +15 -15
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/preface_single.txt +12 -12
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/ref_assign_targets.txt +18 -24
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/ref_builtins.txt +16 -16
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/ref_chain.txt +15 -15
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/ref_chain_call.txt +14 -14
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/ref_class_attr.txt +22 -22
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/ref_class_meth_returns_self.txt +16 -16
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/ref_class_type_attr.txt +15 -15
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/ref_decorator.txt +18 -18
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/ref_doctest.txt +22 -22
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/ref_extdoctest_doctest.txt +28 -27
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/ref_extdoctest_testcode.txt +21 -21
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/ref_fluent_attrs.txt +24 -24
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/ref_fluent_call.txt +30 -30
- sphinx_codeautolink-0.16.2/tests/extension/ref/ref_func_args.txt +27 -0
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/ref_func_no_module.txt +16 -16
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/ref_import_as.txt +14 -14
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/ref_import_from.txt +12 -12
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/ref_import_from_complex.txt +32 -32
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/ref_import_multiple.txt +17 -17
- sphinx_codeautolink-0.16.2/tests/extension/ref/ref_import_multiple_libs.txt +17 -0
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/ref_import_star.txt +11 -11
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/ref_import_submodule.txt +15 -15
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/ref_imported_func.txt +12 -12
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/ref_imported_func_relocated.txt +14 -14
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/ref_inherited.txt +22 -22
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/ref_intersphinx_only.txt +17 -17
- sphinx_codeautolink-0.16.2/tests/extension/ref/ref_invalid_func.txt +18 -0
- sphinx_codeautolink-0.16.2/tests/extension/ref/ref_invalid_typehint.txt +14 -0
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/ref_ipython.txt +32 -32
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/ref_ipython3.txt +14 -14
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/ref_ipython_directive.txt +22 -22
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/ref_ipython_directive_comment.txt +18 -18
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/ref_ipython_syntax.txt +23 -23
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/ref_optional.txt +17 -14
- sphinx_codeautolink-0.16.2/tests/extension/ref/ref_optional_future.txt +17 -0
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/ref_py.txt +13 -13
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/ref_pycon.txt +24 -24
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/ref_shadow_builtin.txt +19 -19
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/ref_simple.txt +14 -14
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/search_css_duplicates_removed.txt +14 -14
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/skip_file.txt +25 -25
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/skip_next.txt +19 -19
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/skip_next_consumed_non_python.txt +19 -19
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/skip_off.txt +31 -31
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/ref/skip_section.txt +27 -27
- sphinx_codeautolink-0.16.2/tests/extension/src/future_project.py +22 -0
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/src/parser_func.py +12 -11
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/src/test_project/__init__.py +53 -54
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/src/test_project/sub.py +8 -8
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/table/tab_autodoc_empty.txt +14 -14
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/table/tab_autodoc_links.txt +14 -14
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/table/tab_manual_collapse.txt +14 -14
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/table/tab_manual_empty.txt +12 -12
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/table/tab_manual_links.txt +14 -14
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/table/tab_manual_links_subsection.txt +18 -18
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/extension/table/tab_no_table.txt +11 -11
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/parse/__init__.py +170 -170
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/parse/_util.py +37 -41
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/parse/assign.py +310 -315
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/parse/chain.py +26 -26
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/parse/match.py +127 -127
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tests/parse/scope.py +346 -347
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/tox.ini +84 -109
- sphinx-codeautolink-0.15.0/docs/requirements.txt +0 -6
- sphinx-codeautolink-0.15.0/requirements/dev +0 -13
- sphinx-codeautolink-0.15.0/src/sphinx_codeautolink/static/sphinx-codeautolink.css +0 -16
- sphinx-codeautolink-0.15.0/tests/extension/ref/ref_optional_manual.txt +0 -14
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/src/sphinx_codeautolink.egg-info/dependency_links.txt +0 -0
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/src/sphinx_codeautolink.egg-info/requires.txt +0 -0
- {sphinx-codeautolink-0.15.0 → sphinx_codeautolink-0.16.2}/src/sphinx_codeautolink.egg-info/top_level.txt +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2021-
|
|
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
|
{sphinx-codeautolink-0.15.0/src/sphinx_codeautolink.egg-info → sphinx_codeautolink-0.16.2}/PKG-INFO
RENAMED
|
@@ -1,102 +1,104 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
2
|
-
Name: sphinx-codeautolink
|
|
3
|
-
Version: 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-
|
|
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.
|
|
41
|
-
Classifier: Programming Language :: Python :: 3.
|
|
42
|
-
Classifier: Programming Language :: Python :: 3.
|
|
43
|
-
Classifier: Programming Language :: Python :: 3.
|
|
44
|
-
Classifier:
|
|
45
|
-
Classifier: Topic :: Documentation
|
|
46
|
-
Classifier: Topic ::
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
$
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
Note that the
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
|
+
Name: sphinx-codeautolink
|
|
3
|
+
Version: 0.16.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-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,8 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|