Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

docs: Move homepage link to TOC tree.

Anders Kaseorg7b47b6a311df
diff --git a/docs/_static/theme_overrides.css b/docs/_static/theme_overrides.css
index 321d76146cd..7418fa63ecf 100644
--- a/docs/_static/theme_overrides.css
+++ b/docs/_static/theme_overrides.css
@@ -9,7 +9,3 @@
.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.html
index 5b9bb76422e..d3379e5edee 100644
--- a/docs/_templates/layout.html
+++ b/docs/_templates/layout.html
@@ -1,29 +1,5 @@
{% extends "!layout.html" %}
-{% block sidebartitle %}
- {%- if logo and theme_logo_only %}
- <a href="{{ pathto(root_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 development
diff --git a/docs/index.md b/docs/index.md
index 6242812e74f..3b4a85f9d99 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -42,6 +42,7 @@ Contents:
maxdepth: 3
---
+Zulip homepage <https://zulip.com/>
overview/index
```
diff --git a/tools/check-templates b/tools/check-templates
index b97db2a8b13..342e5adb7a3 100755
--- a/tools/check-templates
+++ b/tools/check-templates
@@ -28,8 +28,6 @@ EXCLUDED_FILES = [
"web/images/icons/template.hbs",
# Template checker recommends very hard to read indentation.
"web/templates/bookend.hbs",
- # The parser does not like the indentation of custom ReadTheDocs templates
- "docs/_templates/layout.html",
]