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.11.tar.gz (400.2 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.11-py2.py3-none-any.whl (13.8 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

File hashes

Hashes for sphinx_confluencebuilder_bridge-2025.7.11.tar.gz
Algorithm Hash digest
SHA256 850cc91c2241d6776bdd9e2450353702a6f5072d3d6edca366f6bfb119208565
MD5 fd4742a29a54d205c4349754ba47cb26
BLAKE2b-256 0e856c836e37cfb46f312dcc7ec1f078498f39263188ee3d43dd18e50bbe32c5

See more details on using hashes here.

Provenance

The following attestation bundles were made for sphinx_confluencebuilder_bridge-2025.7.11.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.11-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for sphinx_confluencebuilder_bridge-2025.7.11-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 69c42fb8597a157c59a115b9a2e2de323b4a1eccb39fd5b3d06a03e5b8bc70f1
MD5 656e1c4e8a5efd263580a753c49c6ea3
BLAKE2b-256 df4ee1a1044e1a29700f0ffbb0268502dcc1b36721ee7df720fa5bebc7005143

See more details on using hashes here.

Provenance

The following attestation bundles were made for sphinx_confluencebuilder_bridge-2025.7.11-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