We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f23b079 commit 4ff4116Copy full SHA for 4ff4116
autoapi/extension.py
@@ -141,6 +141,10 @@ def run_autoapi(app):
141
if app.config.autoapi_generate_api_docs:
142
sphinx_mapper_obj.output_rst(source_suffix=out_suffix)
143
144
+ # This function cannot be pickled into the Sphinx cache, so clear it.
145
+ # We won't need access to it again until a full rebuild is done anyway.
146
+ app.config.autoapi_prepare_jinja_env = None
147
+
148
149
def build_finished(app, exception):
150
if not app.config.autoapi_keep_files and app.config.autoapi_generate_api_docs:
docs/changes/445.bugfix
@@ -0,0 +1 @@
1
+Fix unpickable configuration value warning when using autoapi_prepare_jinja_env
0 commit comments