diff --git a/doc/source/_templates/sidebar/brand.html b/doc/source/_templates/sidebar/brand.html new file mode 100644 index 00000000..c24d36f2 --- /dev/null +++ b/doc/source/_templates/sidebar/brand.html @@ -0,0 +1,22 @@ + +{%- if READTHEDOCS %} +
+{%- endif %} diff --git a/doc/source/conf.py b/doc/source/conf.py index 1a32665f..a1a64b28 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -140,6 +140,9 @@ if os_rtd: 'light_logo': 'modules_red.svg', 'dark_logo': 'modules_white.svg', } + html_context = { + 'READTHEDOCS': True, + } # The name of an image file (relative to this directory) to place at the top # of the sidebar.