Skip to main content

Publish rich markdown documentation to Confluence

Project description

Tovald

Publish rich Markdown documentation to Confluence.

usage (beta)

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
$ uv run python tovald/main.py DOCUMENTATION_PATH

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.0.0.tar.gz (4.0 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.0.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tovald-0.0.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.5

File hashes

Hashes for tovald-0.0.0.tar.gz
Algorithm Hash digest
SHA256 958a93d2cc413e2c78d7f15f40f9a24ac17bce2c2b599b968669bc62ff542ead
MD5 846dce7949b7233f3c43fb9cbdd4206e
BLAKE2b-256 cf349af7469c049479997c91383d72207cfded04f6b4ef23902cd1f9a34d895a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tovald-0.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.5

File hashes

Hashes for tovald-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 023bdcf409891cf9c536506e7c090cf6f18cba417b084795b51c5872eda4e1b7
MD5 2d53dcf17733a1ae44679369638b042c
BLAKE2b-256 03d27b5d39f65a2c0ecb99e726da6d1198ae8fff64e2e6c10b9f0d174fb1a077

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