1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-06-18 14:26:09 +01:00

Documentation: Add support for generating common target api

This commit is contained in:
Marc Bonnici
2018-04-24 10:59:56 +01:00
committed by setrofim
parent f4b47bf65a
commit 81c6da9c2c
2 changed files with 40 additions and 4 deletions

@ -31,7 +31,8 @@ sys.path.insert(0, os.path.join(this_dir, '../..'))
import wa
from build_plugin_docs import (generate_plugin_documentation,
generate_run_config_documentation,
generate_meta_config_documentation)
generate_meta_config_documentation,
generate_target_documentation)
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
@ -318,6 +319,7 @@ def setup(app):
os.chdir(os.path.dirname(__file__))
app.connect('builder-inited', run_apidoc)
generate_plugin_documentation(module_dir, 'plugins', excluded_extensions)
generate_target_documentation('plugins')
generate_run_config_documentation('run_config')
generate_meta_config_documentation('run_config')
app.add_object_type('confval', 'confval',