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.theme]
features = ["navigation.indexes"]

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

Build or preview the merged site:

zmerge build --strict
zmerge serve

zmerge writes the merged project to .zmerge.toml and .zmerge/ and regenerates both on every run. Keep .zmerge.toml out of git; .zmerge/ contains its own .gitignore:

echo .zmerge.toml >> .gitignore

Read the documentation to include projects and link between them, and its 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.6.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.6.0
File Size Uploaded Provenance Actions
zmerge-0.6.0.tar.gz 33.7 kB With provenance Details for zmerge-0.6.0.tar.gz

Built distribution (wheel)

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

Total release size: 71.8 kB

Release files / zmerge-0.6.0.tar.gz

Download URL zmerge-0.6.0.tar.gz
Size 33.7 kB
Tags Source
SHA-256 checksum
How to use checksums
62e727c1b740e093e56298611e0525eeb3920abd53caf85de96b46cb56796df7
BLAKE2b-256 checksum
How to use checksums
31773a5fa4a0c4395913ad3591d1b014e4456d77fdc73435cc016c1d2ec6cd02
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 4, 2026.

Transparency log

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

Download URL zmerge-0.6.0-py3-none-any.whl
Size 38.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3740af596002cdb63d080bcec7ddc8ca67d8fc0982045bf57ce4ab18b104be9a
BLAKE2b-256 checksum
How to use checksums
84f900eeab59c2ac9114025f7a3d2dd34a9e4c0a20b613d9842682756325f5ba
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 4, 2026.

Transparency log

Security for zmerge 0.6.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.6.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 4, 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