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
  • CONFLUENCE_SOURCES_URL (optional): sources repository URL
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.5.tar.gz (4.4 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.5-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tovald-0.1.5.tar.gz
Algorithm Hash digest
SHA256 25303c2d26140dc991ba2cd2657b1beb04cbcdeab97e92980ada21d916fc2b92
MD5 b5ae42e68cb221288cbafffb87186a9b
BLAKE2b-256 8748aa45f5aa8a228a76c47e5f9db10938f5893d47148af553fc57395f1bbc2d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for tovald-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 95ea90a45e20f3ab84fd1ead62d95d6921a7a1cf9bf1abbcc1bcbca530646796
MD5 99c1b67e81a28bc0cf56a4fed7646185
BLAKE2b-256 acd1ed8d45889364f639ddd10ee1e4a599104442d7345d5ea03b13557795b712

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