How to view the RDoc file?

Want to see how the RDoc README file will display on Github before committing. How to run RDoc in a single file and view the result in a browser?

+6
source share
3 answers

Ruby as an embedded rdoc cli that will generate html pages from *.rdoc files:

 rdoc README.rdoc -o ./tmp/doc 

Try rdoc --help for more information.

+23
source

Alternatively, you can use this website to preview Markdown, RDoc, Textile ....

+7
source

Great tool to preview rdoc on the web.

http://markup.herokuapp.com/sample

Many thanks to the creators of such a wonderful tool.

0
source

All Articles