我想生成带有hanna的Ruby documentation模板。
如何做到这一点?或者,如果有的话,我可以从哪里下载?
使用
rdoc -o ~/doc --inline-source --line-numbers --format=html --template=hanna
给了我一些缺少方法的文档。它似乎不会生成用C编写的方法。
发布于 2009-04-20 02:57:12
事实证明,您只需要获取Ruby source code,将其解压缩,然后在源目录中运行如下所示:
rdoc -o <output path> --inline-source --line-numbers --format=html --template=hanna发布于 2009-09-28 09:28:55
在ruby源目录中,运行
hanna -o --inline-source --line-numbers -format=html
发布于 2009-04-08 00:00:07
gem install mislav-hanna
然后按照自述文件中的步骤进行操作:
http://github.com/mislav/hanna/blob/8eaeb062fae276b19eb86fa302e9ee446a06eef8/README.markdown
https://stackoverflow.com/questions/704606
复制相似问题