-
Notifications
You must be signed in to change notification settings - Fork 25.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a not-latest-version INCLUDE (#34108)
- Loading branch information
Showing
2 changed files
with
43 additions
and
3 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
aspnetcore/includes/not-latest-version-without-not-supported-content.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
:::moniker range="< aspnetcore-9.0" | ||
> [!NOTE] | ||
> This isn't the latest version of this article. For the current release, see the [.NET 9 version of this article](?view=aspnetcore-9.0&preserve-view=true). | ||
:::moniker-end | ||
|
||
:::moniker range="> aspnetcore-9.0" | ||
> [!IMPORTANT] | ||
> This information relates to a pre-release product that may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here. | ||
> | ||
> For the current release, see the [.NET 9 version of this article](?view=aspnetcore-9.0&preserve-view=true). | ||
:::moniker-end | ||
|
||
<!-- | ||
Include either this file or 'not-latest-version.md' at the top of articles. | ||
'not-latest-version.md': Includes not-supported content. | ||
'not-latest-version-without-not-supported-content.md' (this file): Doesn't include not-supported content. | ||
Use this file in articles that target >=8.0 until 9.0 reaches EOL, and then update those | ||
articles to use 'not-latest-version.md'. For articles that target >=7.0, 'not-latest-version.md' | ||
can be used without creating a zone/file moniker range mismatch error. | ||
When a new version is released, it might be necessary to temporarily comment out the current version | ||
moniker range section until the new moniker is created. | ||
Markdown to include this file: | ||
[!INCLUDE[](~/includes/not-latest-version-without-not-supported-content.md)] | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters