From 8bf52c22403e18212dec9fcb7418ab64afdab3c8 Mon Sep 17 00:00:00 2001 From: Ben Moore Date: Tue, 7 May 2024 06:45:07 -0700 Subject: [PATCH] Update conf.py (#1823) --- doc/daal4py/conf.py | 25 +++++-------------------- 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/doc/daal4py/conf.py b/doc/daal4py/conf.py index d4007e1fcf..7ac6e6b695 100644 --- a/doc/daal4py/conf.py +++ b/doc/daal4py/conf.py @@ -75,20 +75,11 @@ # The master toctree document. master_doc = "contents" -# The language for content autogenerated by Sphinx. Refer to documentation -# for a list of supported languages. -# -# This is also used if you do content translation via gettext catalogs. -# Usually you set "language" from the command line for these cases. -language = "en" - # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. # This pattern also affects html_static_path and html_extra_path . -exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] +exclude_patterns = ["_build", "Thumbs.db", ".DS_Store","note.rst"] -# The name of the Pygments (syntax highlighting) style to use. -pygments_style = "sphinx" # -- Options for HTML output ------------------------------------------------- @@ -97,10 +88,7 @@ # # html_theme = 'alabaster' html_theme = "sphinx_rtd_theme" -html_theme_options = { - "sidebarwidth": 30, - "nosidebar": False, -} + # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the @@ -112,8 +100,7 @@ # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". html_static_path = ["_static"] - -html_context = {"css_files": ["_static/style.css"]} +html_css_files = ["style.css"] # Custom sidebar templates, must be a dictionary that maps document names @@ -125,9 +112,7 @@ # 'searchbox.html']``. # # html_sidebars = {} -html_sidebars = { - "**": ["globaltoc.html", "relations.html", "sourcelink.html", "searchbox.html"] -} + # -- Options for HTMLHelp output --------------------------------------------- @@ -193,4 +178,4 @@ # If true, `todo` and `todoList` produce output, else they produce nothing. todo_include_todos = True -exclude_patterns = exclude_patterns + ["note.rst"] +