# If true, the current module name will be prepended to all description # unit titles (such as .. function::). #add_module_names = True # If true, sectionauthor and moduleauthor directives will be shown in the # output. They are ignored by default. #show_authors = False # The name of the Pygments (syntax highlighting) style to use. pygments_style = 'sphinx' # Additional lexer for Pygments (syntax highlighting) from lexer.DtsLexer import DtsLexer from sphinx.highlighting import lexers lexers['DTS'] = DtsLexer() # A list of ignored prefixes for module index sorting. #modindex_common_prefix = [] # If true, keep warnings as "system message" paragraphs in the built documents. #keep_warnings = False # If true, `todo` and `todoList` produce output, else they produce nothing. todo_include_todos = False rst_epilog = """ .. include:: /substitutions.txt """ # -- Options for HTML output ----------------------------------------------
if not west_found: exclude_patterns.append("**/*west-apis*") else: exclude_patterns.append("**/*west-not-found*") # This change will allow us to use bare back-tick notation to let # Sphinx hunt for a reference, starting with normal "document" # references such as :ref:, but also including :c: and :cpp: domains # (potentially) helping with API (doxygen) references simply by using # `name` default_role = "any" pygments_style = "sphinx" lexers["DTS"] = DtsLexer() todo_include_todos = False rst_epilog = """ .. include:: /substitutions.txt """ # -- Options for HTML output ---------------------------------------------- html_theme = "sphinx_rtd_theme" html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] html_theme_options = {"prev_next_buttons_location": None} html_title = "Zephyr Project Documentation" html_logo = "_static/images/logo.svg" html_favicon = "images/zp_favicon.png"