Skip to content

Commit

Permalink
Add breaking changes docs (#34063)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
BillWagner authored Nov 12, 2024
1 parent 525450c commit de099b7
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .openpublishing.publish.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
10 changes: 10 additions & 0 deletions aspnetcore/docfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
4 changes: 4 additions & 0 deletions aspnetcore/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit de099b7

Please sign in to comment.