Change bread to have ?view= to clear (#26)

* Change bread to have ?view= to clear

* Change bread link

* fix view links

* fix view links

* fix view links

* update bread/toc

* update bread/toc

* fix breadcrumb toc

* Update index.md

* Update TOC.yml

Co-authored-by: mingwli <[email protected]>
This commit is contained in:
Andy De George
2020-09-15 18:13:14 -07:00
committed by GitHub
co-authored by mingwli
parent 611817b5e4
commit 57747b5d52
4 changed files with 21 additions and 20 deletions
+4 -3
View File
@@ -3,11 +3,12 @@ items:
expanded: true
items:
- name: ".NET 5 (and .NET Core 3.1)"
href: https://docs.microsoft.com/dotnet/desktop/winforms/?view=netdesktop-5.0
href: net/winforms/index.md?view=netdesktop-5.0&preserve-view=true
- name: .NET Framework
href: https://docs.microsoft.com/dotnet/desktop/winforms/?view=netframeworkdesktop-4.8
href: framework/winforms/index.yml?view=netframeworkdesktop-4.8&preserve-view=true
- name: Windows Presentation Foundation
expanded: true
items:
- name: .NET Framework
href: https://docs.microsoft.com/dotnet/desktop/wpf/?view=netframeworkdesktop-4.8
href: framework/wpf/index.md?view=netframeworkdesktop-4.8&preserve-view=true
@@ -1,15 +1,15 @@
items:
- name: Docs
tocHref: /
topicHref: /
tocHref: /?view=&preserve-view=true
topicHref: /?view=&preserve-view=true
items:
- name: .NET
tocHref: /dotnet/
topicHref: /dotnet/index
tocHref: /dotnet/?view=&preserve-view=true
topicHref: /dotnet/index?view=&preserve-view=true
items:
- name: Desktop Guide
tocHref: /dotnet/desktop
topicHref: /dotnet/desktop/index
tocHref: /dotnet/desktop?view=&preserve-view=true
topicHref: /dotnet/desktop/index?view=&preserve-view=true
items:
- name: .NET Framework
items:
+4 -4
View File
@@ -15,11 +15,11 @@ Historically, the .NET Framework-based documentation for WPF and WinForms has be
There are two implementations of WPF, each with it's own documentation:
01. The [.NET Framework 4 implementation](framework/wpf/index.md?view=netframeworkdesktop-4.8) that's supported by Visual Studio 2019 and Visual Studio 2017.
01. The [.NET Framework 4 implementation](framework/wpf/index.md?view=netframeworkdesktop-4.8&preserve-view=true) that's supported by Visual Studio 2019 and Visual Studio 2017.
.NET Framework 4 is a Windows-only version of .NET and is considered a Windows Operating System component. This version of Windows Presentation Foundation is distributed with .NET Framework.
The documentation for this version of WPF is available [here](framework/wpf/index.md?view=netframeworkdesktop-4.8).
The documentation for this version of WPF is available [here](framework/wpf/index.md?view=netframeworkdesktop-4.8&preserve-view=true).
01. The open-source implementation hosted on [GitHub](https://github.com/dotnet/wpf).
@@ -33,11 +33,11 @@ There are two implementations of WPF, each with it's own documentation:
There are two implementations of Windows Forms, each with it's own documentation:
01. The [.NET Framework 4 implementation](framework/winforms/index.yml?view=netframeworkdesktop-4.8) that's supported by Visual Studio 2019 and Visual Studio 2017.
01. The [.NET Framework 4 implementation](framework/winforms/index.yml?view=netframeworkdesktop-4.8&preserve-view=true) that's supported by Visual Studio 2019 and Visual Studio 2017.
.NET Framework 4 is a Windows-only version of .NET and is considered a Windows Operating System component. This version of WinForms is distributed with .NET Framework.
The documentation for this version of WinForms is available [here](framework/winforms/index.yml?view=netframeworkdesktop-4.8).
The documentation for this version of WinForms is available [here](framework/winforms/index.yml?view=netframeworkdesktop-4.8&preserve-view=true).
01. The open-source implementation hosted on [GitHub](https://github.com/dotnet/winforms).
+7 -7
View File
@@ -1,18 +1,18 @@
items:
- name: Docs
tocHref: /
topicHref: /
tocHref: /?view=&preserve-view=true
topicHref: /?view=&preserve-view=true
items:
- name: .NET
tocHref: /dotnet/
topicHref: /dotnet/index
tocHref: /dotnet/?view=&preserve-view=true
topicHref: /dotnet/index?view=&preserve-view=true
items:
- name: Desktop Guide
tocHref: /dotnet/desktop
topicHref: /dotnet/desktop/index
tocHref: /dotnet/desktop?view=&preserve-view=true
topicHref: /dotnet/desktop/index?view=&preserve-view=true
items:
- name: ".NET 5 (and .NET Core 3.1)"
items:
- name: Windows Forms
tocHref: /dotnet/desktop/winforms
tocHref: /dotnet/desktop/winforms/
topicHref: /dotnet/desktop/winforms/index