Skip to content

Commit de099b7

Browse files
authored
Add breaking changes docs (#34063)
* Add breaking changes docs Fixes #33996 Add the configuration and TOC changes for publishing the breaking changes articles to the razor compiler. * Remove non-functioning attributes The file based meta data isn't working with this folder layout. So, add the metadata to the files directly See dotnet/razor#11199
1 parent 525450c commit de099b7

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
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: 10 additions & 0 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": [

aspnetcore/toc.yml

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

0 commit comments

Comments
 (0)