-
-
Notifications
You must be signed in to change notification settings - Fork 33
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 puppet-strings for modules & publish as gh-pages #19
Comments
This should be straightforward now with puppet-strings'
Possible plan:
This should be safe to run on all modules since the task in puppet-strings checks fails if the /doc directory exists and is not a git repository. This will prevent any modules that might have an existing /doc directory from being clobbered. Once this is in place it might be good to add an enhancement to automatically publish a list of modules on voxpupuli.org which links directly to the documentation based on https://raw.githubusercontent.com/voxpupuli/modulesync_config/master/managed_modules.yml |
Currently puppet strings doesn't exit with non-zero exit code when there's a failure, raised https://tickets.puppetlabs.com/browse/PDOC-89 to have this looked at. I don't think the above plan will work without it, unless doc build failures are considered acceptable before tagging a release? My thoughts were that this would be done as a final step prior to the push to the Forge, and fail if the docs can't be built. Another option is checking that docs can be built as part of regular Travis builds (without pushing to gh-pages) so any failures are found before attempting to build for the release. |
imo, documentation is an integral part of a release, so they should be… correct. |
We regenerate the Then there's also a CI check to update This all relies on We don't publish to GH pages, but we host https://www.puppetmodule.info now (after it was transferred from Dominic). For now I'd suggest this to close this. |
I also agree that we should close this. We publish the docs now at https://www.puppetmodule.info/ |
We should automatically generate a module's documentation from puppet-strings and publish it to gh-pages.
As a fall-back, we can just convert the readme to index.html
This way, all modules will be accessible under
https://puppet.community/puppet-{{name}}
The text was updated successfully, but these errors were encountered: