diff options
author | Anatoly Borodin <anatoly.borodin@gmail.com> | 2016-03-17 00:35:53 +0100 |
---|---|---|
committer | Anatoly Borodin <anatoly.borodin@gmail.com> | 2016-03-17 00:35:53 +0100 |
commit | 6c06b65d1e905775c2cd31e64c4bf2aa3f14ef5b (patch) | |
tree | 19e5bbf43bd2e578b815dc3336600e7b981dc45d /doc/hooks | |
parent | 6349f4909ba9a1f56bd3f3951b48da7966eb6895 (diff) | |
download | gitlab-ce-6c06b65d1e905775c2cd31e64c4bf2aa3f14ef5b.tar.gz |
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/hooks')
-rw-r--r-- | doc/hooks/custom_hooks.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/hooks/custom_hooks.md b/doc/hooks/custom_hooks.md index 15051dd76f9..dcdf49d3379 100644 --- a/doc/hooks/custom_hooks.md +++ b/doc/hooks/custom_hooks.md @@ -2,7 +2,7 @@ **Note: Custom git hooks must be configured on the filesystem of the GitLab server. Only GitLab server administrators will be able to complete these tasks. -Please explore [webhooks](doc/web_hooks/web_hooks.md) as an option if you do not have filesystem access. For a user configurable Git Hooks interface, please see [GitLab Enterprise Edition Git Hooks](http://doc.gitlab.com/ee/git_hooks/git_hooks.html).** +Please explore [webhooks](../web_hooks/web_hooks.md) as an option if you do not have filesystem access. For a user configurable Git Hooks interface, please see [GitLab Enterprise Edition Git Hooks](http://doc.gitlab.com/ee/git_hooks/git_hooks.html).** Git natively supports hooks that are executed on different actions. Examples of server-side git hooks include pre-receive, post-receive, and update. |