Skip to content

Commit

Permalink
Use updated whatsnew (#32667)
Browse files Browse the repository at this point in the history
* Update assets to new format

The new version of the tool will reuse filenames rather than generating a new file each time. That way, there's no warning for a missing redirection.

Update the existing filename and indexes to match the new format.

* bugs found.

* remove old whats new package

* Add new NuPkg

* of course, add redirections

Figures I'd forget on this PR....
  • Loading branch information
BillWagner committed Nov 18, 2022
1 parent a56657a commit 68605b6
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 7 deletions.
Binary file not shown.
12 changes: 12 additions & 0 deletions .openpublishing.redirection.json
Expand Up @@ -79,6 +79,18 @@
{
"source_path_from_root": "/docs/tutorials/index.md",
"redirect_url": "/dotnet/samples-and-tutorials/"
},
{
"source_path_from_root": "/docs/whats-new/dotnet-docs-2022-08-01.md",
"redirect_url": "/dotnet/whats-new/dotnet-docs-mod2"
},
{
"source_path_from_root": "/docs/whats-new/dotnet-docs-2022-09-01.md",
"redirect_url": "/dotnet/whats-new/dotnet-docs-mod0"
},
{
"source_path_from_root": "/docs/whats-new/dotnet-docs-2022-10-01.md",
"redirect_url": "/dotnet/whats-new/dotnet-docs-mod1"
}
]
}
2 changes: 1 addition & 1 deletion .whatsnew.json
Expand Up @@ -8,7 +8,7 @@
},
"navigationOptions": {
"maximumNumberOfArticles": 3,
"tocParentNode": "What's new",
"tocParentNode": "Latest documentation updates",
"repoTocFolder": "docs/whats-new",
"indexParentNode": "Latest documentation updates",
"repoIndexFolder": "docs/whats-new"
Expand Down
@@ -1,6 +1,7 @@
---
title: ".NET docs: What's new for September 2022"
description: "What's new in the .NET docs for September 2022."
ms.custom: September-2022
ms.date: 10/01/2022
---

Expand Down
@@ -1,6 +1,7 @@
---
title: ".NET docs: What's new for October 2022"
description: "What's new in the .NET docs for October 2022."
ms.custom: October-2022
ms.date: 11/01/2022
---

Expand Down
@@ -1,6 +1,7 @@
---
title: ".NET docs: What's new for August 2022"
description: "What's new in the .NET docs for August 2022."
ms.custom: August-2022
ms.date: 09/01/2022
---

Expand Down
6 changes: 3 additions & 3 deletions docs/whats-new/index.yml
Expand Up @@ -19,11 +19,11 @@ landingContent:
- linkListType: whats-new
links:
- text: October 2022
url: dotnet-docs-2022-10-01.md
url: dotnet-docs-mod1.md
- text: September 2022
url: dotnet-docs-2022-09-01.md
url: dotnet-docs-mod0.md
- text: August 2022
url: dotnet-docs-2022-08-01.md
url: dotnet-docs-mod2.md
- title: Find language updates
linkLists:
- linkListType: whats-new
Expand Down
6 changes: 3 additions & 3 deletions docs/whats-new/toc.yml
Expand Up @@ -9,8 +9,8 @@ items:
expanded: true
items:
- name: October 2022
href: dotnet-docs-2022-10-01.md
href: dotnet-docs-mod1.md
- name: September 2022
href: dotnet-docs-2022-09-01.md
href: dotnet-docs-mod0.md
- name: August 2022
href: dotnet-docs-2022-08-01.md
href: dotnet-docs-mod2.md

0 comments on commit 68605b6

Please sign in to comment.