Sphinx CodeLinks
A Sphinx extension for discovering, linking, and documenting source code across projects.
Features
- Source Discovery: Automatically discover source files in your project
- Analyse: Parse source codes and extract specified markers with their metadata
- Code Linking: Create intelligent links between code elements
- Sphinx Integration: Seamless integration with existing Sphinx documentation
Quick Start
pip install sphinx-codelinks
Add to your conf.py:
extensions = ['sphinx_needs', 'sphinx_codelinks']
Sphinx-CodeLinks reads its configuration from an ubproject.toml file next to
conf.py by default (configurable via src_trace_config_from_toml).
Documentation
Full documentation: https://codelinks.useblocks.com
Components
- Source Discovery (
src/sphinx_codelinks/source_discover): Code analysis and discovery - Analyse (
src/sphinx_codelinks/analyse): Documentation generation - Sphinx Extension (
src/sphinx_codelinks/sphinx_extension): Sphinx integration - Command Line (
src/sphinx_codelinks/cmd.py): CLI interface
Development
See Development Guide for contributing guidelines.
Metadata
Release files for sphinx-codelinks 2.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sphinx_codelinks-2.1.0.tar.gz | 116.1 kB | Without provenance | Details for sphinx_codelinks-2.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sphinx_codelinks-2.1.0-py3-none-any.whl | Python 3 | none | any | Details for sphinx_codelinks-2.1.0-py3-none-any.whl |
Total release size: 246.6 kB
Release files / sphinx_codelinks-2.1.0.tar.gz
| Download URL | sphinx_codelinks-2.1.0.tar.gz |
|---|---|
| Size | 116.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e179a735b6f1f8803285e1542da89fdb867b5c53613a1eada2d30e7e8622a285
|
|
BLAKE2b-256 checksum How to use checksums |
e146fd704d3a655e0846c9e483f85542e064dd7cdf2f5824480303c172fa4a27
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / sphinx_codelinks-2.1.0-py3-none-any.whl
| Download URL | sphinx_codelinks-2.1.0-py3-none-any.whl |
|---|---|
| Size | 130.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2ca6c0bd59c82fe7fc2fc5cf82052fe81a78bb9900ddfc58a9c64a0ad34f2f4a
|
|
BLAKE2b-256 checksum How to use checksums |
e0fb0aa54b2b648b87b4d6b11eb723d1020c6feb1de25dcf8f7cf62a25725e69
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for sphinx-codelinks 2.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.