Skip to main content

MkDocs plugin for uploading markdown documentation to Confluence via Confluence REST API

Project description

PyPI Build Status codecov PyPI - Downloads GitHub contributors PyPI - License PyPI - Python Version

mkdocs-confluence

MkDocs plugin that converts markdown pages into confluence markup and export it to the Confluence page

Setup

Install the plugin using pip:

pip install mkdocs-confluence

Activate the plugin in mkdocs.yml:

plugins:
  - search
  - mkdocs-confluence

More information about plugins in the MkDocs documentation: mkdocs-plugins.

Usage

Use following config and adjust it according to your needs:

  - mkdocs-confluence:
        host_url: https://<YOUR_CONFLUENCE_DOMAIN>/rest/api/content
        space: <YOUR_SPACE>
        parent_page_name: <YOUR_ROOT_PARENT_PAGE>
        username: <YOUR_USERNAME_TO_CONFLUENCE>
        password: <YOUR_PASSWORD_TO_CONFLUENCE>
        enabled_if_env: MKDOCS_TO_CONFLUENCE
        #verbose: true
        #debug: true
        dryrun: true

Parameters:

Requirements

  • md2cf
  • mimetypes
  • mistune

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

mkdocs-confluence-0.2.3.dev3.tar.gz (6.9 kB view hashes)

Uploaded Source

Built Distribution

mkdocs_confluence-0.2.3.dev3-py3-none-any.whl (7.5 kB view hashes)

Uploaded Python 3

Supported by

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