From 36a9a9cee057887425f04a4ffebff5700a89c4cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Cab=C3=A9?= Date: Wed, 13 Mar 2024 15:26:25 +0100 Subject: [PATCH] doc: guidelines: fix dead links MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix zephyr_file and zephyr_raw broken links Signed-off-by: Benjamin Cabé --- doc/contribute/documentation/guidelines.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/contribute/documentation/guidelines.rst b/doc/contribute/documentation/guidelines.rst index 55db8e2e556..052f038302c 100644 --- a/doc/contribute/documentation/guidelines.rst +++ b/doc/contribute/documentation/guidelines.rst @@ -263,12 +263,12 @@ markup (double backticks) to indicate a ``filename``. For references to files that are in the Zephyr GitHub tree, a special role can be used that creates a hyperlink to that file. For example a reference to the reST file used to create this document can be generated -using ``:zephyr_file:`doc/contribute/documentation/index.rst``` that will -show up as :zephyr_file:`doc/contribute/documentation/index.rst`, a link to +using ``:zephyr_file:`doc/contribute/documentation/guidelines.rst``` that will +show up as :zephyr_file:`doc/contribute/documentation/guidelines.rst`, a link to the "blob" file in the github repo. There's also a -``:zephyr_raw:`doc/guides/documentation/index.rst``` role that will +``:zephyr_raw:`doc/contribute/documentation/guidelines.rst``` role that will link to the "raw" content, -:zephyr_raw:`doc/contribute/documentation/index.rst`. (You can click on +:zephyr_raw:`doc/contribute/documentation/guidelines.rst`. (You can click on these links to see the difference.) .. _internal-linking: