Skip to main content

zmerge ☂️

PyPI Test Docs

zmerge merges the documentation of multiple Zensical projects into one site with working links, a single navigation and one global search. It fills the gap left by the mkdocs-monorepo-plugin until Zensical ships an official solution.

  • No custom Zensical, no plugins. zmerge assembles one regular Zensical project and builds it with zensical build.
  • One site. One navigation, one search index and one link check across all projects.
  • Links that work everywhere. Link between projects with their published URLs; zmerge turns them into validated relative links.
  • Per-project settings. zmerge merges the markdown extensions, plugins, mkdocstrings options and snippets of every project.
  • Local or git, TOML or YAML. Include projects from local paths or git repositories, configured with a zensical.toml or an mkdocs.yml.
  • Fast. Hardlinks instead of copies, incremental re-assembly in milliseconds and live previews with zmerge serve.

Installation

uv tool install zmerge --with mkdocstrings-python  # add the extensions and plugins your projects use

zm is a short alias of zmerge, e.g. zm serve.

Quick start

Create an umbrella project, the Zensical project that hosts the merged site, and include projects in its nav:

[project]
site_name = "My projects"
site_url = "https://example.github.io/"
nav = [
  { Home = "index.md" },
  { lev = "!include ../lev/zensical.toml" },
  { Typer = "!include git+https://github.com/fastapi/typer.git" },
]

[project.markdown_extensions.admonition]
[project.markdown_extensions.toc]
permalink = true

Build or preview the merged site:

zmerge build --strict
zmerge serve

zmerge generates .zmerge/ and .zmerge.toml next to the umbrella configuration. Keep .zmerge.toml out of git:

echo .zmerge.toml >> .gitignore

Read the documentation for the configuration, links between projects and limitations. The docs are built with zmerge themselves: their example merges lev and Typer from GitHub, see zensical.toml.

Development

uv sync
uv run pytest
uv run prek run --all-files
uv run zmerge serve

Metadata

Release files for zmerge 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zmerge 0.5.0
File Size Uploaded Provenance Actions
zmerge-0.5.0.tar.gz 31.7 kB With provenance Details for zmerge-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for zmerge 0.5.0
File Interpreter ABI Platform Actions
zmerge-0.5.0-py3-none-any.whl Python 3 none any Details for zmerge-0.5.0-py3-none-any.whl

Total release size: 67.5 kB

Release files / zmerge-0.5.0.tar.gz

Download URL zmerge-0.5.0.tar.gz
Size 31.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0088fffdb040d57009c3e89c05b08e137456cb3aa25423c0bcdca9d2454aa022
BLAKE2b-256 checksum
How to use checksums
82af5a78fdc1a7d5652ea24ce35e8e6bce456705c87e75f995c1ad8eea0a6e76
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

Release files / zmerge-0.5.0-py3-none-any.whl

Download URL zmerge-0.5.0-py3-none-any.whl
Size 35.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bae86a497b49365487eddb2490c6f9f2213b7c93b5b67bddd43253ff4d3e3eda
BLAKE2b-256 checksum
How to use checksums
fbc1554b979b86c76faf361b36bec3b23eeb5ed65cc7a302ddbb26c4a9a9063f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

Security for zmerge 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for zmerge-0.5.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page