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
+7-9Lines changed: 7 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,24 +15,22 @@ It has two components:
15
15
16
16
### Internal links
17
17
18
-
Link between documentation files using either relative or absolute paths.
18
+
Use internal links for doc to doc links. Internal links can reference a relative or absolute path, and you can optionally append an anchor to send readers to a specific section on a page.
19
19
20
20
#### Relative paths
21
-
Navigate relative to the current file's location:
22
21
23
22
```markdown
24
-
[Security documentation](../security/index.md)
23
+
[Security docs](../security/index.md)
25
24
26
-
[Monitoring guide](monitor/index.md)
27
-
```
25
+
[Install](monitor/index.md#installation)
26
+
````
28
27
29
28
#### Absolute paths
30
29
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:
0 commit comments