Extension for Sphinx which enables using directives and roles from Atlassian® Confluence® Builder for Sphinx in other Sphinx builders such as HTML.
Project description
Sphinx Confluence Builder Bridge
Extension for Sphinx which enables using directives and roles from Atlassian® Confluence® Builder for Sphinx in other Sphinx builders such as HTML. This enables you to use HTML builds for easy iteration while developing documentation which is primarily meant for Confluence.
Installation
sphinx-confluencebuilder-bridge is compatible with Python 3.11+.
$ pip install sphinx-confluencebuilder-bridge
Setup
Add the following to conf.py to enable the extension:
"""Configuration for Sphinx."""
extensions = ["sphinxcontrib.confluencebuilder"] # Example existing extensions
extensions += [
# This must come after ``"sphinxcontrib.confluencebuilder"``
"sphinx_confluencebuilder_bridge"
]
Supported directives
Only some of the directives supported by Atlassian® Confluence® Builder for Sphinx are supported. The following directives are supported:
- confluence_toc
The only supported option is max-level.
- confluence_viewpdf
This shows an inline image which is a screenshot of the first page of the PDF.
Supported roles
Only some of the roles supported by Atlassian® Confluence® Builder for Sphinx are supported. The following roles are supported:
- confluence_link
This renders as a normal hyperlink, unlike in Confluence where the page title is shown.
- confluence_doc
This renders as a normal documentation link, unlike in Confluence where the page title is shown.
- confluence_mention
This renders as a link with the text being the user’s account identifier, user key or username.
For this to show a clear account identifier, set confluence_mentions in conf.py.
Contributing
See CONTRIBUTING.rst.
Project details
Release history Release notifications | RSS feed
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_confluencebuilder_bridge-2025.7.12.tar.gz.
File metadata
- Download URL: sphinx_confluencebuilder_bridge-2025.7.12.tar.gz
- Upload date:
- Size: 400.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
79bafdf01908ba052d606451feafac541871e2f46301b0da7a5fb629b1d528d5
|
|
| MD5 |
bac77d3a987d33d61f2eb347942c8e7d
|
|
| BLAKE2b-256 |
db537e212535703446f22b6f354f8cb45ecf764e307c7b5b12d2a89dab41a608
|
Provenance
The following attestation bundles were made for sphinx_confluencebuilder_bridge-2025.7.12.tar.gz:
Publisher:
release.yml on adamtheturtle/sphinx-confluencebuilder-bridge
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sphinx_confluencebuilder_bridge-2025.7.12.tar.gz -
Subject digest:
79bafdf01908ba052d606451feafac541871e2f46301b0da7a5fb629b1d528d5 - Sigstore transparency entry: 272574158
- Sigstore integration time:
-
Permalink:
adamtheturtle/sphinx-confluencebuilder-bridge@bd44d9c6622eff9464e6d43f93b4e9ffb1ffe1c4 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/adamtheturtle
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bd44d9c6622eff9464e6d43f93b4e9ffb1ffe1c4 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file sphinx_confluencebuilder_bridge-2025.7.12-py2.py3-none-any.whl.
File metadata
- Download URL: sphinx_confluencebuilder_bridge-2025.7.12-py2.py3-none-any.whl
- Upload date:
- Size: 13.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9590b77e7569b7cf485688bb564c3e9e2e7d1de52b3e3711cec6c3e237aa6ceb
|
|
| MD5 |
ce325d01823a7c0c8da961f58eca988a
|
|
| BLAKE2b-256 |
51c7772dfbc7190f6b96d90e5bf6d337f19cfab14ba18d67f9adcfbde1b685af
|
Provenance
The following attestation bundles were made for sphinx_confluencebuilder_bridge-2025.7.12-py2.py3-none-any.whl:
Publisher:
release.yml on adamtheturtle/sphinx-confluencebuilder-bridge
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sphinx_confluencebuilder_bridge-2025.7.12-py2.py3-none-any.whl -
Subject digest:
9590b77e7569b7cf485688bb564c3e9e2e7d1de52b3e3711cec6c3e237aa6ceb - Sigstore transparency entry: 272574164
- Sigstore integration time:
-
Permalink:
adamtheturtle/sphinx-confluencebuilder-bridge@bd44d9c6622eff9464e6d43f93b4e9ffb1ffe1c4 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/adamtheturtle
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bd44d9c6622eff9464e6d43f93b4e9ffb1ffe1c4 -
Trigger Event:
workflow_dispatch
-
Statement type: