-
Notifications
You must be signed in to change notification settings - Fork 134
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
Add support for Auto Documentation - Fixes #677 #728
Conversation
Codecov Report
@@ Coverage Diff @@
## main #728 +/- ##
===================================
- Coverage 72% 72% -1%
===================================
Files 30 30
Lines 4427 4427
===================================
- Hits 3213 3199 -14
- Misses 1214 1228 +14
|
Hi @johlju - would you mind reviewing this when you get time? Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 127 of 136 files at r1, 9 of 9 files at r2, all commit messages.
Reviewable status: all files reviewed, 5 unresolved discussions (waiting on @PlagueHO)
a discussion (no related file):
Should add a WikiSource folder, under ./source
, then add a Home.md, like this: https://github.com/dsccommunity/FileSystemDsc/blob/main/source/WikiSource/Home.md.
There is a placeholder in this file that will automatically update to the semantic version during build (and then published).
README.md, line 19 at r2 (raw file):
against that module
Maybe "against this module"?
README.md, line 47 at r2 (raw file):
## Resources
In the future: Seeing this, we should really try to add this ToC-list to the Home.md automatically based on the resource's README.md 🤔 Then a contributor does not need to update this README.md for new resource. But non-blocking as that is a big thing to create. I have created a new issue for that in DocGenerator.
.vscode/settings.json, line 11 at r2 (raw file):
"powershell.codeFormatting.pipelineIndentationStyle": "IncreaseIndentationAfterEveryPipeline",
I usually change this to '...FirstPipeline' otherwise we have to change all code again in all repos. I have (now) added and issue to fix this in Sampler.
source/DSCResources/DSC_xPackageResource/en-US/DSC_xPackageResource.schema.mfl, line 1 at r2 (raw file):
xMsiPackage
THis is not xMsiPackage, but xPackage?
source/Examples/Resources/xDscWebService/5-xDscWebService_RegistrationWithSecurityBestPractices_Config.ps1, line 81 at r2 (raw file):
Import-DSCResource
I think this should still be Import-DscResource
(lowercase 'sc' in 'Dsc'). Throughout.
@PlagueHO just minor things! Awesome work on this, I know how long it takes to do a PR like this 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: all files reviewed, 4 unresolved discussions (waiting on @johlju)
a discussion (no related file):
Previously, johlju (Johan Ljunggren) wrote…
Should add a WikiSource folder, under .
/source
, then add a Home.md, like this: https://github.com/dsccommunity/FileSystemDsc/blob/main/source/WikiSource/Home.md.There is a placeholder in this file that will automatically update to the semantic version during build (and then published).
Done.
Great stuff. Thanks @johlju - should be good to go.
README.md, line 19 at r2 (raw file):
Previously, johlju (Johan Ljunggren) wrote…
against that module
Maybe "against this module"?
Done.
README.md, line 47 at r2 (raw file):
Previously, johlju (Johan Ljunggren) wrote…
## Resources
In the future: Seeing this, we should really try to add this ToC-list to the Home.md automatically based on the resource's README.md 🤔 Then a contributor does not need to update this README.md for new resource. But non-blocking as that is a big thing to create. I have created a new issue for that in DocGenerator.
Awesome - great idea. That would be really handy.
.vscode/settings.json, line 11 at r2 (raw file):
Previously, johlju (Johan Ljunggren) wrote…
"powershell.codeFormatting.pipelineIndentationStyle": "IncreaseIndentationAfterEveryPipeline",
I usually change this to '...FirstPipeline' otherwise we have to change all code again in all repos. I have (now) added and issue to fix this in Sampler.
Done.
source/DSCResources/DSC_xPackageResource/en-US/DSC_xPackageResource.schema.mfl, line 1 at r2 (raw file):
Previously, johlju (Johan Ljunggren) wrote…
xMsiPackage
THis is not xMsiPackage, but xPackage?
Good catch. Done.
source/Examples/Resources/xDscWebService/5-xDscWebService_RegistrationWithSecurityBestPractices_Config.ps1, line 81 at r2 (raw file):
Previously, johlju (Johan Ljunggren) wrote…
Import-DSCResource
I think this should still be
Import-DscResource
(lowercase 'sc' in 'Dsc'). Throughout.
Fixed. Throughout.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 17 of 17 files at r3, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @PlagueHO)
@PlagueHO I leave this for you to merge. 🙂 Awesome work on this! |
Thanks @johlju - appreciate your time too! |
Pull Request (PR) description
This PR will add support for automatic documentation and Wiki generation.
This Pull Request (PR) fixes the following issues
Task list
file CHANGELOG.md. Entry should say what was changed and how that
affects users (if applicable), and reference the issue being resolved
(if applicable).
and comment-based help.
This change is