You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/syntax/links.md
+11-7Lines changed: 11 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,24 +15,26 @@ It has two components:
15
15
16
16
### Internal links
17
17
18
-
Link between documentation files using either relative or absolute paths.
18
+
Link between documentation pages in the same repository using the file’s relative or absolute path. The path must include the `.md` file extension. Optionally append an anchor to send readers to a specific section on a page. Never use a full URL for links between documentation pages.
19
19
20
20
#### Relative paths
21
-
Navigate relative to the current file's location:
21
+
22
+
Use relative paths to link to other pages inside the same repository.
22
23
23
24
```markdown
24
-
[Security documentation](../security/index.md)
25
+
[Security docs](../security/index.md)
25
26
26
-
[Monitoring guide](monitor/index.md)
27
+
[Install](monitor/index.md#installation)
27
28
```
28
29
29
30
#### Absolute paths
30
31
31
-
You can also use absolute paths to link to pages within the same repository.
32
-
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:
32
+
Use absolute paths to link to other pages inside the same repository.
0 commit comments