From 3f02e0c6500324454c89fff0a19f7e89f4639e05 Mon Sep 17 00:00:00 2001 From: Liam Thompson Date: Wed, 5 Feb 2025 13:01:23 +0100 Subject: [PATCH] Clarify absolute links further --- docs/syntax/links.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/syntax/links.md b/docs/syntax/links.md index 2eace630..96176508 100644 --- a/docs/syntax/links.md +++ b/docs/syntax/links.md @@ -26,12 +26,15 @@ Navigate relative to the current file's location: #### Absolute paths -You can also use absolute paths to link to pages within the same repository: +You can also use absolute paths to link to pages within the same repository. +Say you're working on a random page somewhere in the `docs-content` repo. You can link to a page in the `deploy-manage` section like this: ```markdown [API Keys](/deploy-manage/api-keys.md) ``` +Note the leading `/` before the path. + ### Same-page links (anchors) Link to sections within the same document using heading anchors prefixed with `#`: