Skip to content

Documentation maintenance

The site uses Astro, Starlight, and starlight-pydocs. The generated API pages are extracted from the checked-out pysparky source with Griffe 2.4.1 and link to the commit used by the build. No Spark session is started to build the API reference.

From the repository root, install the pinned tools and dependencies, then build and validate the static output:

Terminal window
mise install
mise run docs:install
mise run docs:check

mise run docs:serve starts the local development server. GitHub Actions runs the same build and output validation on pull requests and pushes to main. Pushes to main publish a validated Pages artifact; a workflow dispatch from main is available for manual redeployment.

The original MkDocs page paths are retained under the repository’s GitHub Pages base URL. The generated package reference is an additional route at /api/pysparky/; its symbol catalog, Sphinx inventory, llms.txt, and Markdown representations are produced during the build.

The original Markdown and MkDocs configuration are retained in Git history. The maintained documentation source is under src/content/docs/.