Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Missing parameters implementations for the Update-MarkdownModuleFile command

オープン
#867 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
半日
初心者へのやさしさ
68/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
csharp
領域
cli, documentation

調査の方向性

Start with the UpdateMarkdownModuleFileCommand class, where the issue says the HelpInfoUri and HelpVersion parameters exist but are never used. Compare it with New-MarkdownModuleFile, which already writes these values into the module front matter, and trace how the update path reads the manifest. Done when running Update-MarkdownModuleFile on a changed manifest rewrites Help Version and HelpInfoUri in the existing Test.md.

索引モデルが issue の本文から書いたものです。

説明

Steps to reproduce

The Update-MarkdownModuleFile command does not honor the HelpInfoUri and HelpVersion parameters (the properties are available in the UpdateMarkdownModuleFileCommand class, but not implemented).

Run New-MarkdownModuleFile with this module manifest snippet for Test.psd1 to create the module Markdown file:

Use ModuleVersion for the HelpVersion parameter.

@{
    RootModule        = 'Test.psm1'
    ModuleVersion     = '1.1.1'
    HelpInfoURI       = 'https://my-fancy-website/Test'
    ...
}

Then run Update-MarkdownModuleFile with an updated manifest snippet:

@{
    RootModule        = 'Test.psm1'
    ModuleVersion     = '2.0.0'
    HelpInfoURI       = 'https://someone-elses-fancy-website/Test'
    ...
}
Expected behavior

When created, front matter for module's Markdown Test.md is as follows:

---
document type: module
Help Version: 1.1.1
HelpInfoUri: https://my-fancy-website/Test
...
---

After running the update command with the updated manifest, the front matter should be as follows:

---
document type: module
Help Version: 2.0.0
HelpInfoUri: https://someone-elses-fancy-website/Test
...
---
Actual behavior

After running the update command, the front matter remains unchanged:

---
document type: module
Help Version: 1.1.1
HelpInfoUri: https://my-fancy-website/Test
...
---
Error details

Environment data
PSVersion                      7.6.6
PSEdition                      Core
GitCommitId                    7.6.6
OS                             Microsoft Windows 10.0.22631
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.4
SerializationVersion           1.1.0.1
WSManStackVersion              3.0
Version

1.0.3

Visuals

No response

主要言語
C#
スター
870
フォーク
166
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

PowerShell/platyPS のほかの issue

PowerShell/platyPS の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。