1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
|
# For a list of configuration options, see https://nanoc.ws/doc/reference/config/
string_pattern_type: glob
text_extensions: [
'adoc',
'asciidoc',
'atom',
'coffee',
'css',
'erb',
'haml',
'handlebars',
'hb',
'htm',
'html',
'js',
'less',
'markdown',
'md',
'ms',
'mustache',
'php',
'rb',
'rdoc',
'sass',
'scss',
'slim',
'txt',
'xhtml',
'xml']
output_dir: public
index_filenames: ['index.html']
enable_output_diff: false
breadcrumbs: false
debug: false
domain: docs.gitlab.com
base_url: https://docs.gitlab.com
prune:
auto_prune: true
exclude: ['.git', '.hg', '.svn', 'CVS']
data_sources:
-
type: filesystem
items_root: /
layouts_root: /
encoding: utf-8
identifier_type: full
- # Documentation from https://gitlab.com/gitlab-org/gitlab
type: filesystem
items_root: /ee/
content_dir: ../gitlab/doc
layouts_dir: null
encoding: utf-8
identifier_type: full
- # Documentation from https://gitlab.com/gitlab-org/gitlab-runner
type: filesystem
items_root: /runner/
content_dir: ../gitlab-runner/docs
layouts_dir: null
encoding: utf-8
identifier_type: full
- # Documentation from https://gitlab.com/gitlab-org/omnibus-gitlab
type: filesystem
items_root: /omnibus/
content_dir: ../omnibus-gitlab/doc
layouts_dir: null
encoding: utf-8
identifier_type: full
- # Documentation from https://gitlab.com/gitlab-org/charts/gitlab
type: filesystem
items_root: /charts/
content_dir: ../charts-gitlab/doc
layouts_dir: null
encoding: utf-8
identifier_type: full
- # Documentation from git@gitlab.com:gitlab-org/cloud-native/gitlab-operator
type: filesystem
items_root: /operator/
content_dir: ../gitlab-operator/doc
layouts_dir: null
encoding: utf-8
identifier_type: full
products:
ee:
slug: 'ee'
repo: 'https://gitlab.com/gitlab-org/gitlab.git'
project_dir: '../gitlab'
content_dir: '../gitlab/doc'
runner:
slug: 'runner'
repo: 'https://gitlab.com/gitlab-org/gitlab-runner.git'
project_dir: '../gitlab-runner'
content_dir: '../gitlab-runner/docs'
omnibus:
slug: 'omnibus'
repo: 'https://gitlab.com/gitlab-org/omnibus-gitlab.git'
project_dir: '../omnibus-gitlab'
content_dir: '../omnibus-gitlab/doc'
charts:
slug: 'charts'
repo: 'https://gitlab.com/gitlab-org/charts/gitlab.git'
project_dir: '../charts-gitlab'
content_dir: '../charts-gitlab/doc'
operator:
slug: 'operator'
repo: 'https://gitlab.com/gitlab-org/cloud-native/gitlab-operator.git'
project_dir: '../gitlab-operator'
content_dir: '../gitlab-operator/doc'
checks:
internal_links:
exclude:
# Exclude major.minor versions that are used under /archives
- '^/\d{1,2}\.\d{1,2}/'
# The versions dropdown for the archives is incorrect. Remove this
# when fixed.
- '\/archives.html'
external_links:
exclude:
# Valid links incorrectly reported as broken.
- 'https:\/\/gitlab.com\/api\/v4\/.*'
- 'https:\/\/www\.linkedin\.com\/company\/gitlab-com'
- 'https:\/\/auth0\.com\/auth\/login'
- 'https:\/\/gitlab-org\.gitlab\.io\/gitlab-svgs'
- 'https:\/\/gitlab-org\.gitlab\.io\/growth\/product-intelligence\/metric-dictionary'
- 'https:\/\/dl\.acm\.org\/citation\.cfm\?id=361591'
- 'https:\/\/pgp\.mit\.edu\/pks\/lookup\?op=vindex\&search=.*'
- 'https:\/\/www\.amazon\.com\/.*'
- 'https:\/\/contributors\.gitlab\.com\/'
- 'https:\/\/downloads\.raspberrypi\.org\/raspbian\/images\/'
- 'https:\/\/wiki\.jenkins\.io\/display\/JENKINS\/'
- 'https:\/\/twitter\.com\/gitlab'
# Redirected links to ignore.
- 'https:\/\/www\.jaegertracing\.io\/docs\/latest\/'
- 'https:\/\/bit.ly\/.*'
# Don't check links matching the following patterns.
- 'https?:\/\/\w*\.example\.com.*'
- 'https?:\/\/localhost.*'
- 'https?:\/\/127.0.0.1.*'
# Don't check gitlab.com links. Cloudflare thinks the link test is a DOS attack.
# The temporary solution is to exclude them from link testing.
- 'https:\/\/gitlab.com.*'
# Some sites rate limit requests, causing 429 errors.
# The temporary solution is to exclude them from link testing.
- 'https:\/\/github.com\/.*'
- 'https:\/\/www.youtube.com\/.*'
- 'https:\/\/youtu.be\/.*'
# Some links require authentication
- 'https:\/\/dashboards.gitlab.com\/.*'
- 'https:\/\/ops.gitlab.net\/.*'
- 'https:\/\/3PNCFOU757-dsn.algolia.net.*'
# Redirected link we don't want to update to platform/locale specific link
# See https://gitlab.com/gitlab-org/gitlab/-/issues/368300#note_1047352091
- 'https:\/\/support.gitlab.com'
|