Skip to content

Commit f6bb61b

Browse files
committed
Add breaking changes docs
Fixes #33996 Add the configuration and TOC changes for publishing the breaking changes articles to the razor compiler.
1 parent db9b85a commit f6bb61b

File tree

3 files changed

+33
-2
lines changed

3 files changed

+33
-2
lines changed

.openpublishing.publish.config.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,13 @@
6363
"url": "https://github.com/dotnet/AspNetCore.Docs.Samples",
6464
"branch": "main",
6565
"branch_mapping": {}
66+
},
67+
{
68+
"path_to_root": "_razor",
69+
"url": "https://github.com/dotnet/razor",
70+
"branch": "main",
71+
"include_in_build": true,
72+
"branch_mapping": {}
6673
}
6774
],
6875
"branch_target_mapping": {

aspnetcore/docfx.json

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@
66
"exclude": [ "**/includes/**", "***/license.md", "**/obj/**", "***/readme.md", "**/sample/**", "**/samples/**", "_site/**" ],
77
"group": "group1",
88
"src": "."
9+
},
10+
{
11+
"files": [
12+
"Compiler Breaking Changes - DotNet 8.md",
13+
"Compiler Breaking Changes - DotNet 9.md"
14+
],
15+
"exclude": [],
16+
"group": "group1",
17+
"src": "../_razor/docs",
18+
"dest": "_razor/docs"
919
}
1020
],
1121
"resource": [
@@ -41,10 +51,12 @@
4151
},
4252
"fileMetadata": {
4353
"author": {
44-
"whats-new/**/**.md": "rick-anderson"
54+
"whats-new/**/**.md": "rick-anderson",
55+
"_razor/docs/*.md": "rick-anderson"
4556
},
4657
"ms.author": {
47-
"whats-new/**/**.md": "riande"
58+
"whats-new/**/**.md": "riande",
59+
"../_razor/docs/*.md": "riande"
4860
},
4961
"ms.subservice": {
5062
"introduction-to-aspnet-core.md": "index-page",
@@ -82,6 +94,14 @@
8294
},
8395
"recommendations": {
8496
"**/tutorials/**/**.md": "false"
97+
},
98+
"title": {
99+
"../_razor/docs/Compiler Breaking Changes - DotNet 8.md": "Razor compiler breaking changes since .NET 8",
100+
"_razor/docs/Compiler Breaking Changes - DotNet 9.md": "Razor compiler breaking changes since .NET 9"
101+
},
102+
"description": {
103+
"../_razor/docs/Compiler Breaking Changes - DotNet 8.md": "Learn about any breaking changes since the initial release of .NET 8",
104+
"_razor/docs/Compiler Breaking Changes - DotNet 9.md": "Learn about any breaking changes since the initial release of .NET 9"
85105
}
86106
},
87107
"template": [],

aspnetcore/toc.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -797,6 +797,10 @@ items:
797797
uid: mvc/controllers/filters
798798
- name: Razor SDK
799799
uid: razor-pages/sdk
800+
- name: Razor breaking changes since .NET 8
801+
href: ../_razor/docs/Compiler%20Breaking%20Changes%20-%20DotNet%208.md
802+
- name: Razor breaking changes since .NET 9
803+
href: ../_razor/docs/Compiler%20Breaking%20Changes%20-%20DotNet%209.md
800804
- name: View components
801805
uid: mvc/views/view-components
802806
- name: View compilation

0 commit comments

Comments
 (0)