Skip to content
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

Automatically generate external help during build #167

Merged
merged 3 commits into from
May 4, 2019
Merged

Conversation

vexx32
Copy link
Owner

@vexx32 vexx32 commented May 4, 2019

PR Summary

Modifies the build system to automatically generate external help for the module as the final build step, just before deployment.

Context

When I first added PlatyPS markdown files to the repo, I also added the external help XML so that I could push that to the gallery. It doesn't make sense to have both MD and XML versions of the help in the repo; the markdown should be "the help files", and the external help generation can be handled automatically by the build system.

Changes

  • Removed the existing XML external help files and the en-us/ folder from the PSKoans module folder.
  • Added New-ExternalHelp call to the build step of the Psake tasks.
  • Added Platyps as a module to install pre-build in the Azure yml.

Checklist

  • Pull Request has a meaningful title.
  • Summarised changes.
  • Pull Request is ready to merge & is not WIP.
  • Added tests / only testable interactively.
    • Make sure you add a new test if old tests do not effectively test the code changed.
  • Added documentation / opened issue to track adding documentation at a later date.

vexx32 added 3 commits May 3, 2019 22:15
Use Platyps to generate external help on build.
This will minimise the number of extra files in the repo.
We only need to maintain the MD docs in the repo itself.
@vexx32 vexx32 added the Category-Build 🚀 Modifies the build / deployment system label May 4, 2019
@vexx32 vexx32 requested a review from steviecoaster as a code owner May 4, 2019 02:36
@vexx32 vexx32 merged commit e0a54b0 into master May 4, 2019
@vexx32 vexx32 deleted the Build/GenerateHelp branch May 4, 2019 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category-Build 🚀 Modifies the build / deployment system
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

1 participant