Commit 565f9ee4 authored by Alexander Tanayno's avatar Alexander Tanayno

Add clarifications about relative links

parent bc8ea9a8
......@@ -998,8 +998,10 @@ To link to internal documentation:
- Do not use absolute URLs or URLs from `docs.gitlab.com`.
- Use `../` to navigate to higher-level directories.
- Don't prepend `./` to links to files or directories.
If you need to link to a file in the same directory or in one of the sub-directories use `path/to/file.md` syntax without any prefixes.
- Don't link relative to root. For example, `/ee/user/gitlab_com/index.md`.
Don't:
- `https://docs.gitlab.com/ee/administration/geo/replication/troubleshooting.html`
......@@ -1022,6 +1024,7 @@ To link to internal documentation:
- `../../merge_requests/index.md`
- `../../issues/tags.md`
- `../../issues/tags.md#stages`
- `issues/tags.md`
NOTE:
Using the Markdown extension is necessary for the [`/help`](../index.md#gitlab-help)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment