-
Notifications
You must be signed in to change notification settings - Fork 867
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: markdown support namespaces and separated member pages (#9235)
* feat: support markdown namespaces * test(snapshot): update snapshots for 3971cc0 * short link for class members * test(snapshot): update snapshots for d6979a8 * support namespacelayout.nested * support memberlayout.separatepages * test(snapshot): update snapshots for ee26a96 * merge type members * test(snapshot): update snapshots for 6f096a5 --------- Co-authored-by: Yufei Huang <[email protected]>
- Loading branch information
Showing
48 changed files
with
1,132 additions
and
450 deletions.
There are no files selected for viewing
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
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
8 changes: 8 additions & 0 deletions
8
test/docfx.Snapshot.Tests/SamplesTest.SeedMarkdown/BuildFromAssembly.verified.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,8 @@ | ||
# Namespace BuildFromAssembly | ||
|
||
## Classes | ||
|
||
[Class1](BuildFromAssembly.Class1.md) | ||
|
||
This is a test class. | ||
|
6 changes: 6 additions & 0 deletions
6
...x.Snapshot.Tests/SamplesTest.SeedMarkdown/BuildFromCSharpSourceCode.verified.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,6 @@ | ||
# Namespace BuildFromCSharpSourceCode | ||
|
||
## Classes | ||
|
||
[CSharp](BuildFromCSharpSourceCode.CSharp.md) | ||
|
2 changes: 1 addition & 1 deletion
2
...t.Tests/SamplesTest.SeedMarkdown/BuildFromProject.Class1.IIssue8948.verified.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
2 changes: 1 addition & 1 deletion
2
...ot.Tests/SamplesTest.SeedMarkdown/BuildFromProject.Class1.Issue8665.verified.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
2 changes: 1 addition & 1 deletion
2
...SamplesTest.SeedMarkdown/BuildFromProject.Class1.Issue8696Attribute.verified.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
2 changes: 1 addition & 1 deletion
2
...ot.Tests/SamplesTest.SeedMarkdown/BuildFromProject.Class1.Issue8948.verified.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
2 changes: 1 addition & 1 deletion
2
...uildFromProject.Class1.Test`1.verified.md → ...uildFromProject.Class1.Test-1.verified.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
2 changes: 1 addition & 1 deletion
2
...Inheritdoc.Issue6366.Class1`1.verified.md → ...Inheritdoc.Issue6366.Class1-1.verified.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
2 changes: 1 addition & 1 deletion
2
...mplesTest.SeedMarkdown/BuildFromProject.Inheritdoc.Issue6366.Class2.verified.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
2 changes: 1 addition & 1 deletion
2
...ests/SamplesTest.SeedMarkdown/BuildFromProject.Inheritdoc.Issue6366.verified.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
2 changes: 1 addition & 1 deletion
2
...ests/SamplesTest.SeedMarkdown/BuildFromProject.Inheritdoc.Issue7035.verified.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
2 changes: 1 addition & 1 deletion
2
...ests/SamplesTest.SeedMarkdown/BuildFromProject.Inheritdoc.Issue7484.verified.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
2 changes: 1 addition & 1 deletion
2
...ests/SamplesTest.SeedMarkdown/BuildFromProject.Inheritdoc.Issue8101.verified.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
2 changes: 1 addition & 1 deletion
2
...ests/SamplesTest.SeedMarkdown/BuildFromProject.Inheritdoc.Issue8129.verified.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
2 changes: 1 addition & 1 deletion
2
...pshot.Tests/SamplesTest.SeedMarkdown/BuildFromProject.Issue8540.A.A.verified.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
6 changes: 6 additions & 0 deletions
6
...napshot.Tests/SamplesTest.SeedMarkdown/BuildFromProject.Issue8540.A.verified.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,6 @@ | ||
# Namespace BuildFromProject.Issue8540.A | ||
|
||
## Classes | ||
|
||
[A](BuildFromProject.Issue8540.A.A.md) | ||
|
2 changes: 1 addition & 1 deletion
2
...pshot.Tests/SamplesTest.SeedMarkdown/BuildFromProject.Issue8540.B.B.verified.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
6 changes: 6 additions & 0 deletions
6
...napshot.Tests/SamplesTest.SeedMarkdown/BuildFromProject.Issue8540.B.verified.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,6 @@ | ||
# Namespace BuildFromProject.Issue8540.B | ||
|
||
## Classes | ||
|
||
[B](BuildFromProject.Issue8540.B.B.md) | ||
|
8 changes: 8 additions & 0 deletions
8
....Snapshot.Tests/SamplesTest.SeedMarkdown/BuildFromProject.Issue8540.verified.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,8 @@ | ||
# Namespace BuildFromProject.Issue8540 | ||
|
||
## Namespaces | ||
|
||
[BuildFromProject.Issue8540.A](BuildFromProject.Issue8540.A.md) | ||
|
||
[BuildFromProject.Issue8540.B](BuildFromProject.Issue8540.B.md) | ||
|
44 changes: 44 additions & 0 deletions
44
test/docfx.Snapshot.Tests/SamplesTest.SeedMarkdown/BuildFromProject.verified.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,44 @@ | ||
# Namespace BuildFromProject | ||
|
||
## Namespaces | ||
|
||
[BuildFromProject.Issue8540](BuildFromProject.Issue8540.md) | ||
|
||
## Classes | ||
|
||
[Class1](BuildFromProject.Class1.md) | ||
|
||
[Inheritdoc](BuildFromProject.Inheritdoc.md).[Issue6366](BuildFromProject.Inheritdoc.Issue6366.md).[Class1](BuildFromProject.Inheritdoc.Issue6366.Class1-1.md)<T> | ||
|
||
[Inheritdoc](BuildFromProject.Inheritdoc.md).[Issue6366](BuildFromProject.Inheritdoc.Issue6366.md).[Class2](BuildFromProject.Inheritdoc.Issue6366.Class2.md) | ||
|
||
[Inheritdoc](BuildFromProject.Inheritdoc.md) | ||
|
||
[Inheritdoc](BuildFromProject.Inheritdoc.md).[Issue6366](BuildFromProject.Inheritdoc.Issue6366.md) | ||
|
||
[Inheritdoc](BuildFromProject.Inheritdoc.md).[Issue7035](BuildFromProject.Inheritdoc.Issue7035.md) | ||
|
||
[Inheritdoc](BuildFromProject.Inheritdoc.md).[Issue7484](BuildFromProject.Inheritdoc.Issue7484.md) | ||
|
||
This is a test class to have something for DocFX to document. | ||
|
||
[Inheritdoc](BuildFromProject.Inheritdoc.md).[Issue8101](BuildFromProject.Inheritdoc.Issue8101.md) | ||
|
||
[Class1](BuildFromProject.Class1.md).[Issue8665](BuildFromProject.Class1.Issue8665.md) | ||
|
||
[Class1](BuildFromProject.Class1.md).[Issue8696Attribute](BuildFromProject.Class1.Issue8696Attribute.md) | ||
|
||
[Class1](BuildFromProject.Class1.md).[Issue8948](BuildFromProject.Class1.Issue8948.md) | ||
|
||
[Class1](BuildFromProject.Class1.md).[Test](BuildFromProject.Class1.Test-1.md)<T> | ||
|
||
## Structs | ||
|
||
[Inheritdoc](BuildFromProject.Inheritdoc.md).[Issue8129](BuildFromProject.Inheritdoc.Issue8129.md) | ||
|
||
## Interfaces | ||
|
||
[IInheritdoc](BuildFromProject.IInheritdoc.md) | ||
|
||
[Class1](BuildFromProject.Class1.md).[IIssue8948](BuildFromProject.Class1.IIssue8948.md) | ||
|
12 changes: 12 additions & 0 deletions
12
...docfx.Snapshot.Tests/SamplesTest.SeedMarkdown/BuildFromVBSourceCode.verified.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,12 @@ | ||
# Namespace BuildFromVBSourceCode | ||
|
||
## Classes | ||
|
||
[BaseClass1](BuildFromVBSourceCode.BaseClass1.md) | ||
|
||
This is the BaseClass | ||
|
||
[Class1](BuildFromVBSourceCode.Class1.md) | ||
|
||
This is summary from vb class... | ||
|
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
2 changes: 1 addition & 1 deletion
2
...own/CatLibrary.CatException`1.verified.md → ...own/CatLibrary.CatException-1.verified.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
2 changes: 1 addition & 1 deletion
2
...Markdown/CatLibrary.Complex`2.verified.md → ...Markdown/CatLibrary.Complex-2.verified.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Class Complex | ||
# Class Complex<T, J> | ||
|
||
__Namespace:__ [CatLibrary](CatLibrary.md) | ||
__Assembly:__ CatLibrary.dll | ||
|
4 changes: 2 additions & 2 deletions
4
...amplesTest.SeedMarkdown/CatLibrary.Core.ContainersRefType.ColorType.verified.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
4 changes: 2 additions & 2 deletions
4
...edMarkdown/CatLibrary.Core.ContainersRefType.ContainersRefTypeChild.verified.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
4 changes: 2 additions & 2 deletions
4
...n/CatLibrary.Core.ContainersRefType.ContainersRefTypeChildInterface.verified.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
4 changes: 2 additions & 2 deletions
4
...arkdown/CatLibrary.Core.ContainersRefType.ContainersRefTypeDelegate.verified.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
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
Oops, something went wrong.