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.1.tar.gz (400.3 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.1-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.1.tar.gz.

File metadata

File hashes

Hashes for sphinx_confluencebuilder_bridge-2025.7.11.1.tar.gz
Algorithm Hash digest
SHA256 ef78cf30b5754ab6bbe20f7b258c3eee502d4ef35511b9931f80a005b11db17b
MD5 7f97750e53115e9c77740a561b8b5652
BLAKE2b-256 ddaa0c07aa102f53ad23857bc82e017d0db9545bd4b2ca023883c2f458a5121c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sphinx_confluencebuilder_bridge-2025.7.11.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8b479c31c81cd10b7cde546529203d5cfbc18ea0af4167b1e10f0e6b0978c7be
MD5 a96f299496fc96d23afbba284f1ffdb8
BLAKE2b-256 431e07a1c5722831ae278fc2088e148ff8ea6680c20d94a7d6f93ca51eefe87b

See more details on using hashes here.

Provenance

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