Skip to main content

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

Development

See Development Guide for contributing guidelines.

Metadata

Release files for sphinx-codelinks 2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sphinx-codelinks 2.0.1
File Size Uploaded Provenance Actions
sphinx_codelinks-2.0.1.tar.gz 97.5 kB Without provenance Details for sphinx_codelinks-2.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sphinx-codelinks 2.0.1
File Interpreter ABI Platform Actions
sphinx_codelinks-2.0.1-py3-none-any.whl Python 3 none any Details for sphinx_codelinks-2.0.1-py3-none-any.whl

Total release size: 209.2 kB

Security for sphinx-codelinks 2.0.1

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page