Skip to content

Commit 347381b

Browse files
authored
Update conf.py
1 parent 5dba02a commit 347381b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/conf.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@
3030
# tasks that won't have been run prior to building the docs on RTD
3131
RTD_PRE_TASKS = ["build", "docs:typedoc:mystify", "docs:app:pack"]
3232

33-
RTD_POST_TASKS = ["docs:post:schema", "docs:post:images"]
34-
3533
# metadata
3634
author = 'Vassil Vassilev'
3735
project = 'CppInterOp'
@@ -99,10 +97,10 @@ def before_rtd_build(app: Sphinx, error):
9997

10098
def 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

105103
def 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)

0 commit comments

Comments
 (0)