diff --git a/docs/_templates/breadcrumbs.html b/docs/_templates/breadcrumbs.html
new file mode 100644
index 000000000..3f2126902
--- /dev/null
+++ b/docs/_templates/breadcrumbs.html
@@ -0,0 +1,7 @@
+{%- extends "sphinx_rtd_theme/breadcrumbs.html" %}
+
+{% block breadcrumbs_aside %}
+{% if not meta or meta.get('github_url') != 'hide' %}
+{{ super() }}
+{% endif %}
+{% endblock %}
\ No newline at end of file
diff --git a/docs/templates/apidoc/module.rst_t b/docs/templates/apidoc/module.rst_t
index 4348048e8..1584328c4 100644
--- a/docs/templates/apidoc/module.rst_t
+++ b/docs/templates/apidoc/module.rst_t
@@ -1,3 +1,6 @@
+:github_url: hide
+{{"\n"}}
+
{%- if show_headings %}
{{- basename | e | heading }}
diff --git a/docs/templates/apidoc/package.rst_t b/docs/templates/apidoc/package.rst_t
index 2bcb14601..09907a616 100644
--- a/docs/templates/apidoc/package.rst_t
+++ b/docs/templates/apidoc/package.rst_t
@@ -1,3 +1,6 @@
+:github_url: hide
+{{"\n"}}
+
{%- macro automodule(modname, options) -%}
.. automodule:: {{ modname }}
{%- for option in options %}
diff --git a/docs/templates/apidoc/toc.rst_t b/docs/templates/apidoc/toc.rst_t
index f0877eeb2..6c8e35a50 100644
--- a/docs/templates/apidoc/toc.rst_t
+++ b/docs/templates/apidoc/toc.rst_t
@@ -1,3 +1,6 @@
+:github_url: hide
+{{"\n"}}
+
{{ header | heading }}
.. toctree::