A Sphinx extension to embed source code blocks directly into documentation
Project description
sphinx-inlinecode is a Sphinx extension that embeds source code blocks directly into your documentation as a dropdown.
Example
Unlike sphinx.ext.viewcode, source code blocks will also be added for property and cached_property entries
Installation
To install sphinx-inlinecode via pip:
pip install sphinx-inlinecode
Configuration
Add the extension to your conf.py
extensions = [
"sphinx_inlinecode",
]
Documentation
Full documentation can be found on ReadTheDocs
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for sphinx_inlinecode-2.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ba1b5c8919a4527ee2b7fa01902b80cd0a79376c169787b7c9de74374cb5054 |
|
MD5 | 3e8414c636a312106cb352b6202d5980 |
|
BLAKE2b-256 | 14b7bc445111dc4b2d5204b9937215d7f14b78a156195dce25128d8bc11ffda5 |