File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 3030# tasks that won't have been run prior to building the docs on RTD
3131RTD_PRE_TASKS = ["build" , "docs:typedoc:mystify" , "docs:app:pack" ]
3232
33- RTD_POST_TASKS = ["docs:post:schema" , "docs:post:images" ]
34-
3533# metadata
3634author = 'Vassil Vassilev'
3735project = 'CppInterOp'
@@ -99,10 +97,10 @@ def before_rtd_build(app: Sphinx, error):
9997
10098def after_build (app : Sphinx , error ):
10199 """sphinx-jsonschema makes duplicate ids. clean them"""
102- do_tasks ( "post" , RTD_POST_TASKS )
100+ os . environ . update ( JLITE_DOCS_OUT = app . builder . outdir )
103101
104102
105103def setup (app ):
106104 app .connect ("build-finished" , after_build )
107105 if RTD :
108- app .connect ("config-inited" , before_rtd_build )
106+ app .connect ("config-inited" , before_rtd_build )
You can’t perform that action at this time.
0 commit comments