summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorErik Faye-Lund <erik.faye-lund@collabora.com>2023-05-02 10:07:45 +0200
committerMarge Bot <emma+marge@anholt.net>2023-05-03 12:56:59 +0000
commitefc94390f716b70ac1d5b09c6f949f938aeadcac (patch)
tree92f03ed97313b627ae7125e7808eb8ac9c09d08f /docs
parent2cbc24b9da01fb7cc38b42fd78d8f232ce7167b7 (diff)
downloadmesa-efc94390f716b70ac1d5b09c6f949f938aeadcac.tar.gz
docs: fix edit-links
When making a custom-theme, I accidentally hard-coded the edit-URL to point to the index-file in the mesa3d.org repo instead of pointing to the correct file in our docs. This fixes that, so the "Edit this page"-links in the footer works the same way as the old "Edit on GitLab"-links did. Fixes: 7da0482636a ("docs: add custom html theme") Reviewed-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22791>
Diffstat (limited to 'docs')
-rw-r--r--docs/mesa3d_theme/layout.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/mesa3d_theme/layout.html b/docs/mesa3d_theme/layout.html
index e7312d773d3..d86433fa407 100644
--- a/docs/mesa3d_theme/layout.html
+++ b/docs/mesa3d_theme/layout.html
@@ -129,7 +129,7 @@
<div class="col-12 col-lg-3">
<p>Hosted by <a href="https://www.freedesktop.org/">Freedesktop.org</a></p>
- <p><a href="https://gitlab.freedesktop.org/mesa/mesa3d.org/-/blob/main/content/_index.html">Edit this page</a></p>
+ <p><a href="https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/docs/{{ pagename }}{{ page_source_suffix }}">Edit this page</a></p>
</div>
</div>