Skip to content

More detailed help for authoring (rather than just using) comment-based help #12374

@jaberenberg

Description

@jaberenberg

Prerequisites

  • Existing Issue: Search the existing issues for this repository. If there is an issue that fits your needs do not file a new one. Subscribe, react, or comment on that issue instead.
  • Descriptive Title: Write the title for this issue as a short synopsis. If possible, provide context. For example, "Typo in Get-Foo cmdlet" instead of "Typo."
  • Verify Version: If there is a mismatch between documentation and the behavior on your system, ensure that the version you are using is the same as the documentation. Check this box if they match or the issue you are reporting is not version specific.

Links

about_Comment_Based_Help

Summary

This was originally submitted at PowerShell Issue # 26071, where @mklement0 directed me to resubmit it here, PowerShell Docs. I was also referred to help topic about_comment_based_help, which I had already seen and incorporated into my issue comments.

Details

I am composing Get-Help compatible help text for my scripts and modules.
I am not using MAML or XML, simply comment-based text embedded in my
.ps1 and .psm1 files, and plain-text about_.help.txt files.

There is help for this authoring activity Out There, some of it contradictory
(section headings with or without a leading period), some of it lacking useful
detail (-Full provides more info than -Detailed -- but precisely what?),
and some of it seemingly incorrect: I can not, in general, use other than
the 7-bit character subset, even though my files are saved as UTF-8.
If I try an 8-bit character, Get-Help displays a don't-know character.

For my own private reference, I have compiled a brief guide. But if you find that
I've simply overlooked a site that covers what I've written, please set me straight.
Also if I'm wrong.

The read-only link to my MS OneDrive PowerShell folder. which contains my pdf, is PowerShell .

Suggested Fix

No response

Metadata

Metadata

Assignees

Labels

area-helpsystemArea - Help services (pipeline, get/update-help)area-sdk-docsArea - SDK docsissue-doc-bugIssue - error in documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions