Skip to content

Commit 1fe584b

Browse files
committed
09JAN2025 Update
0 parents  commit 1fe584b

File tree

370 files changed

+56559
-0
lines changed

Some content is hidden

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

370 files changed

+56559
-0
lines changed

.crux_dry_run_build

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# list of versionsets to run Dry-run Builds in. Used when you make or update a CR.
2+
AWSDevDocs/public
3+
AWSDevDocsBJS/public

.gitconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[difftool "vscode"]
2+
cmd = code --wait --diff $LOCAL $REMOTE
3+
[diff]
4+
tool = vscode
5+
[mergetool "vscode"]
6+
cmd = code --wait --merge $REMOTE $LOCAL $BASE $MERGED
7+
[merge]
8+
tool = vscode

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
*Issue #, if available:*
2+
3+
*Description of changes:*
4+
5+
6+
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

.github/workflows/vale.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Style check
2+
3+
on:
4+
pull_request:
5+
workflow_dispatch:
6+
7+
jobs:
8+
style-job:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Check out
12+
uses: actions/checkout@v3
13+
14+
# For AsciiDoc users:
15+
- name: Install Asciidoctor
16+
run: sudo apt-get install -y asciidoctor
17+
18+
- name: Run Vale
19+
uses: errata-ai/vale-action@reviewdog
20+
env:
21+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
22+
with:
23+
fail_on_error: true
24+
reporter: github-pr-check
25+
filter_mode: added
26+
files: latest/ug
27+
continue-on-error: false

.gitignore

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
*.running.properties.txt
2+
*\~
3+
*.mobi
4+
build
5+
*.DS_Store
6+
.attach_pid*
7+
*.7z
8+
*.action
9+
*.apk
10+
*.app
11+
*.avi
12+
*.bat
13+
*.bin
14+
*.cab
15+
*.cmd
16+
*.com
17+
*.command
18+
*.cpl
19+
*.csh
20+
*.dmg
21+
*.doc
22+
*.docx
23+
*.ex_
24+
*.exe
25+
*.gadget
26+
*.html
27+
*.inf
28+
*.ins
29+
*.inx
30+
*.ipa
31+
*.iso
32+
*.isu
33+
*.job
34+
*.jse
35+
*.ksh
36+
*.lnk
37+
*.mov
38+
*.mp3
39+
*.mp4
40+
*.msc
41+
*.msi
42+
*.msp
43+
*.mst
44+
*.osx
45+
*.out
46+
*.paf
47+
*.pdf
48+
*.pif
49+
*.potm
50+
*.potx
51+
*.ppam
52+
*.pptm
53+
*.pptx
54+
*.prg
55+
*.ps1
56+
*.rar
57+
*.reg
58+
*.rgs
59+
*.rtf
60+
*.run
61+
*.scr
62+
*.sct
63+
*.shar
64+
*.shb
65+
*.shs
66+
*.tar
67+
*.u3p
68+
*.vb
69+
*.vbe
70+
*.vbs
71+
*.vbscript
72+
*.workflow
73+
*.ws
74+
*.wsf
75+
*.wsh
76+
*.xls
77+
*.xlsx
78+
*.xpr
79+
vale/styles/AsciiDoc/
80+
vale/styles/RedHat/

.vale.ini

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
StylesPath = vale/styles
2+
3+
MinAlertLevel = suggestion
4+
5+
Packages = RedHat, AsciiDoc
6+
7+
Vocab = EksDocsVocab
8+
9+
# Ignore files in dirs starting with `.` to avoid raising errors for `.vale/fixtures/*/testinvalid.adoc` files
10+
[[!.]*.adoc]
11+
BasedOnStyles = RedHat, AsciiDoc, EksDocs
12+
RedHat.GitLinks = OFF
13+
AsciiDoc.UnsetAttributes = OFF
14+
RedHat.CaseSensitiveTerms = suggestion
15+
RedHat.TermsErrors = warning
16+
RedHat.Spacing = warning

