Skip to content

fix: use blank-line description format for .INPUTS and .OUTPUTS#34

Merged
Marius Storhaug (MariusStorhaug) merged 1 commit into
mainfrom
inputs-outputs-description-format
Jul 25, 2026
Merged

fix: use blank-line description format for .INPUTS and .OUTPUTS#34
Marius Storhaug (MariusStorhaug) merged 1 commit into
mainfrom
inputs-outputs-description-format

Conversation

@MariusStorhaug

Copy link
Copy Markdown
Member

What

Updates the scaffold function to use the blank-line description format for .INPUTS and .OUTPUTS comment-based help:

.INPUTS
None

You cannot pipe objects to this function.

.OUTPUTS
System.String

A greeting string for the given name.

Why

The type-name-only format works but gives callers no useful context. Descriptions are required — they should say what is actually piped in or returned, not just repeat the type name.

This PR is also a CI verification: confirming that the blank-line format (type → blank line → description paragraph) passes PlatyPS + markdownlint in Build-Docs. Previous attempts failed with:

  • Single-line System.String. Description. → MD026 (trailing . in heading)
  • 4-space-indented description → MD046 (indented code block)

The blank-line format should produce a clean ### type heading with the description as body text below — no linting violations.

Informs

  • MSXOrg/docs#69 — if CI passes here, #69 should be closed and the docs updated to require descriptions in this format.

Testing whether type + blank line + description paragraph passes
PlatyPS + markdownlint in the Build-Docs pipeline. This is the format
required by PR #69 discussion — descriptions are required, not optional.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@MariusStorhaug
Marius Storhaug (MariusStorhaug) marked this pull request as ready for review July 25, 2026 16:21
@github-actions

Copy link
Copy Markdown

Super-linter summary

Language Validation result
CHECKOV Pass ✅
GITHUB_ACTIONS Pass ✅
GITLEAKS Pass ✅
GIT_MERGE_CONFLICT_MARKERS Pass ✅
MARKDOWN Pass ✅
NATURAL_LANGUAGE Pass ✅
POWERSHELL Pass ✅
PRE_COMMIT Pass ✅
SPELL_CODESPELL Pass ✅
TRIVY Pass ✅
YAML Pass ✅

All files and directories linted successfully

For more information, see the GitHub Actions workflow run

Powered by Super-linter

@MariusStorhaug
Marius Storhaug (MariusStorhaug) merged commit 63b41ad into main Jul 25, 2026
39 checks passed
@MariusStorhaug
Marius Storhaug (MariusStorhaug) deleted the inputs-outputs-description-format branch July 25, 2026 16:29
@github-actions

Copy link
Copy Markdown

✅ New release: PowerShell Gallery - Template-PSModule 0.0.12

@github-actions

Copy link
Copy Markdown

✅ New release: GitHub - Template-PSModule 0.0.12

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