Skip to content

Commit a24b6ed

Browse files
authored
docs: restructure AI skills locations & install options; platforms (#1919)
1 parent 42eb3e0 commit a24b6ed

File tree

11 files changed

+1072
-180
lines changed

11 files changed

+1072
-180
lines changed

.github/workflows/build-angular.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,12 @@ jobs:
1414

1515
runs-on: ubuntu-latest
1616

17-
strategy:
18-
matrix:
19-
node-version: [16.x, 18.x]
20-
2117
steps:
2218
- uses: actions/checkout@v3
23-
- name: Use Node.js ${{ matrix.node-version }}
19+
- name: Use Node.js 22.x
2420
uses: actions/setup-node@v3
2521
with:
26-
node-version: ${{ matrix.node-version }}
22+
node-version: 22.x
2723
- name: Install packages
2824
run: npm ci
2925
- name: DotNet tool restore

.github/workflows/build-blazor.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,12 @@ jobs:
1414

1515
runs-on: ubuntu-latest
1616

17-
strategy:
18-
matrix:
19-
node-version: [16.x, 18.x]
20-
2117
steps:
2218
- uses: actions/checkout@v3
23-
- name: Use Node.js ${{ matrix.node-version }}
19+
- name: Use Node.js 22.x
2420
uses: actions/setup-node@v3
2521
with:
26-
node-version: ${{ matrix.node-version }}
22+
node-version: 22.x
2723
- name: Install packages
2824
run: npm ci
2925
- name: DotNet tool restore

.github/workflows/build-react.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,12 @@ jobs:
1414

1515
runs-on: ubuntu-latest
1616

17-
strategy:
18-
matrix:
19-
node-version: [16.x, 18.x]
20-
2117
steps:
2218
- uses: actions/checkout@v3
23-
- name: Use Node.js ${{ matrix.node-version }}
19+
- name: Use Node.js 22.x
2420
uses: actions/setup-node@v3
2521
with:
26-
node-version: ${{ matrix.node-version }}
22+
node-version: 22.x
2723
- name: Install packages
2824
run: npm ci
2925
- name: DotNet tool restore

.github/workflows/build-wc.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,12 @@ jobs:
1414

1515
runs-on: ubuntu-latest
1616

17-
strategy:
18-
matrix:
19-
node-version: [16.x, 18.x]
20-
2117
steps:
2218
- uses: actions/checkout@v3
23-
- name: Use Node.js ${{ matrix.node-version }}
19+
- name: Use Node.js 22.x
2420
uses: actions/setup-node@v3
2521
with:
26-
node-version: ${{ matrix.node-version }}
22+
node-version: 22.x
2723
- name: Install packages
2824
run: npm ci
2925
- name: DotNet tool restore

doc/en/components/ai/skills.md

Lines changed: 257 additions & 149 deletions
Large diffs are not rendered by default.

doc/jp/components/ai/skills.md

Lines changed: 395 additions & 0 deletions
Large diffs are not rendered by default.

doc/jp/components/ai/theming-mcp.md

Lines changed: 387 additions & 0 deletions
Large diffs are not rendered by default.

docfx/en/components/toc.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
[
22
{
3-
"exclude": ["Angular", "Blazor", "React"],
3+
"exclude": ["Blazor"],
44
"name": "AI-Assisted Development",
55
"header": true
66
},
77
{
8-
"exclude": ["Blazor", "Angular", "React"],
9-
"name": "{ProductName} Skills",
8+
"exclude": ["Blazor"],
9+
"name": "Agent Skills",
1010
"href": "ai/skills.md",
1111
"status": "new"
1212
},
1313
{
14-
"exclude": ["Blazor", "Angular", "React"],
14+
"exclude": ["Blazor"],
1515
"name": "Theming MCP",
1616
"href": "ai/theming-mcp.md",
1717
"status": "new"

docfx/jp/components/toc.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,21 @@
11
[
2+
{
3+
"exclude": ["Blazor"],
4+
"name": "AI 支援開発",
5+
"header": true
6+
},
7+
{
8+
"exclude": ["Blazor"],
9+
"name": "エージェント スキル",
10+
"href": "ai/skills.md",
11+
"status": "new"
12+
},
13+
{
14+
"exclude": ["Blazor"],
15+
"name": "Theming MCP",
16+
"href": "ai/theming-mcp.md",
17+
"status": "new"
18+
},
219
{
320
"name": "概要",
421
"header": true

src/ext/MarkdownTransformer.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ function getFrontMatterTypes(options: any, filePath: string) {
591591

592592
function transformDocLinks(options: any) {
593593
function transformLink(node: any) {
594-
let reference = node.url;
594+
let reference: string = node.url;
595595

596596
// allows usage of $Platform$ in links to topics/sections
597597
if (reference.indexOf("$Platform$") > 0) {
@@ -607,7 +607,8 @@ function transformDocLinks(options: any) {
607607
var isSampleLink = reference.indexOf("{environment:dvDemo") > 0 ||
608608
reference.indexOf("{environment:demo") > 0;
609609

610-
var isTopicLink = !isApiDocLink && reference.indexOf(".md") > 0;
610+
var isExternalLink = reference.startsWith("http://") || reference.startsWith("https://");
611+
var isTopicLink = !isApiDocLink && !isExternalLink && reference.indexOf(".md") > 0;
611612
if (isTopicLink) {
612613
// ensuring link to topics/section using lower-case per DocFX requirement
613614
node.url = reference.toLowerCase();

0 commit comments

Comments
 (0)