Skip to content

Commit d1705ec

Browse files
committed
Update generate-api-docs to use the new config file format
1 parent dbb2244 commit d1705ec

File tree

3 files changed

+34
-0
lines changed

3 files changed

+34
-0
lines changed

Diff for: repo-scripts/generate-api-docs/.vscode/launch.json

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"type": "node",
9+
"request": "launch",
10+
"name": "Launch Program",
11+
"program": "${workspaceFolder}/node_modules/@microsoft/api-documenter/lib/start.js",
12+
"cwd": "${workspaceFolder}",
13+
"args": [
14+
"generate",
15+
"--input-folder",
16+
"../../common/temp/api",
17+
"--output-folder",
18+
"./dist"
19+
]
20+
},
21+
]
22+
}

Diff for: repo-scripts/generate-api-docs/api-documenter.json

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"outputTarget": "markdown",
3+
4+
"plugins": [
5+
{
6+
"packageName": "doc-plugin-rush-stack",
7+
"enabledFeatureNames": [ "rush-stack-markdown-documenter" ]
8+
}
9+
]
10+
}

Diff for: repo-scripts/generate-api-docs/generate-api-docs.cmd

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@echo off
2+
.\node_modules\.bin\api-documenter generate --input-folder ..\..\common\temp\api --output-folder .\dist

0 commit comments

Comments
 (0)