We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4c1729 commit f46d26fCopy full SHA for f46d26f
1 file changed
src/harp.schemaprocessor/Program.cs
@@ -11,7 +11,7 @@
11
12
var builder = new StringBuilder();
13
builder.AppendLine($@"---
14
-uid: Harp.{deviceModel.device}.Device
+uid: Harp.{deviceModel.device}
15
---
16
17
<table>
@@ -79,5 +79,13 @@
79
}
80
81
var output = builder.ToString();
82
-if (args.Length > 1) File.WriteAllText(Path.Combine(args[1], $"Harp_{deviceModel.device}_Device.md"), output);
+if (args.Length > 1)
83
+{
84
+ File.WriteAllText(Path.Combine(args[1], $"Harp_{deviceModel.device}.md"), output);
85
+ File.WriteAllText(Path.Combine(args[1], $"Harp_{deviceModel.device}_Device.md"), $@"---
86
+uid: Harp.{deviceModel.device}.Device
87
+---
88
+
89
+[!include[Device](./Harp_{deviceModel.device}.md)]");
90
+}
91
else Console.WriteLine(output);
0 commit comments