Univention Bugzilla – Bug 47758
(http-api) import can build Python API documentation in buildsystem
Last modified: 2019-04-01 00:52:25 CEST
Currently the internal documentation (package ucs-school-import-http-api-doc) will build empty Python API socumentation in the Univention buildsystem, because the ucsschool.lib and other software is not installed at build time. Additionally Django apps need import time configuration, which is currently not available during the sphinx-doc run. Modify the package in such a way, that the Python API documentation can build in the Univention buildsystem.
The required changes are: * initialize Django settings and app system * install import dependencies at build time * create a module path containing all ucsschool Python modules [dtroeder/47758_api_doc 6bf610417] Bug #47758: enable API doc building [dtroeder/47758_api_doc 7e1d60af4] Bug #47758: change not required, shell.py is now ignored by sphinx Changes were committed to git branch dtroeder/47758_api_doc.