reactpy/docs/README.md
Kian-Meng Ang 4f98dcf3a1
Fix typos (#1007)
* Fix typos

Found via:
- `codespell -S package-lock.json -L inflight,ue,falsy`
- `typos --format brief`

* fix capitalization

* fix capitalization

* fix capitalization

---------

Co-authored-by: Ryan Morshead <ryan.morshead@gmail.com>
2023-06-05 23:03:13 -07:00

791 B

ReactPy's Documentation

We provide two main ways to run the docs. Both use nox:

  • nox -s docs - displays the docs and rebuilds when files are modified.
  • nox -s docs-in-docker - builds a docker image and runs the docs from there.

If any changes to the core of the documentation are made (i.e. to non-*.rst files), then you should run a manual test of the documentation using the docs_in_docker session.

If you wish to build and run the docs by hand you need to perform two commands, each being run from the root of the repository:

  • sphinx-build -b html docs/source docs/build
  • python scripts/run_docs.py

The first command constructs the static HTML and any Javascript. The latter actually runs the web server that serves the content.