pre-commit was leaking into `requires_dist` since v0.24.2 because the
dev deps were declared under [tool.poetry.group.dev.dependencies] while
the build backend is hatchling. Some versions of hatchling/pip treat
[tool.poetry.group.*.dependencies] as optional/extra dependencies,
causing pre-commit (and its transitive deps) to be installed as a
runtime requirement for all users of the library.
Replace [tool.poetry.group.dev.dependencies] with a proper
[tool.hatch.envs.dev.dependencies] section, which is the native way to
declare development-only dependencies when using hatchling as the build
backend. These entries are never included in the wheel's metadata, so
they will not appear in `requires_dist` or in `pip show diagrams`.
Fixes#1193
Docusaurus 1.x has no config hook for arbitrary <head> tags, and the
verifier reads the served HTML without running JS, so the homepage tag is
injected during the deploy assemble step. The playground ships it in its
own index.html, in case /playground/ is registered as a separate property.
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
The playground had no page copy for search engines to match: the title
said "Diagram as Code in your browser" and the app itself is a tool UI
with almost no prose, so queries like "python diagrams online" had
nothing to rank against.
- Retitle to "Diagrams Playground — Online Python Diagram Editor" and
rewrite the description around what people actually search for
- Add WebApplication structured data (free, browser-based dev tool)
- Add a docs page, Online Playground, with real content about the tool,
linking to it and back to the installation guide
- Use descriptive anchor text ("online playground") in the README and docs
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Search engines and social crawlers previously saw an empty page: the
playground shipped a bare <div id="root"> with no description, canonical,
or Open Graph tags — so shared links (the playground's own core feature)
rendered without a preview card.
- Add meta description, canonical URL, and Open Graph / Twitter cards
with a generated 1200x630 preview image
- Ship static fallback content inside #root, replaced by React on mount,
so crawlers and card bots (which never run JS) read real content
- Promote the app title to a proper <h1>
- Register /playground/ in the sitemap during deploy
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
A browser-based playground for the diagrams library: write Python, see
the rendered diagram instantly. Runs the real diagrams package
client-side via Pyodide (WASM) — fully static, no backend.
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Upstream ships this icon as promethus.svg, so the generated class inherits
the misspelling. Adding the alias now keeps the correct spelling available
without a breaking rename later.
The note in autogen.sh saying the Azure set is out of date no longer
applies now that the icons have been refreshed.
autogen.sh copies resources/ into website/static/img/ and that copy is
tracked in the repo, so the docs site serves icons from there. Without it
the 71 new entries in docs/nodes/azure.md point at files that do not exist
and render as broken images.
The diagram image doesn't show correctly.
There is a typo in the image URI.
Instead of `/img/advanced_web_service_with_on-premise_colored.png` should be
`/img/advanced_web_service_with_on-premises_colored.png`
Update all Azure service icons from the latest Microsoft Azure Architecture
Icons package (https://learn.microsoft.com/en-us/azure/architecture/icons/).
Changes:
- Updated 632 existing icons with latest designs
- Added 71 new icons across categories (compute, identity, networking, etc.)
- Regenerated Python modules and documentation
New service classes include: AksAutomatic, ComputeFleet,
ContentSafety, ManagedDevopsPools, EntraConnectHealth,
ApplicationGatewayContainers, ServiceGroupRelationships, and more.
* Initial plan
* Initial plan for removing pre-commit from main dependencies
Co-authored-by: mingrammer <6178510+mingrammer@users.noreply.github.com>
* Remove pre-commit from main dependencies and clean up test artifacts
Co-authored-by: mingrammer <6178510+mingrammer@users.noreply.github.com>
* Move pre-commit to dev dependencies and revert .gitignore changes
Co-authored-by: mingrammer <6178510+mingrammer@users.noreply.github.com>
* Update poetry.lock to reflect dependency changes
Co-authored-by: mingrammer <6178510+mingrammer@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: mingrammer <6178510+mingrammer@users.noreply.github.com>
- Add Azure_Icons to v18
- Update Contributing.md file to include Azure specific instructions
- Add DevContainer.json file to make further development easier
- Thanks @rfernandezdo for the initial v12 commit and approach