mirror of
https://github.com/CopterExpress/clever-show.git
synced 2026-05-26 07:07:58 +00:00
docs: changed api docs summary
This commit is contained in:
@@ -3,6 +3,7 @@ import sys
|
|||||||
import pydoc
|
import pydoc
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
|
|
||||||
class DocsGenerator:
|
class DocsGenerator:
|
||||||
def __init__(self,
|
def __init__(self,
|
||||||
module_header="# Module {}",
|
module_header="# Module {}",
|
||||||
@@ -134,6 +135,9 @@ if __name__ == '__main__':
|
|||||||
"drone.modules.client_core",
|
"drone.modules.client_core",
|
||||||
]
|
]
|
||||||
|
|
||||||
gen = DocsGenerator()
|
gen = DocsGenerator(contents_table_header="# API documentation\n"
|
||||||
|
"`clever-show` can be modified or used as set of modules to repurpose the software or implement different behaviors, expand functionality.\n"
|
||||||
|
"> Please note, following documentation files were automatically generated from the source code\n"
|
||||||
|
"## Table of contents")
|
||||||
doc_path = os.path.realpath(os.path.join(current_dir, os.pardir, os.pardir, "docs", "en", "api"))
|
doc_path = os.path.realpath(os.path.join(current_dir, os.pardir, os.pardir, "docs", "en", "api"))
|
||||||
gen.generate_docs(modules_list, doc_path)
|
gen.generate_docs(modules_list, doc_path)
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
# API documentation
|
# API documentation
|
||||||
|
|
||||||
`clever-show` can be modified or used as set of modules to repurpose the software or implement different behaviors, expand functionality.
|
`clever-show` can be modified or used as set of modules to repurpose the software or implement different behaviors, expand functionality.
|
||||||
|
|
||||||
> Please note, following documentation files were automatically generated from the source code
|
> Please note, following documentation files were automatically generated from the source code
|
||||||
|
|||||||
Reference in New Issue
Block a user