Skip to content

Commit 3826462

Browse files
committed
Pass basePath to Links method in TypeToMarkdown
1 parent bec2b31 commit 3826462

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

APIGenerator/APIGenerator/TypeGeneration/TypeToMarkdown.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ private static bool WriteTypeToMarkdownEnum(string basePath, Type type)
117117
FieldInfo[] fields = type.GetFields();
118118
markdown += fields.EnumTable();
119119
markdown += "\n\n";
120-
markdown += Links(type);
120+
markdown += Links(type, basePath);
121121

122122
Write(filePath, markdown);
123123
return false;
@@ -169,7 +169,7 @@ private static bool WriteTypeToMarkdownQuantity(string basePath, Type type, Dict
169169
markdown += type.TypeStructure("Class", "class", out var baseTypes);
170170

171171
markdown += "\n\n";
172-
markdown += Links(type);
172+
markdown += Links(type, basePath);
173173

174174
Write(filePath, markdown);
175175
return false;
@@ -227,7 +227,7 @@ private static bool WriteTypeToMarkdownBaseQuantity(string basePath, Type type,
227227

228228
markdown += type.TypeStructure(classWordCaptial, classWord, out baseTypes);
229229

230-
markdown += Links(type);
230+
markdown += Links(type, basePath);
231231

232232
Write(filePath, markdown);
233233

0 commit comments

Comments
 (0)