diff --git a/docs/_templates/searchbox.html b/docs/_templates/searchbox.html new file mode 100644 index 0000000000..2b99f75d84 --- /dev/null +++ b/docs/_templates/searchbox.html @@ -0,0 +1,12 @@ +{%- if pagename != "search" %} +

Quick search

+ +{%- endif %} diff --git a/docs/_templates/sidebarpdf.html b/docs/_templates/sidebarpdf.html new file mode 100644 index 0000000000..87f1a9b125 --- /dev/null +++ b/docs/_templates/sidebarpdf.html @@ -0,0 +1,3 @@ +

Downloadable PDF

+Fuel Development Documentation diff --git a/docs/conf.py b/docs/conf.py index 8ad31891b1..6b8e67a366 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -147,7 +147,9 @@ html_theme_path = ["_templates"] #html_use_smartypants = True # Custom sidebar templates, maps document names to template names. -#html_sidebars = {} +html_sidebars = { + '**': ['localtoc.html', 'relations.html', 'sourcelink.html', 'sidebarpdf.html', 'searchbox.html'], +} # Additional templates that should be rendered to pages, maps page names to # template names.