diff --git a/build-docs.sh b/build-docs.sh index 77d499420c338851dd56b2f891faf0e389b9531c..523d06c1e807d586d59588013cc9dc58ea086408 100755 --- a/build-docs.sh +++ b/build-docs.sh @@ -1,3 +1,4 @@ python docs/dump-openapi-spec.py +sphinx-apidoc lso lso/app.py -o docs/source -d 2 -f sphinx-build -b html docs/source docs/build diff --git a/docs/source/conf.py b/docs/source/conf.py index 5623743a1340df6e31d3733d5346ec05e54e21c1..b499e94afbc69c650f0c03b17e7fd37d4b0597ea 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -19,7 +19,7 @@ import sys sys.path.insert(0, os.path.abspath( os.path.join( os.path.dirname(__file__), - '..', '..', 'resource_management'))) + '..', '..', 'lso'))) class RenderAsJSON(Directive): diff --git a/docs/source/index.rst b/docs/source/index.rst index 74ff58efdc4f0a220c0ed102169e23c709510b06..85ec42161861bffb8816bc46a966b37699bb1278 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -8,6 +8,7 @@ Documentation for LSO: a Lightweight Service Orchestrator :caption: Contents: quickstart + modules `Swagger API Docs <_static/openapi.html>`__ diff --git a/lso/config.py b/lso/config.py index 2ad71a1c9aa864c3bdf692dab825f6d5aed0fe25..1cd2c02255eefe82977fa049e6debfafae99983a 100644 --- a/lso/config.py +++ b/lso/config.py @@ -40,7 +40,7 @@ def load_from_file(file): Input is validated against this jsonschema: - .. asjson:: resource_management.config.CONFIG_SCHEMA + .. asjson:: lso.config.CONFIG_SCHEMA :param file: file-like object that produces the config file :return: a dict containing the parsed configuration parameters