# Options for HTML output ------------------------------------------------------ html_theme = "sphinx_ncs_theme" html_static_path = [str(NRF_BASE / "doc" / "_static")] html_last_updated_fmt = "%b %d, %Y" html_show_sourcelink = True html_show_sphinx = False html_theme_options = {"docsets": utils.get_docsets("nrfxlib")} # Options for intersphinx ------------------------------------------------------ intersphinx_mapping = dict() kconfig_mapping = utils.get_intersphinx_mapping("kconfig") if kconfig_mapping: intersphinx_mapping["kconfig"] = kconfig_mapping nrf_mapping = utils.get_intersphinx_mapping("nrf") if nrf_mapping: intersphinx_mapping["nrf"] = nrf_mapping # -- Options for doxyrunner plugin --------------------------------------------- doxyrunner_doxygen = os.environ.get("DOXYGEN_EXECUTABLE", "doxygen") doxyrunner_doxyfile = NRF_BASE / "doc" / "nrfxlib" / "nrfxlib.doxyfile.in" doxyrunner_outdir = NRFXLIB_BUILD / "doxygen" doxyrunner_fmt = True doxyrunner_fmt_vars = { "NRFXLIB_BASE": str(NRFXLIB_BASE),
# Options for HTML output ------------------------------------------------------ html_theme = "sphinx_ncs_theme" html_static_path = [str(NRF_BASE / "doc" / "_static")] html_last_updated_fmt = "%b %d, %Y" html_show_sourcelink = True html_show_sphinx = False html_theme_options = {"docsets": utils.get_docsets("nrf")} # Options for intersphinx ------------------------------------------------------ intersphinx_mapping = dict() zephyr_mapping = utils.get_intersphinx_mapping("zephyr") if zephyr_mapping: intersphinx_mapping["zephyr"] = zephyr_mapping mcuboot_mapping = utils.get_intersphinx_mapping("mcuboot") if mcuboot_mapping: intersphinx_mapping["mcuboot"] = mcuboot_mapping nrfxlib_mapping = utils.get_intersphinx_mapping("nrfxlib") if nrfxlib_mapping: intersphinx_mapping["nrfxlib"] = nrfxlib_mapping kconfig_mapping = utils.get_intersphinx_mapping("kconfig") if kconfig_mapping: intersphinx_mapping["kconfig"] = kconfig_mapping
# General configuration -------------------------------------------------------- project = "MCUboot" copyright = "2019-2021" version = release = "1.7.99" extensions = ["sphinx.ext.intersphinx", "recommonmark"] source_suffix = [".rst", ".md"] master_doc = "wrapper" linkcheck_ignore = [r"(\.\.(\\|/))+(kconfig|zephyr)"] # Options for HTML output ------------------------------------------------------ html_theme = "sphinx_ncs_theme" html_static_path = [str(NRF_BASE / "doc" / "static")] html_last_updated_fmt = "%b %d, %Y" html_show_sourcelink = True html_show_sphinx = False html_theme_options = {"docsets": utils.get_docsets("mcuboot")} # Options for intersphinx ------------------------------------------------------ intersphinx_mapping = {"kconfig": utils.get_intersphinx_mapping("kconfig")} def setup(app): app.add_css_file("css/common.css") app.add_css_file("css/mcuboot.css")
html_context = { 'show_license': html_show_license, 'docs_title': docs_title, 'is_release': is_release, } html_theme_options = { 'docsets': utils.get_docsets('zephyr'), 'default_docset': utils.get_default_docset(), } # Options for intersphinx ------------------------------------------------------ intersphinx_mapping = dict() kconfig_mapping = utils.get_intersphinx_mapping('kconfig') if kconfig_mapping: intersphinx_mapping['kconfig'] = kconfig_mapping devicetree_mapping = utils.get_intersphinx_mapping('devicetree') if devicetree_mapping: intersphinx_mapping['devicetree'] = devicetree_mapping # Options for zephyr.warnings_filter ------------------------------------------- warnings_filter_config = os.path.join(BRIDLE_ZEPHYR_BUILD, 'known-warnings.txt') # Options for external_content ------------------------------------------------- external_content_contents = [
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True. html_show_copyright = True # If true, license is shown in the HTML footer. Default is True. html_show_license = True html_theme_options = { 'docsets': utils.get_docsets('devicetree'), 'default_docset': utils.get_default_docset(), } # Options for intersphinx ------------------------------------------------------ intersphinx_mapping = dict() zephyr_mapping = utils.get_intersphinx_mapping('zephyr') if zephyr_mapping: intersphinx_mapping['zephyr'] = zephyr_mapping # Options for zephyr.external_content ------------------------------------------ external_content_directives = ( 'figure', 'image', 'include', 'literalinclude', ) external_content_contents = [ (BRIDLE_BASE / 'doc' / 'devicetree', '[!_]*'), ] external_content_keep = [