Skip to content

jaredcurtis/confluencebuilder

 
 

Repository files navigation

Atlassian Confluence Builder for Sphinx

pip Version

Build Status

Documentation Status

PyPI download month

Sphinx extension to build Confluence storage format files and optionally publish them to a Confluence instance.

Requirements

If publishing:

Installing

The recommended method to installing this extension is using pip:

pip install sphinxcontrib-confluencebuilder
 (or)
python -m pip install sphinxcontrib-confluencebuilder

For a more in-depth installation information, see also:

Atlassian Confluence Builder for Sphinx - Installation
https://sphinxcontrib-confluencebuilder.readthedocs.io/en/stable/install.html

Usage

  • Register the extension sphinxcontrib.confluencebuilder in the project's configuration script (conf.py):
extensions = ['sphinxcontrib.confluencebuilder']
  • Run sphinx-build with the builder confluence:
sphinx-build -b confluence . _build/confluence -E -a
 (or)
python -m sphinx -b confluence . _build/confluence -E -a

For more information on the usage of this extension, see also:

Configuration

The following is an example of a simple configuration for Confluence generation and publishing:

extensions = ['sphinxcontrib.confluencebuilder']
confluence_publish = True
confluence_space_name = 'TEST'
confluence_parent_page = 'Documentation'
confluence_server_url = 'https://intranet-wiki.example.com/'
confluence_server_user = 'username'
confluence_server_pass = 'api-key-or-password'

For a complete list of configuration options, see also:

Atlassian Confluence Builder for Sphinx - Configuration
https://sphinxcontrib-confluencebuilder.readthedocs.io/en/stable/configuration.html

Directives

For a complete list of directives supported by this extension, please consult:

Demonstration

The set of example documents used to assist in validation/testing can be found here:

Atlassian Confluence Builder for Sphinx - Validation Set
https://github.com/sphinx-contrib/confluencebuilder/tree/master/test/validation-sets

The active and older versions of published validation documents can be found here:

Atlassian Confluence Builder for Sphinx - Online Demo on Confluence Cloud
https://jdknight.atlassian.net/wiki/spaces/confluencebuilder/

Supported Markup

For a complete list of supported markup, consult the following:

About

Confluence Markup Builder Plugin for Sphinx

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.7%
  • Other 0.3%