Commit c9cde427 authored by Jerzy Grynczewski's avatar Jerzy Grynczewski

#36970 Merge branch 'feature/36970_docs_at_readthedocs' into 'development'

#36970 auto run autodoc

See merge request !7
parents d7e8ba29 340f1593
Pipeline #5292 passed with stages
in 45 seconds
......@@ -286,3 +286,13 @@ texinfo_documents = [
# If true, do not generate a @detailmenu in the "Top" node's menu.
#texinfo_no_detailmenu = False
import subprocess
def run_apidoc(_):
subprocess.check_call(['sphinx-apidoc', '--separate', '-o', 'docs/apidoc', '../obci_readmanager', '--force'])
def setup(app):
app.connect('builder-inited', run_apidoc)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment