diff --git a/doc/source/_templates/custom_examples.html b/doc/source/_templates/custom_examples.html new file mode 100644 index 0000000000..7777fd90d0 --- /dev/null +++ b/doc/source/_templates/custom_examples.html @@ -0,0 +1,36 @@ + + + + \ No newline at end of file diff --git a/doc/source/conf.py b/doc/source/conf.py index 4042e35481..de6d6e861c 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -108,7 +108,7 @@ autodoc_mock_imports = ["ansys.dpf.core.examples.python_plugins"] # Add any paths that contain templates here, relative to this directory. -# templates_path = ['_templates'] +templates_path = ['_templates'] # The suffix(es) of source filenames. # You can specify multiple suffix as a list of string: @@ -237,7 +237,9 @@ def reset_servers(gallery_conf, fname, when): # # html_sidebars = {} -html_sidebars = {"testing": []} +html_sidebars = {"testing": [], + "examples/**": ["custom_examples"], + } # -- Options for HTMLHelp output ---------------------------------------------