tree: dd338875624aad10e913f120848b3eb2ee8679f0 [path history] [tgz]
  1. coral_theme/
  2. conf.py
  3. edgetpu.basic.basic_engine.rst
  4. edgetpu.basic.edgetpu_utils.rst
  5. edgetpu.classification.engine.rst
  6. edgetpu.detection.engine.rst
  7. edgetpu.learn.backprop.softmax_regression.rst
  8. edgetpu.learn.imprinting.engine.rst
  9. edgetpu.utils.image_processing.rst
  10. index.rst
  11. README.md
  12. requirements.txt
docs/README.md

This directory holds the source files required to build the Edge TPU reference with Sphinx.

You can build these docs locally with the docs make target. Of course, this requires that you install Sphinx and other Python dependencies:

# We require Python3, so if that's not your default, first start a virtual environment:
python3 -m venv ~/.my_venvs/coraldocs
source ~/.my_venvs/coraldocs/bin/activate

# Navigate to the edgetpu/ directory (parent of docs/) and run these commands...

# Install the doc build dependencies:
pip install -r docs/requirements.txt

# Build the docs for local viewing (in "read the docs" style):
sphinx-build -b html docs/ docs/_build/html -D html_theme="sphinx_rtd_theme" -D html_file_suffix=".html" -D html_link_suffix=".html"

# Build the docs for the coral website (with .md files)
sphinx-build -b html docs/ docs/_build/html

# Clean the output for a fresh build:
rm -rf docs/_build

The results are output in python-tflite-source/docs/_build/html/.

For more information about the syntax in these RST files, see the reStructuredText documentation.