Skip to content

Commit 31d705f

Browse files
rachmariheiskr
andauthored
Cli manpage automation (github#35169)
Co-authored-by: Kevin Heis <[email protected]>
1 parent 122bcac commit 31d705f

File tree

7 files changed

+411
-34
lines changed

7 files changed

+411
-34
lines changed

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,6 @@ external-link-checker-db.json
4040

4141
# Automated content source
4242
rest-api-description
43+
semmle-code
4344

4445
.installed.package-lock.json

Diff for: lib/frontmatter.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ export const schema = {
235235
},
236236
autogenerated: {
237237
type: 'string',
238-
enum: ['rest', 'graphql', 'github-apps', 'webhooks'],
238+
enum: ['codeql-cli', 'github-apps', 'graphql', 'rest', 'webhooks'],
239239
},
240240
},
241241
}

Diff for: nodemon.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
"data/variables",
1212
"data/glossaries",
1313
"data/product-examples",
14-
"data/learning-tracks"
14+
"data/learning-tracks",
15+
"rest-api-description",
16+
"semmle-code"
1517
]
1618
}

Diff for: package-lock.json

+91-31
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,9 @@
170170
"sass": "^1.52.3",
171171
"start-server-and-test": "^2.0.0",
172172
"strip-ansi": "^7.0.1",
173-
"typescript": "^4.7.3"
173+
"typescript": "^4.7.3",
174+
"unist-util-remove": "^3.1.1",
175+
"unist-util-visit-parents": "^5.1.3"
174176
},
175177
"engines": {
176178
"node": "^16 || ^18"

Diff for: src/codeql-cli/lib/config.json

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"frontmatterDefaults": {
3+
"versions": {
4+
"fpt": "*",
5+
"ghae": "*",
6+
"ghec": "*",
7+
"ghes": "*"
8+
},
9+
"topics": [
10+
"Advanced Security",
11+
"Code scanning",
12+
"CodeQL"
13+
],
14+
"type": "reference",
15+
"product": "{% data reusables.gated-features.code-scanning %}",
16+
"autogenerated": "codeql-cli",
17+
"allowTitleToDifferFromFilename": true
18+
},
19+
"targetDirectory": "content/code-security/code-scanning/codeql-cli-manual",
20+
"sourceDirectory": "semmle-code/documentation/restructuredtext/codeql-cli/manual",
21+
"removeKeywords": ["[Plumbing]"]
22+
}

0 commit comments

Comments
 (0)