Skip to main content

Publish rich markdown documentation to Confluence

Project description

Tovald

Publish rich Markdown documentation to Confluence.

usage (alpha)

Install tovald with pipx install tovald or run virtualenv uv run tovald.

Export following variables :

  • CONFLUENCE_SERVER_URL: confluence instance URL
  • CONFLUENCE_SPACE_KEY: target confluence space
  • CONFLUENCE_PARENT_PAGE (optional): any parent page in given space
  • CONFLUENCE_PAT: service account personal access token
usage: tovald [-h] [-v] DOCUMENTATION

positional arguments:
  DOCUMENTATION

options:
  -h, --help     show this help message and exit
  -v, --version  show program's version number and exit

Documentation sctructure

In Confluence, documentation is organized using a hierarchical structure of pages and sub-pages.

  • Page 1
    • Sub-page 1
    • Sub-page 2
      • Sub-sub-page 1
  • Page 2
    • Sub-page 3

Similarly, in tovald documentation structure, each page is represented as folder containing an index.md file and an optional .assets folder.

  • The index.md file holds the content of the page, and the first-level # heading is used as the page title in the page tree view.
  • The .assets folder contains any static asset required by the given index page.
doc
├── index.md
└── operational-guide
    ├── .assets
    │   └── demo.png
    └── index.md

Editorial guide

Standard markdown is supported, as well as MyST flavored syntax.

Most Confluence built-in features are also available via confluencebuilder (ie. jira integration, emoticon, mentions, macros, ...).

Contribution

Project management is achieved with uv.

$ uv sync --dev

Install pre-commit hooks.

$ uv run pre-commit install [--install-hooks]

Credits

Tovald is just a modest wrapper around various tools:

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

tovald-0.1.3.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

tovald-0.1.3-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file tovald-0.1.3.tar.gz.

File metadata

  • Download URL: tovald-0.1.3.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.5.6

File hashes

Hashes for tovald-0.1.3.tar.gz
Algorithm Hash digest
SHA256 8577e3ec3446fe6a5c25b89db0e4e14abafa21b9c3e40bf16c5468eabfe81b03
MD5 d52e8b1a927b29adb6e7a71b9518e7e7
BLAKE2b-256 406b9a1901cfc5cc7d80cee34cd43c4db9817ff98c5c7fe4f722fb5d88a8527f

See more details on using hashes here.

File details

Details for the file tovald-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: tovald-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.5.6

File hashes

Hashes for tovald-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f4ed37301b26ea41a77b88456c0681c2d11598bd9b47fa463168d3f0514a9548
MD5 f953a88e50541ccfbd5df30fccf1c937
BLAKE2b-256 1cd31f17d30a6ecb2a12dba2104b1ffab7ea3a70fb6f0eb57833137b697ee101

See more details on using hashes here.

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