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
pull/34088/head
Bill Wagner 2024-11-12 14:40:23 -05:00 committed by GitHub
parent 525450cac5
commit de099b775c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 21 additions and 0 deletions

View File

@ -63,6 +63,13 @@
"url": "https://github.com/dotnet/AspNetCore.Docs.Samples",
"branch": "main",
"branch_mapping": {}
},
{
"path_to_root": "_razor",
"url": "https://github.com/dotnet/razor",
"branch": "main",
"include_in_build": true,
"branch_mapping": {}
}
],
"branch_target_mapping": {

View File

@ -6,6 +6,16 @@
"exclude": [ "**/includes/**", "***/license.md", "**/obj/**", "***/readme.md", "**/sample/**", "**/samples/**", "_site/**" ],
"group": "group1",
"src": "."
},
{
"files": [
"Compiler Breaking Changes - DotNet 8.md",
"Compiler Breaking Changes - DotNet 9.md"
],
"exclude": [],
"group": "group1",
"src": "../_razor/docs",
"dest": "_razor/docs"
}
],
"resource": [

View File

@ -799,6 +799,10 @@ items:
uid: mvc/controllers/filters
- name: Razor SDK
uid: razor-pages/sdk
- name: Razor breaking changes since .NET 8
href: ../_razor/docs/Compiler%20Breaking%20Changes%20-%20DotNet%208.md
- name: Razor breaking changes since .NET 9
href: ../_razor/docs/Compiler%20Breaking%20Changes%20-%20DotNet%209.md
- name: View components
uid: mvc/views/view-components
- name: View compilation