Skip to content

Commit 4c8d8a3

Browse files
authored
keep the latest inheritdoc only (#692)
* keep the latest inheritdoc only * update mdoc version to 5.9.3.1 * update format
1 parent 2ce4867 commit 4c8d8a3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Diff for: mdoc/Consts.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ namespace Mono.Documentation
33
{
44
public static class Consts
55
{
6-
public static string MonoVersion = "5.9.3";
6+
public static string MonoVersion = "5.9.3.1";
77
public const string DocId = "DocId";
88
public const string CppCli = "C++ CLI";
99
public const string CppCx = "C++ CX";

Diff for: mdoc/Mono.Documentation/Updater/MsxdocDocumentationImporter.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ public override void ImportDocumentation (DocsNodeInfo info)
7373
if (DocUtils.NeedsOverwrite(e["returns"]))
7474
MDocUpdater.ClearElement(e, "returns");
7575
}
76-
77-
76+
if (elem.SelectSingleNode("inheritdoc") != null)
77+
MDocUpdater.ClearElement(e, "inheritdoc");
7878

7979
foreach (XmlNode child in elem.ChildNodes)
8080
{

Diff for: mdoc/mdoc.nuspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package >
33
<metadata>
44
<id>mdoc</id>
5-
<version>5.9.3</version>
5+
<version>5.9.3.1</version>
66
<title>mdoc</title>
77
<authors>Microsoft</authors>
88
<owners>Microsoft</owners>

0 commit comments

Comments
 (0)