Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

docs: Fix relative navigation links (#29468)

Oleksiy Syvokonec5821f76da9
diff --git a/docs/theme/index.hbs b/docs/theme/index.hbs
index 47888d02407..cc999ad4b5f 100644
--- a/docs/theme/index.hbs
+++ b/docs/theme/index.hbs
@@ -205,13 +205,13 @@
<div class="nav-wrapper">
<div class="nav-buttons">
{{#previous}}
- <a rel="prev" href="{{ path_to_root }}/{{link}}" class="nav-button" title="{{title}}" aria-label="Previous chapter">
+ <a rel="prev" href="{{ path_to_root }}{{link}}" class="nav-button" title="{{title}}" aria-label="Previous chapter">
<i class="fa fa-angle-left"></i>
</a>
{{/previous}}
{{#next}}
- <a rel="next" href="{{ path_to_root }}/{{link}}" class="nav-button" title="{{title}}" aria-label="Next chapter">
+ <a rel="next" href="{{ path_to_root }}{{link}}" class="nav-button" title="{{title}}" aria-label="Next chapter">
<i class="fa fa-angle-right"></i>
</a>
{{/next}}