Want to see how an RDoc README file will look on Github before committing. How to run RDoc on a single file and preview the result in a browser?
Asked
Active
Viewed 3,796 times
2 Answers
25
Ruby as a built-in rdoc
cli that will generate html pages from *.rdoc
files:
rdoc README.rdoc -o ./tmp/doc
Try rdoc --help
for more info.

Jean-Louis Giordano
- 1,957
- 16
- 18
7
As an alternative you can use this website to preview Markdown, RDoc, Textile ....

Sojan Jose
- 3,168
- 6
- 33
- 52
-
3Unfortunately, this website does not work anymore :'( – gillien Nov 27 '16 at 15:14
-
1@JimEdelstein here is another project to preview rdoc/markdown/textile http://markup.herokuapp.com/sample – Chauskin Rodion Feb 27 '18 at 11:31
-
1The currently linked website doesn't work any more either – Matthew Feb 04 '20 at 04:02