sphinx-ref-in-plantuml-hyperlinks is a Sphinx extension to resolve std:ref-s defined in plantuml files
Project description
Enhanced integration between Sphinx documentation and PlantUML diagrams
sphinx_ref_in_plantuml_hyperlinks is a Sphinx extension that automatically resolves references (links) created using the std:ref: syntax within PlantUML diagrams. This allows you to link elements in your PlantUML diagrams to corresponding sections or elements in your Sphinx documentation, enhancing navigation and information flow.
Example of Use
.. uml::
:caption: PlantUML Caption with **bold** and *italic*
:name: PlantUML Label2
@startmindmap mindmap2
*[#Orange] Example of clickable references
**[#lightgreen] [[ ":ref:`plantuml label1`" Internal Page Reference1 ]]
**[#lightblue] [[ ":ref:`N_00001`" Internal Page Reference2 on Sphinx-Needs ]]
@endmindmap
Installation
You can install sphinx-ref-in-plantuml-hyperlinks with pip
pip install sphinx-ref-in-plantuml-hyperlinks
Alternatively (Linux)
git clone https://github.com/mi-parkes/sphinx-ref-in-plantuml-hyperlinks.git
cd sphinx-ref-in-plantuml-hyperlinks
poetry install
poetry build
pip install dist/sphinx_ref_in_plantuml_hyperlinks*.whl
Activation
In your conf.py configuration file, add sphinx_ref_in_plantuml_hyperlinks to your extensions list:
extensions = [
...
'sphinx_ref_in_plantuml_hyperlinks'
...
]
List Labels:
poetry run task labels
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sphinx_ref_in_plantuml_hyperlinks-0.7.1.tar.gz.
File metadata
- Download URL: sphinx_ref_in_plantuml_hyperlinks-0.7.1.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.13.2 Darwin/24.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e6fdbf0fb09c0b0d6097b71201425ebc386952cacdf538f1422232c3568f346
|
|
| MD5 |
cb482791e1082d3b18541d5e615a5816
|
|
| BLAKE2b-256 |
ed33c59bcdfdb10f603ebcd9de685d3f85ba81119218d5b3496ecf384e05df4c
|
File details
Details for the file sphinx_ref_in_plantuml_hyperlinks-0.7.1-py3-none-any.whl.
File metadata
- Download URL: sphinx_ref_in_plantuml_hyperlinks-0.7.1-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.13.2 Darwin/24.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7615b8e11d4149f0f7d5e1ad380595d1c8d10287440b7a12f4963a74c5d0d4c4
|
|
| MD5 |
7e4f68db5a8e651e6dd0f9fdafac0617
|
|
| BLAKE2b-256 |
c46b1e9bcfae94c1d16c5931e2c2f218dbf2f0bf3b149abc8925988dfbdcf0b9
|