@@ -11,6 +11,7 @@ taxonomies:
1111 tag : tags
1212 language : languages
1313
14+ # Remove the /manuals prefix for content in the manuals section
1415permalinks :
1516 page :
1617 manuals : /:sections[1:]/:slugorfilename/
@@ -27,10 +28,13 @@ markup:
2728 parser :
2829 wrapStandAloneImageWithinParagraph : false
2930 attribute :
31+ # Allow setting attributes on block-level elements
3032 block : true
3133 renderer :
34+ # Allow inline HTML
3235 unsafe : true
3336 highlight :
37+ # Use custom CSS for syntax highlighting
3438 noClasses : false
3539
3640related :
@@ -46,10 +50,12 @@ related:
4650 toLower : false
4751
4852build :
53+ # Generate hugo_stats.json - Tailwind uses this to detect classes
4954 buildStats :
5055 enable : true
5156 disableIDs : true
5257 disableTags : true
58+ # Ensure that CSS/assets changes trigger a dev server rebuild
5359 cachebusters :
5460 - source : assets/watching/hugo_stats\.json
5561 target : styles\.css
@@ -60,23 +66,29 @@ build:
6066 - source : (assets|layouts)/.*\.(.*)$
6167 target : " $2"
6268
69+ # Additional output formats (e.g. custom JSON files)
6370outputFormats :
71+ # File containing all redirects, see: layouts/index.redirects.json
6472 redirects :
6573 baseName : redirects
6674 isPlainText : true
6775 mediaType : " application/json"
6876 notAlternative : true
77+ # Metadata file used by DD global search, see: layouts/index.metadata.json
6978 metadata :
7079 baseName : metadata
7180 isPlainText : true
7281 mediaType : " application/json"
7382 notAlternative : true
83+ # robots.txt, see: layouts/index.robots.json
7484 robots :
7585 baseName : robots
7686 isPlainText : true
7787 mediaType : " text/plain"
7888 notAlternative : true
7989
90+ # Enable custom output formats for the home page only
91+ # (only generate the custom output files once)
8092outputs :
8193 home :
8294 - html
@@ -88,6 +100,9 @@ languages:
88100 en :
89101 languageName : English
90102
103+ # Site-wide parameters
104+ # Can be accessed in content with {{% param "param_name" %}}
105+ # Or in layouts/partials with site.Params.param_name
91106params :
92107 kapa :
93108 id : ba5c2cbc-6535-4334-a72e-050f7a681c8a
@@ -103,21 +118,36 @@ params:
103118 apikey : 2899036ce47dba191b8dc1758e4bc6a4
104119 indexname : docker
105120
121+ # Docs repository URL
106122 repo : https://github.com/docker/docs
107123 docs_url : https://docs.docker.com
108124
125+ # === Example versions ===
126+ # The following parameters are used in various ways in content and templates.
127+ # Mostly as examples in code snippets, but also in other exotic ways.
128+ # Use `grep` to figure out how they might be used.
129+
130+ # Latest version of the Docker Engine API
109131 latest_engine_api_version : " 1.47"
132+ # Latest version of Docker Engine
110133 docker_ce_version : " 27.5.0"
134+ # Previous version of the Docker Engine
135+ # (Used to show e.g., "latest" and "latest"-1 in engine install examples
111136 docker_ce_version_prev : " 27.4.1"
137+ # Latest Docker Compose version
112138 compose_version : " v2.32.3"
113139 compose_file_v3 : " 3.8"
114140 compose_file_v2 : " 2.4"
141+ # Latest BuildKit version
115142 buildkit_version : " 0.16.0"
116143
144+ # Example runtime/library/os versions
117145 example_go_version : " 1.23"
118146 example_alpine_version : " 3.21"
119147 example_node_version : " 20"
120148
149+ # Minimum version thresholds (used together with the "introduced" shortcode
150+ # See layouts/shortcodes/introduced.html
121151 min_version_thresholds :
122152 buildx : " 0.10.0"
123153 buildkit : " 0.11.0"
@@ -128,6 +158,7 @@ params:
128158 scout : " 1.0.0"
129159
130160menus :
161+ # Site header menu
131162 main :
132163 - name : Get started
133164 pageRef : /get-started/
@@ -142,6 +173,7 @@ menus:
142173 pageRef : /reference/
143174 weight : 4
144175
176+ # Footer links
145177 footer :
146178 - url : https://www.docker.com/products
147179 name : Product offerings
@@ -241,21 +273,28 @@ menus:
241273 name : Newsletter
242274 parent : About us
243275
276+ # Hugo modules - for fetching docs from upstream repos
277+ # NOTE: we always vendor upstream docs in _vendor/
278+ # Versions are declared in go.mod
244279module :
245280 proxy : https://proxy.golang.org,direct
246281 hugoVersion :
247282 extended : false
248283 min : " 0.139.0"
249284 mounts :
285+ # Mount the assets directory so it doesn't get overwritten
250286 - source : assets
251287 target : assets
288+ # Mount hugo_stats.json to the assets dir to trigger cachebust
252289 - source : hugo_stats.json
253290 target : assets/watching/hugo_stats.json
291+ # Mount the icon files to assets so we can access them with resources.Get
254292 - source : node_modules/@material-symbols/svg-400/rounded
255293 target : assets/icons
256294
257295 imports :
258296
297+ # Docker Engine
259298 - path : github.com/moby/moby
260299 mounts :
261300 - source : docs/api/v1.24.md
@@ -266,6 +305,7 @@ module:
266305 target : content/reference/api/engine/version
267306 includeFiles : " *.yaml"
268307
308+ # BuildKit
269309 - path : github.com/moby/buildkit
270310 mounts :
271311 - source : frontend/dockerfile/docs/reference.md
@@ -280,11 +320,13 @@ module:
280320 - source : docs/attestations/attestation-storage.md
281321 target : content/manuals/build/metadata/attestations/attestation-storage.md
282322
323+ # Buildx CLI plugin
283324 - path : github.com/docker/buildx
284325 mounts :
285326 - source : docs/bake-reference.md
286327 target : content/manuals/build/bake/reference.md
287328
329+ # Docker CLI
288330 - path : github.com/docker/cli
289331 mounts :
290332 - source : docs/extend
@@ -300,12 +342,14 @@ module:
300342 - source : docs/reference/dockerd.md
301343 target : content/reference/cli/dockerd.md
302344
345+ # Compose
303346 - path : github.com/docker/compose/v2
304347 mounts :
305348 - source : docs/reference
306349 target : data/compose-cli
307350 includeFiles : " *.yaml"
308351
352+ # Scout CLI plugin (public dist repo)
309353 - path : github.com/docker/scout-cli
310354 mounts :
311355 - source : docs
0 commit comments