Skip to content

Commit a675123

Browse files
Merge remote-tracking branch 'origin/master' into aleksandr.pasechnik/serverless-gcp-docs-refresh
2 parents fb27a51 + bddf66b commit a675123

File tree

221 files changed

+10759
-3338
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

221 files changed

+10759
-3338
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-05-14 15:46:38.896407",
8-
"spec_repo_commit": "64f5e7ee"
7+
"regenerated": "2025-05-20 07:23:31.781659",
8+
"spec_repo_commit": "fec20f97"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-05-14 15:46:48.228708",
13-
"spec_repo_commit": "64f5e7ee"
12+
"regenerated": "2025-05-20 07:23:40.945974",
13+
"spec_repo_commit": "fec20f97"
1414
}
1515
}
1616
}

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,6 @@ Icon
226226
Network Trash Folder
227227
Temporary Items
228228
.apdisk
229-
.vscode
230229

231230
# jetbrains
232231
.idea

.vscode/markdoc.code-snippets

Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
{
2+
"Alert box": {
3+
"prefix": ";;alert",
4+
"body": ["{% alert level=\"${1|info,warning,danger|}\" %}", "${2:This is an alert message.}", "{% /alert %}"],
5+
"description": "Markdoc alert block with a level attribute (info, warning, danger)"
6+
},
7+
8+
"Callout": {
9+
"prefix": ";;callout",
10+
"body": [
11+
"{% callout src=\"${1:https://www.example.com}\" header=\"${2:Join the Preview!}\" btn_hidden=${3|false,true|} %}",
12+
"${4:Callout content goes here.}",
13+
"{% /callout %}"
14+
],
15+
"description": "Markdoc callout block with optional header and button visibility"
16+
},
17+
18+
"Code block": {
19+
"prefix": ";;code",
20+
"body": [
21+
"```${1:javascript} {% filename=\"${2:example.js}\" collapsible=${3|true,false|} disable_copy=${4|false,true|} wrap=${5|false,true|} %}",
22+
"${6:// Your code here}",
23+
"```"
24+
],
25+
"description": "Markdoc code block with attributes and tabstop choices"
26+
},
27+
28+
"Definition list": {
29+
"prefix": ";;list",
30+
"body": [
31+
"Service",
32+
"",
33+
": Services are the building blocks of modern microservice architectures - broadly a service groups together endpoints, queries, or jobs for the purposes of building your application.",
34+
"",
35+
"Resource",
36+
"",
37+
": Resources represent a particular domain of a customer application - they are typically an instrumented web endpoint, database query, or background job.",
38+
"",
39+
"`clusterChecksRunner.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution`",
40+
": Required. A list of node selector terms. The terms are ORed.",
41+
"`site`",
42+
": Set the site of the Datadog intake for Agent data: {{< region-param key=\"dd_site\" code=\"true\" >}}. Defaults to `datadoghq.com`."
43+
],
44+
"description": "Description list"
45+
},
46+
47+
"If": {
48+
"prefix": ";;if",
49+
"body": [
50+
"{% if equals($${1:trait_id}, \"${2:option_id}\") %}",
51+
"${3:Content shown if condition is true}",
52+
"{% /if %}"
53+
],
54+
"description": "Markdoc if tag with equals condition"
55+
},
56+
57+
"Image": {
58+
"prefix": ";;image",
59+
"body": [
60+
"{% img src=\"${1:path/to/image.png}\" alt=\"${2:Descriptive alt text}\" style=\"${3:width:80%;}\" /%}"
61+
],
62+
"description": "Markdoc image with optional alt and style"
63+
},
64+
65+
"Video": {
66+
"prefix": ";;;video",
67+
"body": ["{% img src=\"${1:path/to/video.mp4}\" alt=\"${2:Descriptive video alt text}\" video=\"true\" /%}"],
68+
"description": "Markdoc video tag using img with video attribute"
69+
},
70+
71+
"Region site address": {
72+
"prefix": ";;region-param",
73+
"body": [
74+
"{% region-param key=\"${1:dd_site}\" code=${2|false,true|} link=${3|false,true|} text=\"${4:Custom link text}\" /%}"
75+
],
76+
"description": "Markdoc region-param tag with attribute choices"
77+
},
78+
79+
"Region selector": {
80+
"prefix": ";;region",
81+
"body": [
82+
"{% site-region region=\"${1|us,us3,us5,eu,ap1,gov|}\" %}",
83+
"${2:Content for this region.}",
84+
"{% /site-region %}"
85+
],
86+
"description": "Markdoc site-region block with selectable region"
87+
},
88+
89+
"Table": {
90+
"prefix": ";;table",
91+
"body": [
92+
"{% table %}",
93+
"* ${1:Header Col 1}",
94+
"* ${2:Header Col 2}",
95+
"---",
96+
"* ${3:Row 1 Col 1}",
97+
"* ${4:Row 1 Col 2}",
98+
"---",
99+
"* ${5:Row 2 Col 1}",
100+
"* ${6:Row 2 Col 2}",
101+
"{% /table %}"
102+
],
103+
"description": "Markdoc table with 2 rows and 2 columns"
104+
},
105+
106+
"Tabs": {
107+
"prefix": ";;tabs",
108+
"body": [
109+
"{% tabs %}",
110+
"",
111+
"{% tab label=\"${1:Tab 1}\" %}",
112+
"${2:Content for Tab 1. Link URLs go at the bottom of the file, not the bottom of the tab.}",
113+
"{% /tab %}",
114+
"",
115+
"{% tab label=\"${3:Tab 2}\" %}",
116+
"${4:Content for Tab 2}",
117+
"{% /tab %}",
118+
"",
119+
"{% /tabs %}"
120+
],
121+
"description": "Markdoc tabs block with two labeled tabs"
122+
},
123+
124+
"Check mark": {
125+
"prefix": ";;check",
126+
"body": "{% x/ %}",
127+
"description": "X tag (self-closing) for checkmark"
128+
}
129+
}

.vscode/settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"files.associations": {
3+
"*.mdoc.md": "markdoc"
4+
}
5+
}

0 commit comments

Comments
 (0)