mirror of
https://github.com/OpenLogics/MewtocolNet.git
synced 2025-12-06 03:01:24 +00:00
Dev (#9)
* Added autodoc builder step * Added ignore badges branch for push events * Fixed doc builder
This commit is contained in:
@@ -17,8 +17,19 @@ Console.WriteLine("Building docs for PLC types...");
|
||||
var entryLoc = Assembly.GetEntryAssembly();
|
||||
ArgumentNullException.ThrowIfNull(entryLoc);
|
||||
|
||||
string filePath = Path.Combine(entryLoc.Location, @"..\..\..\..\Docs\plctypes.md");
|
||||
Console.WriteLine($"{filePath}");
|
||||
string filePath = null!;
|
||||
|
||||
if(args.Length == 0) {
|
||||
|
||||
filePath = Path.Combine(entryLoc.Location, @"..\..\..\..\Docs\plctypes.md");
|
||||
|
||||
} else {
|
||||
|
||||
filePath = args[0];
|
||||
|
||||
}
|
||||
|
||||
Console.WriteLine($"{filePath}");
|
||||
|
||||
StringBuilder markdownBuilder = new StringBuilder();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user