From ebcc2945c5bd97955cd06abb6ed076eec31ab5a5 Mon Sep 17 00:00:00 2001
From: Finn Evers <75036051+MrSubidubi@users.noreply.github.com>
Date: Tue, 20 Aug 2024 18:42:36 +0200
Subject: [PATCH] docs: Remove unneeded theme links in index.hbs (#16532)
PR #16501 introduced the new keybinding syntax for the docs and added
Javascript- and CSS-files to the theme to implement the change. These
new files were then referenced in the `book.toml` as well as added to
the `index.hbs`.
However, the manually added links to these assets in the
[`index.hbs`-file](https://github.com/zed-industries/zed/pull/16501/files#diff-8fde917c42f58487036335ccc9980f1467790fc1c257ec57a0c44bc5dfc3ef4f)
are neither needed nor resolvable:
Therefore, this PR reverts the changes to the`index.hbs` - file, as the
correct links to the needed assets are inserted via the
`each`-directives from the `book.toml` respectively.
Release Notes:
- N/A
---
docs/theme/index.hbs | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/docs/theme/index.hbs b/docs/theme/index.hbs
index fe9f6c62b3..8976b54bd9 100644
--- a/docs/theme/index.hbs
+++ b/docs/theme/index.hbs
@@ -23,7 +23,6 @@
-
{{#if print_enable}}
{{/if}}
@@ -252,10 +251,9 @@
-
+
{{#each additional_js}}
-
{{/each}}
{{#if is_print}}