osmose.docs_content

Read and parse the project’s README/CHANGELOG for in-app rendering.

Pure module (no UI import). Reads the maintained docs from the repo root by a fixed whitelist and parses the latest changelog entry for the startup “what’s new” modal.

Functions

latest_changelog_entry(text)

Parse the first dated version section of a changelog (pure, never raises).

read_doc(kind, *[, root])

Return a whitelisted doc file's text ("readme"/"changelog").