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 (#29465)

Oleksiy Syvokon21bafd7856b5
diff --git a/docs/theme/index.hbs b/docs/theme/index.hbs
index ca873fa4e6b..47888d02407 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="{{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="{{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}}