Debian Codegraph @

PKG-INFO

raw
1 Metadata-Version: 2.4
2 Name: sphinx-codeautolink
3 Version: 0.17.5
4 Summary: Automatic links from code examples to reference documentation.
5 Author-email: Felix Hildén <[email protected]>
6 Maintainer-email: Felix Hildén <[email protected]>
7 Project-URL: homepage, https://pypi.org/project/sphinx-codeautolink
8 Project-URL: download, https://pypi.org/project/sphinx-codeautolink
9 Project-URL: source, https://github.com/felix-hilden/sphinx-codeautolink
10 Project-URL: issues, https://github.com/felix-hilden/sphinx-codeautolink/issues
11 Project-URL: documentation, https://sphinx-codeautolink.rtfd.org
12 Keywords: sphinx,extension,code,link
13 Classifier: Development Status :: 4 - Beta
14 Classifier: Framework :: Sphinx
15 Classifier: Framework :: Sphinx :: Extension
16 Classifier: Programming Language :: Python :: 3
17 Classifier: Programming Language :: Python :: 3 :: Only
18 Classifier: Programming Language :: Python :: 3.10
19 Classifier: Programming Language :: Python :: 3.11
20 Classifier: Programming Language :: Python :: 3.12
21 Classifier: Programming Language :: Python :: 3.13
22 Classifier: Topic :: Documentation
23 Classifier: Topic :: Documentation :: Sphinx
24 Classifier: Topic :: Software Development :: Documentation
25 Requires-Python: >=3.10
26 Description-Content-Type: text/x-rst
27 License-File: LICENSE
28 Requires-Dist: sphinx>=3.2.0
29 Requires-Dist: beautifulsoup4>=4.8.1
30 Provides-Extra: ipython
31 Requires-Dist: ipython!=8.7.0; extra == "ipython"
32 Dynamic: license-file
33
34 sphinx-codeautolink
35 ===================
36 |pyversions| |downloads| |license| |readthedocs|
37
38 sphinx-codeautolink makes code examples clickable by inserting links
39 from individual code elements to the corresponding reference documentation.
40 We aim for a minimal setup assuming your examples are already valid Python.
41
42 For a live demo, see our online documentation on
43 `Read The Docs <https://sphinx-codeautolink.rtfd.org>`_.
44
45 Installation
46 ------------
47 sphinx-codeautolink can be installed from the following sources:
48
49 .. code:: sh
50
51 $ pip install sphinx-codeautolink
52 $ conda install -c conda-forge sphinx-codeautolink
53
54 Note that the library is in early development, so version pinning is advised.
55 To enable sphinx-codeautolink, modify the extension list in ``conf.py``.
56 Note that the extension name uses an underscore rather than a hyphen.
57
58 .. code:: python
59
60 extensions = [
61 ...,
62 "sphinx_codeautolink",
63 ]
64
65 That's it! Now your code examples are linked.
66 For ways of concatenating examples, setting default import statements,
67 or customising link style among other things,
68 see the `online documentation <https://sphinx-codeautolink.rtfd.org>`_.
69
70 .. |pyversions| image:: https://img.shields.io/pypi/pyversions/sphinx-codeautolink
71 :alt: Python versions
72
73 .. |downloads| image:: https://img.shields.io/pypi/dm/sphinx-codeautolink
74 :alt: Monthly downloads
75
76 .. |license| image:: https://img.shields.io/badge/License-MIT-blue.svg
77 :target: https://choosealicense.com/licenses/mit
78 :alt: License: MIT
79
80 .. |readthedocs| image:: https://rtfd.org/projects/sphinx-codeautolink/badge/?version=stable
81 :target: https://sphinx-codeautolink.rtfd.org/en/stable/
82 :alt: Documentation