Commit 340f1593 authored by Adam Fuksa's avatar Adam Fuksa

r #36970 auto run sphinx-apidoc

parent d7e8ba29
Pipeline #5226 passed with stages
in 52 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