2017-06-27 18:17:30 -04:00
|
|
|
Adafruit's CircuitPython Documentation
|
2015-10-31 20:46:19 -04:00
|
|
|
=========================
|
|
|
|
|
2016-10-18 20:42:47 -04:00
|
|
|
The latest documentation can be found at:
|
2017-06-27 18:17:30 -04:00
|
|
|
http://circuitpython.readthedocs.io/en/latest/
|
2015-10-31 20:46:19 -04:00
|
|
|
|
2016-10-18 20:42:47 -04:00
|
|
|
The documentation you see there is generated from the files in the whole tree:
|
2017-06-27 18:17:30 -04:00
|
|
|
https://github.com/adafruit/circuitpython/tree/master
|
2015-10-31 20:46:19 -04:00
|
|
|
|
|
|
|
Building the documentation locally
|
|
|
|
----------------------------------
|
|
|
|
|
2016-10-18 20:42:47 -04:00
|
|
|
If you're making changes to the documentation, you should build the
|
2015-10-31 20:46:19 -04:00
|
|
|
documentation locally so that you can preview your changes.
|
|
|
|
|
2017-08-16 18:23:42 -04:00
|
|
|
Install Sphinx, recommonmark, and optionally (for the RTD-styling), sphinx_rtd_theme,
|
2015-10-31 20:46:19 -04:00
|
|
|
preferably in a virtualenv:
|
|
|
|
|
|
|
|
pip install sphinx
|
2017-08-16 18:23:42 -04:00
|
|
|
pip install recommonmark
|
2015-10-31 20:46:19 -04:00
|
|
|
pip install sphinx_rtd_theme
|
|
|
|
|
2017-06-27 18:17:30 -04:00
|
|
|
In `circuitpython/`, build the docs:
|
2015-10-31 20:46:19 -04:00
|
|
|
|
2016-10-18 20:42:47 -04:00
|
|
|
sphinx-build -v -b html . _build/html
|
2015-10-31 20:46:19 -04:00
|
|
|
|
2017-06-27 18:17:30 -04:00
|
|
|
You'll find the index page at `_build/html/index.html`.
|