📖 [Docs]: PowerShell module repository defaults now documented#55
Open
Marius Storhaug (MariusStorhaug) wants to merge 6 commits into
Open
📖 [Docs]: PowerShell module repository defaults now documented#55Marius Storhaug (MariusStorhaug) wants to merge 6 commits into
Marius Storhaug (MariusStorhaug) wants to merge 6 commits into
Conversation
Contributor
Super-linter summary
All files and directories linted successfully For more information, see the GitHub Actions workflow run Powered by Super-linter |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PowerShell module repository defaults are now documented in the PSModule docs site. Module maintainers can use one central page to understand the expected repository metadata, layout, README shape, shared community files, supply-chain defaults, managed-file distribution model, documentation ownership, and release defaults.
New: Repository defaults for module repositories
A new PowerShell module repository defaults page defines the baseline contract for PSModule module repositories. It explains what belongs in the README, when placeholder repositories should say they are placeholders, and where generated command documentation should live.
New: Required common files and managed-file ownership
The standard now defines required repository files such as
README.md,LICENSE,CONTRIBUTING.md,SECURITY.md,SUPPORT.md,CODE_OF_CONDUCT.md,.github/dependabot.yml,.github/CODEOWNERS, linter settings, and PSModule settings. It also explains why repository-local files are needed even when organization-level.githubcommunity files exist, and points to Distributor as the preferred managed-file mechanism.New: Supply-chain defaults use Dependabot
Module repositories are expected to include Dependabot configuration for GitHub Actions and PowerShell dependencies. This makes dependency maintenance and supply-chain review part of the default repository contract.
Changed: README pages are concise start pages
Implemented module READMEs should answer what the module is, why it matters, how to install it, how it works at a high level, and where generated documentation lives. The capabilities section is a short discovery showcase, not command reference duplication.
Changed: Product documentation belongs in generated docs or docs folders
PowerShell modules should keep detailed product documentation in generated command help and, when needed, a
docs/documentation surface published through GitHub Pages or the initiative's module documentation site.Changed: Installation guidance uses PSResourceGet
New module repository documentation should use
Install-PSResource.Install-Moduleis only retained for legacy or historical context where changing it would misrepresent the referenced system.Technical Details
src/docs/PowerShell/Modules/Repository-Defaults.md.src/zensical.toml.src/docs/PowerShell/Modules/index.md.PSModule/Distributor#4andPSModule/Distributor#5.