2 ms·
Make Python Doc Executable
- BiteCode_dev 3y agoJust noticed that pydantic made their doc executable (https://docs.pydantic.dev/latest/ https://docs.pydantic.dev/latest/). Following the JS, I was expecting pyodide to be used, and it was: view-source: https://samuelcolvin.github.io/mkdocs-run-code/run_code_main.js https://samuelcolvin.github.io/mkdocs-run-code/run_code_main... But on top of it, it's wrapped in this project specially made for mkdocs (an alternative to sphinx). Very cool.