Skip to main content

Extension for Sphinx which enables using directives and roles from Atlassian® Confluence® Builder for Sphinx in other Sphinx builders such as HTML.

Project description

Build Status codecov PyPI

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
  • 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sphinx_confluencebuilder_bridge-2025.7.12.tar.gz (400.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sphinx_confluencebuilder_bridge-2025.7.12-py2.py3-none-any.whl (13.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file sphinx_confluencebuilder_bridge-2025.7.12.tar.gz.

File metadata

File hashes

Hashes for sphinx_confluencebuilder_bridge-2025.7.12.tar.gz
Algorithm Hash digest
SHA256 79bafdf01908ba052d606451feafac541871e2f46301b0da7a5fb629b1d528d5
MD5 bac77d3a987d33d61f2eb347942c8e7d
BLAKE2b-256 db537e212535703446f22b6f354f8cb45ecf764e307c7b5b12d2a89dab41a608

See more details on using hashes here.

Provenance

The following attestation bundles were made for sphinx_confluencebuilder_bridge-2025.7.12.tar.gz:

Publisher: release.yml on adamtheturtle/sphinx-confluencebuilder-bridge

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sphinx_confluencebuilder_bridge-2025.7.12-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for sphinx_confluencebuilder_bridge-2025.7.12-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9590b77e7569b7cf485688bb564c3e9e2e7d1de52b3e3711cec6c3e237aa6ceb
MD5 ce325d01823a7c0c8da961f58eca988a
BLAKE2b-256 51c7772dfbc7190f6b96d90e5bf6d337f19cfab14ba18d67f9adcfbde1b685af

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page