Skip to main content

MDBook backend for Pants

This release targets Pants 2.31.0. Install it with pants-backend-mdbook==0.8.0 in [GLOBAL].plugins in pants.toml.

PyPI

Warning This plugin is in development. No stability is guaranteed! Contributions welcome.

This provides a tool for building mdbook targets with pants. There is currently a single very simple rule:

md_book(
    name="my-docs",
    sources=["book.toml", "src/*"],
)
Argument Meaning Default value
name The target name Same as any other target, which is the directory name
sources Files included when building the book book.toml and the src directory
decsription A description of the target ""
tags List of tags []

Tool versions

The default is mdBook v0.5.4. The latest 0.4 release, v0.4.52, and existing historical versions remain selectable via --mdbook-version=v0.4.52 or [mdbook].version. The new versions include native Linux/macOS binaries for x86-64 and ARM64; retained older macOS ARM64 entries still use Rosetta.

When upgrading a book to mdBook 0.5, remove [book].multilingual from book.toml: that obsolete setting is now rejected. Select 0.4.52 if a book or preprocessor still requires the 0.4 series.

Metadata

Release files for pants-backend-mdbook 0.8.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 pants-backend-mdbook 0.8.0
File Size Uploaded
pants_backend_mdbook-0.8.0.tar.gz 6.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pants-backend-mdbook 0.8.0
File Interpreter ABI Platform
pants_backend_mdbook-0.8.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 15.3 kB

Release files / pants_backend_mdbook-0.8.0.tar.gz

Download URL pants_backend_mdbook-0.8.0.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ba7548494a5397c81fcac081ae365a8ce6293bec8d0be3e70038b0e9be5af5cf
BLAKE2b-256 checksum
How to use checksums
311ae6b37c368254ad7c4eaa43a1d1a5c4d90b03f10608622a8485e913d69365
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.23

Release files / pants_backend_mdbook-0.8.0-py2.py3-none-any.whl

Download URL pants_backend_mdbook-0.8.0-py2.py3-none-any.whl
Size 9.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
b2c69b2929e6a5adf7a3ff4d336011fa4b1f9350b3d90b202339c0a5eaf6cc06
BLAKE2b-256 checksum
How to use checksums
13017d0bfbac0190217380e3cccef5a0b3010accdf8efd8251878d691eeb1f96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.23

Release history Release notifications | RSS feed

This release

0.8.0 This release

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

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