Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/CloudNimble.DotNetDocs.Mintlify/MintlifyRenderer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public async Task RenderAsync(DocAssembly model)
ArgumentNullException.ThrowIfNull(model);

var apiOutputPath = Path.Combine(Context.DocumentationRootPath, Context.ApiReferencePath);
Console.WriteLine($"📝 Rendering documentation to: {apiOutputPath}");
// Console.WriteLine($"📝 Rendering documentation to: {apiOutputPath}");
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

direct console usage in internal libraries is very bad from the MSBuild perspective - you don't own stdout and should instead route all such logging through the MSBuild ILogger interfaces. Typically what this looks like for well-layered apps is using the M.E.L.ILogger internally, and making a small bridge adapter from M.E.L.ILogger to MSBuild's ILogger interface.


// Initialize DocsJsonManager if enabled (only on first call)
DocsJsonConfig? docsConfig = null;
Expand Down Expand Up @@ -1501,7 +1501,7 @@ private async Task GenerateNamespacePlaceholdersAsync(DocNamespace ns, string co
var namespacePath = Context.GetNamespaceFolderPath(ns.Name ?? "global");
var namespaceDir = Path.Combine(conceptualPath, namespacePath);

Console.WriteLine($"📝 Generating namespace placeholders for: {ns.Name} at {namespaceDir}");
// Console.WriteLine($"📝 Generating namespace placeholders for: {ns.Name} at {namespaceDir}");
Directory.CreateDirectory(namespaceDir);

// Generate individual placeholder files
Expand Down

This file was deleted.

302 changes: 0 additions & 302 deletions src/CloudNimble.DotNetDocs.Sdk.Tasks/DiscoverDocumentedProjectsTask.cs

This file was deleted.

Loading