Skip to content

Commit

Permalink
include asmName in close file; add title prop for title and close files
Browse files Browse the repository at this point in the history
  • Loading branch information
gregsdennis committed Jun 5, 2023
1 parent 709ccd7 commit b5243c6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/ApiDocsGenerator/ApiDocGenerationService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public static (string title, string close) GenerateFolderMarkersForNamespace(Typ
var asmName = type.Assembly.GetName().Name;

var title = @$"---
title: __title
bookmark: {asmName}
permalink: /api/{asmName}/:title/
folder: true
Expand All @@ -41,7 +42,8 @@ public static (string title, string close) GenerateFolderMarkersForNamespace(Typ
---
";
var close = @$"---
permalink: /api/JsonSchema.Net/:title/
title: __close
permalink: /api/{asmName}/:title/
close: true
order: ""{index}.99""
---
Expand Down

0 comments on commit b5243c6

Please sign in to comment.