Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
minor refactoring
  • Loading branch information
modery committed Nov 9, 2022
1 parent 2184d0e commit 852a6de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion PowerDocu.FlowDocumenter/FlowDocumentationContent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ class FlowDocumentationContent

public FlowDocumentationContent(FlowEntity flow, string path)
{
NotificationHelper.SendNotification("Preparing documentation content for " + flow.Name);
folderPath = path + CharsetHelper.GetSafeName(@"\FlowDoc - " + flow.Name + @"\");
filename = CharsetHelper.GetSafeName(flow.Name) + ((flow.ID != null) ? ("(" + flow.ID + ")") : "");
metadata = new FlowMetadata(flow);
Expand All @@ -27,7 +28,6 @@ public FlowDocumentationContent(FlowEntity flow, string path)
variables = new FlowVariables(flow);
details = new FlowDetails();
actions = new FlowActions(flow);
NotificationHelper.SendNotification("Preparing documentation content for " + flow.Name);
}
}

Expand Down
10 changes: 2 additions & 8 deletions PowerDocu.FlowDocumenter/FlowMarkdownBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,8 @@ namespace PowerDocu.FlowDocumenter
{
class FlowMarkdownBuilder : MarkdownBuilder
{
private readonly MdDocument mainDocument;
private readonly string mainDocumentFileName;
private readonly MdDocument connectionsDocument;
private readonly string connectionsDocumentFileName;
private readonly MdDocument variablesDocument;
private readonly string variablesDocumentFileName;
private readonly MdDocument triggerActionsDocument;
private readonly string triggerActionsFileName;
private readonly string mainDocumentFileName, connectionsDocumentFileName, variablesDocumentFileName, triggerActionsFileName;
private readonly MdDocument mainDocument, connectionsDocument, variablesDocument, triggerActionsDocument;
private readonly FlowDocumentationContent content;
private readonly DocumentSet<MdDocument> set;
private MdTable metadataTable;
Expand Down

0 comments on commit 852a6de

Please sign in to comment.