How to update help files
Note
Manual authoring of XML-based help is very difficult. The PlatyPS module allows you to write help in Markdown and then convert it to XML-based help. This makes it much easier to write and maintain help. PlatyPS can also create the Updateable Help packages for you. For more information, see Create XML-based help using PlatyPS.
There are many reasons to update help files, such as correcting errors, clarifying a concept, answering a frequently asked question, adding new files, or adding new and better examples.
To update a help file:
- Change the files.
- Translate the files into other UI cultures.
- Collect all help files (new, changed, and unchanged) for the module in each UI culture.
- Validate the files against the XML schema.
- Rebuild the CAB files for each UI culture.
- In the HelpInfo XML file, increment the version numbers of the CAB file for each UI culture.
- Upload the new CAB files to the location that's specified by the value of the HelpContentUri element in the HelpInfo XML file. Replace the older CAB files with the new CAB files.
- Upload the updated HelpInfo XML file to the location that's specified by the HelpInfoUri key in the module manifest. Replace the older HelpInfo XML file with the new file.
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
PowerShell