PyReact documentation structure
PyReact uses Sphinx and MyST to publish its English documentation on Read the Docs.
Main files
.readthedocs.yamldefines the Read the Docs v2 environment.docs/conf.pyconfigures Sphinx, the theme, extensions, and metadata.docs/requirements.txtcontains documentation-only dependencies.docs/index.rstis the documentation home page and main table of contents.README.mdprovides the repository overview and quick start.
Published sections
Getting Started: installation, quick start, and tutorial.
Core Concepts: components, props, state, events, and lifecycle.
Advanced: server-side rendering, routing, styling, and testing.
API Reference: elements, components, hooks, and CLI.
Resources: FAQ, changelog, and contributing guide.
Operational Markdown guides cover automatic PyPI publishing, local execution and testing, and the 1.0.5 correction report.
Build locally
python -m pip install -r docs/requirements.txt
python -m pip install -e .
sphinx-build -W --keep-going -b html docs docs/_build/html
Open docs/_build/html/index.html to inspect the result.
Publish on Read the Docs
Sign in to Read the Docs with GitHub.
Import the
wanbnn/pyreactrepository.Keep English as the project language.
Build the
latestversion.
Read the Docs detects .readthedocs.yaml, installs the declared requirements
and package, builds from docs/conf.py, and publishes the result at
https://pyreact-framework.readthedocs.io/.
Automatic builds can be enabled for pull requests and pushes from the project admin panel.