Comments (3)
This is functional code, and can be un-commented and utilized.
This was commented out because some module authors opt to reverse their help workflow once the markdown is published.
Initial help based comments -> Markdown generated -> External help generated -> Comment based help replaced with external help reference.
At this point some module authors stop updating comment based help and elect instead to edit the markdown directly and then regen from that point using platyPS directly.
Module generators by their nature are somewhat opinionated and I hadn't made a decision if replacing the top level docs on each build was the right call.
Thus, this was commented out.
In review, I think Catesta is driven from a design model that derives the 'source of help truth' from the comment based help. So, I will get this un-commented and documented as the default behavior.
from catesta.
Noticing that you have code to do this already:
# here you could move your docs up to your repos doc level if you wanted
Write-Build Gray ' Overwriting docs output...'
Move-Item "$($script:ArtifactsPath)\docs\*.md" -Destination "..\docs\" -Force
Remove-Item "$($script:ArtifactsPath)\docs" -Recurse -Force -ErrorAction Stop
Write-Build Gray ' ...Docs output completed.'
This seems to be commented out in the module available from PSGallery. Assuming something wasn't working here and thus this was commented out, and the changes in this repo haven't been pushed to PSGallery just yet?
from catesta.
Sounds reasonable, thanks for the context!
from catesta.
Related Issues (20)
- Leverage Update-Markdownhelp when generating docs
- Improve ExportedFunctions check
- Remove Export-ModuleMember from Catesta.psm1 HOT 1
- Scaffold new project - .gitignore file missing? HOT 3
- ModuleOnly states that it scaffolding a GitHub Actions module
- On certain Linux distro an error is occuring stating file not found
- Upgrade Pester and some of the dependencies HOT 2
- Missing comma in tasks json
- Add Pester 5 capabilities
- Evaluate latest version of platyPS for help creation HOT 3
- Old Pester syntax is used for should in module tests
- Assert-MockCalled being deprecated in Pester 5
- Casing issue related to folder Editor which causes undesired behavior on certain OS's HOT 1
- Add template example for GitHub SECURITY.md file
- GitLab support for CICDChoice HOT 1
- Vanilla module and Vanilla vault do not include support for PlatyPS external help generation HOT 1
- VSCode question prompt not present in all templates
- Bitbucket support
- Build task fails if docs folder does not exist already HOT 1
- Additional features & options for build and pipeline processes.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from catesta.