Skip to content

Add Invoke-MTDocs.#20

Closed
SQLCanuck wants to merge 1 commit intobelibug:mainfrom
SQLCanuck:ModuleDocumentation
Closed

Add Invoke-MTDocs.#20
SQLCanuck wants to merge 1 commit intobelibug:mainfrom
SQLCanuck:ModuleDocumentation

Conversation

@SQLCanuck
Copy link

Closes Issue #18


$docsPath = Join-Path $data.ProjectRoot -ChildPath 'docs'

if (Test-Path -Path $docsPath) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why would we removing existing docs, md files in docs shoudl be considred as source of truth. They are modified manually and should not be removed/regenerated on every build.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to take a slightly different approach, focus is to generate the final MAML files from Markdown docs. Your pull request is focusing on generating the markdown files.

Core functionality of ModuleTools is to generate module that can be published directly to PSGallery or private repos. How user generates and stores mardkown in platyps format under docs folder is completely up to user and should be flexible. We will only bundle and ship the said md files as MAML help in module.

@belibug
Copy link
Owner

belibug commented Mar 19, 2026

Similar logic has been adopted into the main branch. Closing this Pull request.

@belibug belibug closed this Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants