Skip to content

Conversation

@ntoll
Copy link
Member

@ntoll ntoll commented Dec 4, 2025

This PR introduces a few changes to allow the API docs to be automatically generated from the referenced release of PyScript.

  • Update to mkdocs versions.
  • Add mkdocstring support (autogenerates markdown from Python modules).
  • Update the api.md file to reference the Python module structure.
  • Update version-update.js by adding synchronous downloading of the referenced PyScript release, extraction of the pyscript namesapce, and clean-up of the zip.
  • Create a pyscript directory populated with the proposed pyscript namespace (a work in progress here: pyscript API/docstring refactor with comprehensive tests pyscript#2414)

This is a draft PR since further work is likely to be stacked on top of it (we don't want to merge until all the work is complete, otherwise the current website is automatically updated).

@WebReflection
Copy link
Contributor

I went through these changes and I would approve if this wasn't still a WIP

@ntoll ntoll marked this pull request as ready for review December 10, 2025 11:43
@ntoll
Copy link
Member Author

ntoll commented Dec 10, 2025

Apologies... ready for review. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants