docs: Fix relative navigation links (#29468)

Release Notes:

- N/A
This commit is contained in:
Oleksiy Syvokon 2025-04-26 13:29:05 +03:00 committed by GitHub
parent e22cae6459
commit ec5821f76d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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}}