Metadata-Version: 2.4
Name: artoo-mermaid
Version: 11.16.0
Summary: Mermaid diagrams as an artoo site library: pinned mermaid.min.js, vendored offline into artifacts.
Project-URL: Homepage, https://github.com/lavallee/artoo-mermaid
Project-URL: Repository, https://github.com/lavallee/artoo-mermaid
Author: Marc Lavallee
License: MIT
License-File: LICENSE
Keywords: artoo,diagrams,mermaid,site-library
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Python: >=3.12
Requires-Dist: artoo-artifacts>=0.1
Description-Content-Type: text/markdown

# artoo-mermaid

[Mermaid](https://mermaid.js.org) diagrams as an
[artoo](https://github.com/lavallee/artoo) site library.

Installing this package makes a pinned `mermaid.min.js` available to every
artoo artifact on the machine:

```bash
uv tool install artoo-artifacts --with artoo-mermaid

artoo lib list            # …  mermaid  11.16.0
artoo lib add mermaid     # vendors it into <artifact>/site/lib/mermaid/
```

The artoo explainer generator uses it automatically when present, instead
of downloading Mermaid from a CDN at generate time. Diagrams then render
offline, from the artifact's own files, forever — and upgrade only when
you run `artoo lib update mermaid` against a newer release of this package.

The package version tracks the bundled Mermaid version (currently
**11.16.0**). Asset provenance (source URL + sha256) is recorded in
[`NOTICE.md`](src/artoo_mermaid/assets/NOTICE.md) and in each artifact's
manifest when vendored.

This repo is deliberately tiny: it exists to be the reference example of
an **external artoo site library** — a separately-versioned repo exposing
assets through the `artoo.libraries` entry point.

MIT licensed (as is Mermaid itself).
