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.4.1

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.4.1
File Size Uploaded Provenance Actions
zmerge-0.4.1.tar.gz 30.7 kB With provenance Details for zmerge-0.4.1.tar.gz

Built distribution (wheel)

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

Total release size: 65.6 kB

Release files / zmerge-0.4.1.tar.gz

Download URL zmerge-0.4.1.tar.gz
Size 30.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0a994bf86162978b30de1b0fe155541f9fb09135c80573496128e12c1592691f
BLAKE2b-256 checksum
How to use checksums
06585cd56b4d31867bde6e51b4dec684197db13ad74256b91b33f8f8f4c0d0a3
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 Oct 30, 2026.

Transparency log

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

Download URL zmerge-0.4.1-py3-none-any.whl
Size 34.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f7e19c7e19bb3cf4b2ce38e453ac322f190b8331f938091f99ee156a45f2ff5f
BLAKE2b-256 checksum
How to use checksums
1b38efa14fe049739e88ba6fa489b7b44b2b0dce45bf9b4f2bae0df18233ad4a
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 Oct 30, 2026.

Transparency log

Security for zmerge 0.4.1

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.4.1.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 Oct 30, 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