8

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?

B Seven
  • 44,484
  • 66
  • 240
  • 385

2 Answers2

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