Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
readthedocs: Add proper backlink to the Zulip homepage.
Eeshan Gargef6582edb8d6
diff --git a/docs/_static/theme_overrides.css b/docs/_static/theme_overrides.cssindex 7418fa63ecf..321d76146cd 100644--- a/docs/_static/theme_overrides.css+++ b/docs/_static/theme_overrides.css@@ -9,3 +9,7 @@.wy-table-responsive {overflow: visible !important;}++.wy-side-nav-search > a.home-link {+ font-weight: 100;+}diff --git a/docs/_templates/layout.html b/docs/_templates/layout.htmlindex 5ead1c534f1..70dd02e8782 100644--- a/docs/_templates/layout.html+++ b/docs/_templates/layout.html@@ -1,4 +1,29 @@{% extends "!layout.html" %}++{% block sidebartitle %}+ {%- if logo and theme_logo_only %}+ <a href="{{ pathto(master_doc) }}">+ <img src="{{ pathto('_static/' + logo, 1) }}" class="logo" alt="{{ _('Logo') }}"/>+ </a>+ {%- endif %}++ {%- if theme_display_version %}+ {%- set nav_version = version %}+ {%- if READTHEDOCS and current_version %}+ {%- set nav_version = current_version %}+ {%- endif %}+ {%- if nav_version %}+ <div class="version">+ {{ nav_version }}+ </div>+ {%- endif %}+ {%- endif %}++ <a class="reference external home-link" href="https://zulip.com/">Zulip homepage</a>++ {%- include "searchbox.html" %}+{% endblock %}+{% block document %}{## This allows us to insert a warning that appears only on the developmentdiff --git a/tools/check-templates b/tools/check-templatesindex 0910d2594f9..ffd771bf72c 100755--- a/tools/check-templates+++ b/tools/check-templates@@ -26,6 +26,8 @@ EXCLUDED_FILES = ["templates/zerver/emails/missed_message.source.html",# Previously unchecked and our parser doesn't like its indentation"static/assets/icons/template.hbs",+ # The parser does not like the indentation of custom ReadTheDocs templates+ "docs/_templates/layout.html",]