Skip to content

fix(docs): keep documentation generation native#407

Merged
PrzemyslawKlys merged 1 commit into
mainfrom
fix/native-docs-parameter-key-collision
May 27, 2026
Merged

fix(docs): keep documentation generation native#407
PrzemyslawKlys merged 1 commit into
mainfrom
fix/native-docs-parameter-key-collision

Conversation

@PrzemyslawKlys
Copy link
Copy Markdown
Member

Summary

  • remove the legacy documentation provider surface so PowerForge uses only the built-in documentation engine
  • drop the hidden New-ConfigurationDocumentation -Tool parameter and schema/config DocumentationTool entries
  • fix native help extraction for commands with parameters named Keys by enumerating dictionary entries explicitly
  • refresh current docs/help text so the removed provider knob is no longer advertised

Validation

  • dotnet build .\PSPublishModule.sln -c Release --nologo
  • dotnet test .\PowerForge.Tests\PowerForge.Tests.csproj -c Release --filter "FullyQualifiedName~Documentation" --nologo
  • imported PSPublishModule\bin\Release\net8.0\PSPublishModule.dll and confirmed New-ConfigurationDocumentation no longer exposes Tool
  • parsed updated schema JSON files with ConvertFrom-Json

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: dca67ae16c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread PSPublishModule/Cmdlets/NewConfigurationDocumentationCommand.cs
@PrzemyslawKlys PrzemyslawKlys merged commit b3e3ce5 into main May 27, 2026
6 checks passed
@PrzemyslawKlys PrzemyslawKlys deleted the fix/native-docs-parameter-key-collision branch May 27, 2026 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant