Added module documentation visualization and fixed haml top bar. Added "--modulepath" option to the library.#10
Added module documentation visualization and fixed haml top bar. Added "--modulepath" option to the library.#10moliholy wants to merge 41 commits intodrrb:masterfrom
Conversation
puppet-library.gemspec
Outdated
There was a problem hiding this comment.
This breaks compatibility with Ruby 1.8.7, maybe try "~> 2.3.0".
|
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. |
There was a problem hiding this comment.
It sorts all modules by full name. I tried to do it in the server but because of problems with ruby versions it ended up being a pain in the neck, so it's finally the client who is going to do it.
|
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. 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, |
There was a problem hiding this comment.
It creates a link to download the packed modules in the version number.
…odule. Changed markdawn parser to allow anchors
Conflicts: lib/puppet_library/forge/abstract.rb
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