docs: update "How it works" diagram with details of Android, iOS, and Pyodide builds (#2816)

* Update diagram with details of Android, iOS, and Pyodide builds

* Update diagram as well

* Simplify

Co-Authored-By: Malcolm Smith <smith@chaquo.com>

* Improve WCAG for some text elements

* Update diagram snapshot

* Modernise image generation script and rerun

---------

Co-authored-by: Malcolm Smith <smith@chaquo.com>
Co-authored-by: Joe Rickerby <joerick@mac.com>
This commit is contained in:
Agriya Khetarpal
2026-04-10 13:09:28 -04:00
committed by GitHub
co-authored by Malcolm Smith Joe Rickerby
parent a42e5d3563
commit 1d5d9be23f
4 changed files with 141 additions and 60 deletions
+12
View File
@@ -184,6 +184,18 @@ def docs(session: nox.Session) -> None:
session.run("mkdocs", "serve" if session.interactive else "build", "--strict", *session.posargs)
@nox.session(default=False)
def update_how_it_works_image(session: nox.Session) -> None:
"""
Generate the how it works image.
"""
pyproject = nox.project.load_toml()
session.install("-e.", *nox.project.dependency_groups(pyproject, "docs"))
session.install("playwright")
session.run("playwright", "install", "chromium")
session.run("python", "bin/update_how_it_works_image.py")
@nox.session(default=False)
def build(session: nox.Session) -> None:
"""