All Projects → felix-hilden → sphinx-codeautolink

felix-hilden / sphinx-codeautolink

Licence: MIT license
Automatic links from code examples to reference documentation

Programming Languages

python
139335 projects - #7 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to sphinx-codeautolink

sphinxcontrib-programoutput
Sphinx extension for capturing program output
Stars: ✭ 29 (-29.27%)
Mutual labels:  sphinx, sphinx-extension
emojicodes
An extension to use emoji codes in your Sphinx documentation! 😍
Stars: ✭ 39 (-4.88%)
Mutual labels:  sphinx, sphinx-extension
sphinxcontrib-hdl-diagrams
Sphinx Extension which generates various types of diagrams from Verilog code.
Stars: ✭ 37 (-9.76%)
Mutual labels:  sphinx, sphinx-extension
sphinx-toolbox
Box of handy tools for Sphinx 🧰 📔
Stars: ✭ 55 (+34.15%)
Mutual labels:  sphinx, sphinx-extension
openapi
OpenAPI (fka Swagger) spec renderer for Sphinx.
Stars: ✭ 78 (+90.24%)
Mutual labels:  sphinx, sphinx-extension
sphinx rtd dark mode
Adds a toggleable dark mode to the Read the Docs theme for Sphinx.
Stars: ✭ 29 (-29.27%)
Mutual labels:  sphinx, sphinx-extension
autodoc pydantic
Seamlessly integrate pydantic models in your Sphinx documentation.
Stars: ✭ 60 (+46.34%)
Mutual labels:  sphinx, sphinx-extension
sphinxcontrib-django
This is a sphinx extension which improves the documentation of Django apps.
Stars: ✭ 37 (-9.76%)
Mutual labels:  sphinx, sphinx-extension
sphinx-wavedrom
A sphinx extension that allows including wavedrom diagrams by using its text-based representation
Stars: ✭ 26 (-36.59%)
Mutual labels:  sphinx, sphinx-extension
matlabdomain
A Sphinx extension for documenting Matlab code
Stars: ✭ 34 (-17.07%)
Mutual labels:  sphinx, sphinx-extension
sphinx-revealjs
Presentation builder for Pythonista
Stars: ✭ 56 (+36.59%)
Mutual labels:  sphinx, sphinx-extension
sphinx-hoverxref
Sphinx extension to show tooltips with content embedded when hover a reference.
Stars: ✭ 77 (+87.8%)
Mutual labels:  sphinx, sphinx-extension
Sphinx Gallery
Sphinx extension for automatic generation of an example gallery
Stars: ✭ 239 (+482.93%)
Mutual labels:  sphinx
sphinx-substitution-extensions
Extensions for Sphinx which allow substitutions
Stars: ✭ 32 (-21.95%)
Mutual labels:  sphinx-extension
Ipypublish
A workflow for creating and editing publication ready scientific reports and presentations, from one or more Jupyter Notebooks, without leaving the browser!
Stars: ✭ 188 (+358.54%)
Mutual labels:  sphinx
Piano fundamentals
This is a Sphinx adaptation of Chaun C. Chang's book, "Fundamentals of Piano Practice."
Stars: ✭ 174 (+324.39%)
Mutual labels:  sphinx
sphinxext-rediraffe
Sphinx extension to redirect files
Stars: ✭ 27 (-34.15%)
Mutual labels:  sphinx-extension
sphinxcontrib-trio
Make Sphinx better at documenting Python functions and methods
Stars: ✭ 26 (-36.59%)
Mutual labels:  sphinx
Yii2 Sphinx
Yii 2 Sphinx extension.
Stars: ✭ 172 (+319.51%)
Mutual labels:  sphinx
Sbt Site
Site generation for sbt
Stars: ✭ 166 (+304.88%)
Mutual labels:  sphinx

sphinx-codeautolink

License: MIT documentation build status

sphinx-codeautolink makes code examples clickable by inserting links from individual code elements to the corresponding reference documentation. We aim for a minimal setup assuming your examples are already valid Python.

For a live demo, see our online documentation on Read The Docs.

sphinx-codeautolink elsewhere:

Installation

PyPI package Conda-Forge package

sphinx-codeautolink can be installed from the following sources:

$ pip install sphinx-codeautolink
# or, alternatively:
$ conda install -c conda-forge sphinx-codeautolink

To enable sphinx-codeautolink, modify the extension list in conf.py. Note that the extension name uses an underscore rather than a hyphen.

extensions = [
    ...,
    "sphinx_codeautolink",
]

That's it! Now your code examples are linked. For ways of concatenating multiple examples and setting default import statements among other things, have a look at the online documentation.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].