-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AzureDevOpsDsc: Wiki help and examples needs automatically generating #15
Comments
The build.yml should be updated with the following when fixing this issue (after issue dsccommunity/DscResource.DocGenerator#51 has been resolved). It will make it possible to use markdown code in the comment-based help that will be used for the Wiki pages, but removed for the conceptual help. ####################################################
# DscResource.DocGenerator Configuration #
####################################################
DscResource.DocGenerator:
Generate_Conceptual_Help:
MarkdownCodeRegularExpression:
- '\`(.+?)\`' # Match inline code-block
- '\\(\\)' # Match escaped backslash
- '\[[^\[]+\]\((.+?)\)' # Match markdown URL
- '_(.+?)_' # Match Italic (underscore)
- '\*\*(.+?)\*\*' # Match bold
- '\*(.+?)\*' # Match Italic (asterisk) Wiki page generation is probably not supported by DscResource.DocGenerator for class-based resource yet either. |
The issue dsccommunity/DscResource.DocGenerator#51 has been resolved and DscResource.DocGenerator can now generate conceptual help for class-based resource. But the issue dsccommunity/DscResource.DocGenerator#52 is tracking that Wiki generation is not yet supported for class-based resources. My plan is try to resolve dsccommunity/DscResource.DocGenerator#52 on weekend in the near future. |
- AzureDevOpsDsc - Added pipeline support for publish markdown content to the GitHub repository wiki ([issue #15](#15)). This will publish the markdown documentation that is generated bu the build pipeline. - Added new source folder `WikiSource`. Every markdown file in the folder `WikiSource` will be published to the GitHub repository wiki. The markdown file `Home.md` will be updated with the correct module version on each publish to gallery (including preview). - Updated pipeline file `RequiredModules.ps1` to latest pipeline pattern. - Updated pipeline file `build.yaml` to latest pipeline pattern. - AzDevOpsProject - Added description to the comment-based help. - Added a validate set to the parameter `SourceControlType` to (for now) limit the parameter to the values `Git` and `Tfvc`. - Update comment-based help to remove text which the valid values are since that is now add automatically to the documentation (conceptual help and wiki documentation).
Logging this issue off the back of the initial PR (#7) so it's logged and not missed...
Details of the scenario you tried and the problem that is occurring
With other DSC Community modules (e.g.
SqlServerDsc
), the Wiki help is generated from MOF schema definitions - Currently this module uses class-based resources and there is no current equivalent to generate this documentation.There needs to be some functionality added to generate the Wiki.
The text was updated successfully, but these errors were encountered: