diff --git a/sphinx_rtd_theme/breadcrumbs.html b/sphinx_rtd_theme/breadcrumbs.html index 7c2ce5c8..321f5450 100644 --- a/sphinx_rtd_theme/breadcrumbs.html +++ b/sphinx_rtd_theme/breadcrumbs.html @@ -6,6 +6,14 @@ {% set suffix = source_suffix %} {% endif %} +{% if meta is defined and 'github_url' in meta %} +{% set display_github = True %} +{% endif %} + +{% if meta is defined and 'bitbucket_url' in meta %} +{% set display_bitbucket = True %} +{% endif %} +