Open Moliholy opened 10 years ago
Thanks @Moliholy, this looks like a good idea. I'd be willing to merge it if you address the comments I made, and if the build passes. At the moment, there are some failing tests for the UI changes, and there are errors on Ruby 1.8.7 from Redcarpet.
Done, it should work out now.
After some time trying to figure out the reason the build did not pass, I finally ended up finding the solution: there is no README.md file on the tests, so an exception was raised when trying to read the compressed file. Now of course this has been solved. However, I had to change a bit the spec files to include the new "documentation" part in the JSON that is sent to the client. So, I have created a new build that finally passes (you can find it here: https://travis-ci.org/Moliholy/puppet-library/builds/31919219), but it won't pass yours basically because it does not include the new features' requirements.
Aside from that, I have included a new option called "--modulepath" that, in a nutshell, includes a directory with directly the modules' source, instead of strictly a packed format.
And, finally, links to directly download packed modules depending on the version.
Best regards, José
Hello,
in order to have a better visualization of the module in the web page I have added the README.md or README.markdown files included in the own compressed module, and parsed to html using redcarpet library (https://github.com/vmg/redcarpet) to be conveniently shown.
I have also fixed some issues with the top bar, which didn't correctly show the title of the modules.
Best regards, José Molina Colmenero