Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
想在提交之前查看 RDoc README 文件在 Github 上的外观。如何在单个文件上运行 RDoc 并在浏览器中预览结果?
Ruby 作为内置rdoccli 将从*.rdoc文件生成 html 页面:
rdoc
*.rdoc
rdoc README.rdoc -o ./tmp/doc
尝试rdoc --help了解更多信息。
rdoc --help
作为替代方案,您可以使用此网站预览 Markdown、RDoc、Textile ....