# -- Options for intersphinx extension ---------------------------------------
intersphinx_mapping = {
############################################################################
# CUSTOM CONFIGURATIONS ADDED BY THE NWB TOOL FOR GENERATING FORMAT DOCS
###########################################################################
import sphinx_rtd_theme # noqa: E402
import textwrap # noqa: E402
# -- Options for intersphinx ---------------------------------------------
intersphinx_mapping = {'core': ('https://nwb-schema.readthedocs.io/en/latest/', None)}
Note the syntax error at intersphinx_mapping = {. This is due to the (hacky) file cleaning in init_sphinx_extension_doc.py. It looks like much of this cleaning code can be removed and/or replaced.
This whole script should probably be cleaned up, but that is a separate, larger issue.
The generated
conf.py
includes the following:Note the syntax error at
intersphinx_mapping = {
. This is due to the (hacky) file cleaning ininit_sphinx_extension_doc.py
. It looks like much of this cleaning code can be removed and/or replaced.This whole script should probably be cleaned up, but that is a separate, larger issue.