Skip to content

Commit 27eb230

Browse files
committed
Fix warnings in other docs
1 parent f3c4409 commit 27eb230

File tree

3 files changed

+15
-6
lines changed

3 files changed

+15
-6
lines changed

REFERENCE.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616

1717
### Defined types
1818

19-
* [`gitlab::custom_hook`](#gitlab--custom_hook): Manage custom hook files within a GitLab project. Custom hooks can be created as a pre-receive, post-receive, or update hook. Only one of each is currently supported by this module.
20-
* [`gitlab::global_hook`](#gitlab--global_hook): Manage global chain loaded hook files for all GitLab projects. Hooks can be created as a pre-receive, post-receive, or update hook. It's possible to create multipe hooks per type as long as their names are unique. Support for chained (global) hooks is introduced in GitLab Shell 4.1.0 and GitLab 8.15.
19+
* [`gitlab::custom_hook`](#gitlab--custom_hook): Manage custom hook files within a GitLab project.
20+
* [`gitlab::global_hook`](#gitlab--global_hook): Manage global chain loaded hook files for all GitLab projects.
2121
* [`gitlab::system_hook`](#gitlab--system_hook): A file hook will run on each event so it's up to you to filter events or projects
2222

2323
### Tasks
@@ -351,6 +351,7 @@ Default value: `undef`
351351
Data type: `Optional[Hash]`
352352

353353
Hash of git data directories
354+
354355
**Deprecated**: This option was removed in Gitlab 18.
355356

356357
To configure the storage location for a Gitaly node:
@@ -1242,7 +1243,8 @@ Default value: `$gitlab::skip_post_deployment_migrations`
12421243

12431244
### <a name="gitlab--custom_hook"></a>`gitlab::custom_hook`
12441245

1245-
Manage custom hook files within a GitLab project. Custom hooks can be created as a pre-receive, post-receive, or update hook. Only one of each is currently supported by this module.
1246+
Custom hooks can be created as a pre-receive, post-receive, or update hook.
1247+
Only one of each is currently supported by this module.
12461248

12471249
#### Examples
12481250

@@ -1335,7 +1337,9 @@ Default value: `false`
13351337

13361338
### <a name="gitlab--global_hook"></a>`gitlab::global_hook`
13371339

1338-
Manage global chain loaded hook files for all GitLab projects. Hooks can be created as a pre-receive, post-receive, or update hook. It's possible to create multipe hooks per type as long as their names are unique. Support for chained (global) hooks is introduced in GitLab Shell 4.1.0 and GitLab 8.15.
1340+
Hooks can be created as a pre-receive, post-receive, or update hook.
1341+
It's possible to create multipe hooks per type as long as their names are unique.
1342+
Support for chained (global) hooks is introduced in GitLab Shell 4.1.0 and GitLab 8.15.
13391343

13401344
#### Examples
13411345

manifests/custom_hook.pp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# @summary Manage custom hook files within a GitLab project. Custom hooks can be created as a pre-receive, post-receive, or update hook. Only one of each is currently supported by this module.
1+
# @summary Manage custom hook files within a GitLab project.
2+
# Custom hooks can be created as a pre-receive, post-receive, or update hook.
3+
# Only one of each is currently supported by this module.
24
#
35
# @example Custom hook usage
46
# gitlab::custom_hook { 'my_custom_hook':

manifests/global_hook.pp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
# @summary Manage global chain loaded hook files for all GitLab projects. Hooks can be created as a pre-receive, post-receive, or update hook. It's possible to create multipe hooks per type as long as their names are unique. Support for chained (global) hooks is introduced in GitLab Shell 4.1.0 and GitLab 8.15.
1+
# @summary Manage global chain loaded hook files for all GitLab projects.
2+
# Hooks can be created as a pre-receive, post-receive, or update hook.
3+
# It's possible to create multipe hooks per type as long as their names are unique.
4+
# Support for chained (global) hooks is introduced in GitLab Shell 4.1.0 and GitLab 8.15.
25
#
36
# @example Global hook usage
47
# gitlab::custom_hook { 'my_custom_hook':

0 commit comments

Comments
 (0)