DOC: render qrules transitions with Mermaid - #586
Merged
Merged
Conversation
Bumps the lock group with 6 updates: | Package | From | To | | --- | --- | --- | | [https://github.com/ComPWA/policy](https://github.com/ComPWA/policy) | `0.9.6` | `0.9.7` | | [https://github.com/astral-sh/ruff-pre-commit](https://github.com/astral-sh/ruff-pre-commit) | `v0.16.5` | `0.16.6` | | [https://github.com/tombi-toml/tombi-pre-commit](https://github.com/tombi-toml/tombi-pre-commit) | `v1.5.0` | `1.5.2` | | [https://github.com/streetsidesoftware/cspell-cli](https://github.com/streetsidesoftware/cspell-cli) | `v10.1.0` | `10.2.0` | | [https://github.com/astral-sh/ty-pre-commit](https://github.com/astral-sh/ty-pre-commit) | `v0.0.77` | `0.0.78` | | [https://github.com/astral-sh/uv-pre-commit](https://github.com/astral-sh/uv-pre-commit) | `0.12.8` | `0.12.10` | Updates `https://github.com/ComPWA/policy` from 0.9.6 to 0.9.7 - [Release notes](https://github.com/ComPWA/policy/releases) - [Commits](ComPWA/policy@0.9.6...0.9.7) Updates `https://github.com/astral-sh/ruff-pre-commit` from v0.16.5 to 0.16.6 - [Release notes](https://github.com/astral-sh/ruff-pre-commit/releases) - [Commits](astral-sh/ruff-pre-commit@v0.16.5...v0.16.6) Updates `https://github.com/tombi-toml/tombi-pre-commit` from v1.5.0 to 1.5.2 - [Release notes](https://github.com/tombi-toml/tombi-pre-commit/releases) - [Commits](tombi-toml/tombi-pre-commit@v1.5.0...v1.5.2) Updates `https://github.com/streetsidesoftware/cspell-cli` from v10.1.0 to 10.2.0 - [Release notes](https://github.com/streetsidesoftware/cspell-cli/releases) - [Changelog](https://github.com/streetsidesoftware/cspell-cli/blob/main/CHANGELOG.md) - [Commits](streetsidesoftware/cspell-cli@v10.1.0...v10.2.0) Updates `https://github.com/astral-sh/ty-pre-commit` from v0.0.77 to 0.0.78 - [Release notes](https://github.com/astral-sh/ty-pre-commit/releases) - [Commits](astral-sh/ty-pre-commit@v0.0.77...v0.0.78) Updates `https://github.com/astral-sh/uv-pre-commit` from 0.12.8 to 0.12.10 - [Release notes](https://github.com/astral-sh/uv-pre-commit/releases) - [Commits](astral-sh/uv-pre-commit@0.12.8...0.12.10) --- updated-dependencies: - dependency-name: https://github.com/ComPWA/policy dependency-version: 0.9.7 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: lock - dependency-name: https://github.com/astral-sh/ruff-pre-commit dependency-version: 0.16.6 dependency-type: direct:production dependency-group: lock - dependency-name: https://github.com/tombi-toml/tombi-pre-commit dependency-version: 1.5.2 dependency-type: direct:production dependency-group: lock - dependency-name: https://github.com/streetsidesoftware/cspell-cli dependency-version: 10.2.0 dependency-type: direct:production dependency-group: lock - dependency-name: https://github.com/astral-sh/ty-pre-commit dependency-version: 0.0.78 dependency-type: direct:production dependency-group: lock - dependency-name: https://github.com/astral-sh/uv-pre-commit dependency-version: 0.12.10 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: lock ... Signed-off-by: dependabot[bot] <support@github.com>
redeboer
marked this pull request as draft
September 9, 2026 18:44
redeboer
self-requested a review
September 9, 2026 19:30
redeboer
approved these changes
Sep 10, 2026
redeboer
marked this pull request as ready for review
September 10, 2026 10:16
redeboer
enabled auto-merge (squash)
September 10, 2026 10:16
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
pytest-describe#588📝 Documentation
qrulestransition graphs indocs/amplitude-analysis.ipynbanddocs/amplitude-analysis/analytic-continuation.ipynbare now rendered withqrules.io.asmermaid()andIPython.display.Markdowninstead ofqrules.io.asdot()andgraphviz.Source. Sphinx picks the diagrams up throughsphinxcontrib-mermaidwithmyst_fence_as_directive = ["mermaid"]andnb_render_markdown_format = "myst". Amermaid_init_configand a newdocs/_static/mermaid.csskeep the diagrams at their natural size and give edge labels a solid background. Graphviz remains a system dependency, becausesympy.dotprint()expression trees have no Mermaid equivalent.sp.multiline_latex()rendered as Erroneous nesting of equation structures under MathJax 4, which Sphinx 8.2 loads by default:align*andeqnarraymay not be nested inside theequation/splitwrapper that Sphinx andIPython.display.Mathproduce.docs/usage.ipynb,docs/usage/binned-fit.ipynbanddocs/usage/caching.ipynbnow useampform.io.aslatex(), which renders into the legalalignedenvironment.🖱️ Developer experience
pytest-describe:Test*classes and flattest_*functions are replaced bydescribe_<unit>()blocks whose cases areit_<behavior>()functions, so that a node ID such astests/data/test_transform.py::describe_SympyDataTransformer::it_caches_the_lambdified_functionnames both the unit under test and the behavior that broke. Nesteddescribe_*blocks host fixtures that are shared by one group of cases only, which removes set-up that was copy-pasted between test functions.test_gradient.py,test_minuit.pyandtest_scipy.pyshare are collected in a newtests/optimizer/__init__.py.🔨 Maintenance
docs/conf.pyno longer filters the redundantRemovedInSphinx10Warning.Squash commit messages