diff options
author | Anatoly Borodin <anatoly.borodin@gmail.com> | 2016-03-17 02:35:53 +0300 |
---|---|---|
committer | Anatoly Borodin <anatoly.borodin@gmail.com> | 2016-03-17 02:35:53 +0300 |
commit | 6c06b65d1e905775c2cd31e64c4bf2aa3f14ef5b (patch) | |
tree | 19e5bbf43bd2e578b815dc3336600e7b981dc45d /doc/workflow/protected_branches.md | |
parent | 6349f4909ba9a1f56bd3f3951b48da7966eb6895 (diff) |
Use relative links in `doc`, fix broken generated HTML links
Links like (doc/web_hooks/web_hooks.md) work in the GitLab source code
web interface, but the HTML generator produces broken links in the `doc`
subdirectories:
http://doc.gitlab.com/ce/hooks/doc/web_hooks/web_hooks.html
instead of the right one
http://doc.gitlab.com/ce/web_hooks/web_hooks.html
in
http://doc.gitlab.com/ce/hooks/custom_hooks.html.
Fixes #14338
[ci skip]
Signed-off-by: Anatoly Borodin <anatoly.borodin@gmail.com>
Diffstat (limited to 'doc/workflow/protected_branches.md')
-rw-r--r-- | doc/workflow/protected_branches.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/workflow/protected_branches.md b/doc/workflow/protected_branches.md index fdf9a8d391c..d854ec1e025 100644 --- a/doc/workflow/protected_branches.md +++ b/doc/workflow/protected_branches.md @@ -12,7 +12,7 @@ A protected branch does three simple things: You can make any branch a protected branch. GitLab makes the master branch a protected branch by default. -To protect a branch, user needs to have at least a Master permission level, see [permissions document](doc/permissions/permissions.md). +To protect a branch, user needs to have at least a Master permission level, see [permissions document](../permissions/permissions.md). ![protected branches page](protected_branches/protected_branches1.png) |