[doc] Add API documentation

for reference:

sphinx-apidoc -o src/ ../ ../bumblebee-status ../bumblebee-ctl ../tests
This commit is contained in:
tobi-wan-kenobi 2020-05-04 20:27:11 +02:00
parent 7aa201dd30
commit 0b7f61b62e
6 changed files with 162 additions and 1 deletions

View file

@ -21,13 +21,16 @@ project = "bumblebee-status"
copyright = "2020, tobi-wan-kenobi"
author = "tobi-wan-kenobi"
import os
import sys
sys.path.insert(0, os.path.abspath('..'))
# -- General configuration ---------------------------------------------------
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = []
extensions = ["sphinx.ext.autodoc"]
# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]