.vscode/asciidoc.code-snippets

Lines changed: 185 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,185 @@
1+
{
2+
// Place your snippets for AsciiDoc here. Each snippet is defined under a snippet name and has a prefix, body and
3+
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
4+
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
5+
// same ids are connected.
6+
// Example:
7+
// "Print to console": {
8+
// "prefix": "log",
9+
// "body": [
10+
// "console.log('$1');",
11+
// "$2"
12+
// ],
13+
// "description": "Log output to console"
14+
// }
15+
// https://code.visualstudio.com/docs/editor/userdefinedsnippets
16+
// https://www.freecodecamp.org/news/definitive-guide-to-snippets-visual-studio-code/
17+
"adoc tablist": {
18+
"prefix": "tablist",
19+
"body": [
20+
"====",
21+
"[role=\"tablist\"]",
22+
"${1:Fargate - [.noloc]`Linux`}::",
23+
"+",
24+
"[source,bash,subs=\"verbatim,attributes\"]",
25+
"----",
26+
"eksctl create cluster --name my-cluster --region region-code --fargate",
27+
"----\n",
28+
"${2:Managed nodes - [.noloc]`Linux`}::",
29+
"+",
30+
"[source,bash,subs=\"verbatim,attributes\"]",
31+
"----",
32+
"eksctl create cluster --name my-cluster --region region-code",
33+
"----",
34+
"eksctl create cluster --name my-cluster --region region-code",
35+
"----\n",
36+
"===="
37+
],
38+
"description": "adoc tablist"
39+
},
40+
"adoc step tablist": {
41+
"prefix": "tab-step",
42+
"body": [
43+
"====",
44+
"[role=\"tablist\"]",
45+
"${1:{aws-management-console}`}::",
46+
"+",
47+
"[source,bash,subs=\"verbatim,attributes\"]",
48+
"----",
49+
"eksctl create cluster --name my-cluster --region region-code --fargate",
50+
"----\n",
51+
"${2:[.noloc]`eksctl`}::",
52+
"+",
53+
"[source,bash,subs=\"verbatim,attributes\"]",
54+
"----",
55+
"eksctl create cluster --name my-cluster --region region-code",
56+
"----\n",
57+
"${3:{aws} CLI}::",
58+
"+",
59+
"[source,bash,subs=\"verbatim,attributes\"]",
60+
"----",
61+
"eksctl create cluster --name my-cluster --region region-code",
62+
"----\n",
63+
"${3:{aws} CloudFormation}::",
64+
"+",
65+
"[source,bash,subs=\"verbatim,attributes\"]",
66+
"----",
67+
"eksctl create cluster --name my-cluster --region region-code",
68+
"----\n",
69+
"===="
70+
],
71+
"description": "adoc step tablist"
72+
},
73+
"adoc region tablist": {
74+
"prefix": "tab-region",
75+
"body": [
76+
"====",
77+
"[role=\"tablist\"]",
78+
"${1:{aws}`}::",
79+
"`eks-cluster.[.replaceable]``region``.api.aws`",
80+
"\n",
81+
"${2:{aws} GovCloud (US)}::",
82+
"`eks-cluster.[.replaceable]``region``.api.aws`",
83+
"\n",
84+
"${3:{amazon-web-services} in China::",
85+
"`eks-cluster.[.replaceable]``region``.api.amazonwebservices.com.cn`",
86+
"\n",
87+
"===="
88+
],
89+
"description": "adoc region tablist"
90+
},
91+
"Code Block": {
92+
"prefix": "adoc-code",
93+
"body": [
94+
"[source,${1|yaml,cli,json,java,python,javascript,ruby,go,bash|}]",
95+
"----",
96+
"${2:// Your code here}",
97+
"----",
98+
"$0"
99+
],
100+
"description": "Code block with language selection"
101+
},
102+
"AWS AsciiDoc Link": {
103+
"prefix": "adoc-link",
104+
"body": [
105+
"link:${1:path}[\"${2:link text}\",type=\"${3|documentation,marketing,console,blog,api|}\"]"
106+
],
107+
"description": "Create an AWS documentation link in AsciiDoc format"
108+
},
109+
"Admonition Block": {
110+
"prefix": "adoc-admonition",
111+
"body": [
112+
"[${1|NOTE,TIP,IMPORTANT,CAUTION,WARNING|}]",
113+
"====",
114+
"${2:Admonition content}",
115+
"====",
116+
"$0"
117+
],
118+
"description": "Admonition block with type selection"
119+
},
120+
"Table": {
121+
"prefix": "adoc-table",
122+
"body": [
123+
"[%header,cols=\"${1:1,1}\"]",
124+
"|===",
125+
"| ${2:Header 1} | ${3:Header 2}",
126+
"",
127+
"| ${4:Cell 1} | ${5:Cell 2}",
128+
"|===",
129+
"$0"
130+
],
131+
"description": "Basic table with headers"
132+
},
133+
"Cross Reference": {
134+
"prefix": "adoc-xref",
135+
"body": [
136+
"<<${1:anchor-id},${2:display text}>>$0"
137+
],
138+
"description": "Cross-reference link"
139+
},
140+
"Definition List": {
141+
"prefix": "adoc-deflist",
142+
"body": [
143+
"${1:Term 1}::",
144+
"${2:Definition 1}",
145+
"",
146+
"${3:Term 2}::",
147+
"${4:Definition 2}",
148+
"$0"
149+
],
150+
"description": "Definition list"
151+
},
152+
"NODE_ROOT Section": {
153+
"prefix": "adoc-topic",
154+
"body": [
155+
"//!!NODE_ROOT <section>",
156+
"[.topic]",
157+
"[[${1:page-id},${1:page-id}.title]]",
158+
"= ${2:page title goes here}",
159+
":info_doctype: section",
160+
"",
161+
"include::../attributes.txt[]",
162+
"",
163+
],
164+
"description": "Creates a NODE_ROOT section template with topic class and ID"
165+
},
166+
"Include with Leveloffset": {
167+
"prefix": "adoc-inc",
168+
"body": [
169+
"include::${1:filename}.adoc[leveloffset=+1]$0"
170+
],
171+
"description": "Creates an include statement with leveloffset=+1, automatically adding .adoc extension"
172+
},
173+
"AsciiDoc Collapsible Section": {
174+
"prefix": "adoc-collapse",
175+
"body": [
176+
"[[${1:collapsible-section-id},${1:collapsible-section-id}.title]]",
177+
".${2:Section Title}",
178+
"[%collapsible, expand-section=\"_collapse_all_\"]",
179+
"====",
180+
"${3:This is where the text to collapse goes.}",
181+
"===="
182+
],
183+
"description": "Creates a collapsible section in AsciiDoc"
184+
}
185+
}

.vscode/tasks.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "Convert and Open AsciiDoc",
6+
"type": "shell",
7+
"command": "bash",
8+
"args": [
9+
"-c",
10+
"asciidoctor ${file} && open ${fileDirname}/${fileBasenameNoExtension}.html"
11+
],
12+
"group": {
13+
"kind": "build",
14+
"isDefault": true
15+
},
16+
"presentation": {
17+
"reveal": "always",
18+
"panel": "shared",
19+
"showReuseMessage": false,
20+
"clear": true
21+
},
22+
"problemMatcher": [],
23+
"options": {
24+
"cwd": "${workspaceFolder}"
25+
}
26+
}
27+
],
28+
"inputs": [
29+
{
30+
"id": "currentFile",
31+
"type": "command",
32+
"command": "extension.commandvariable.file.filePath"
33+
}
34+
]
35+
}

0 commit comments

Comments
 (0)