标签: ruby rdoc
我正在尝试为RDoc编写新的生成器,但我无法弄清楚如何为description对象自定义RDoc::ClassModule输出。目前它看起来像这样:
description
RDoc::ClassModule
<p><a href=\"Gist\">Gist</a> API is... lacking at the moment.</p>
我想将“Gist”的链接自定义为不同的内容,例如#!/search/Octopi::Gist而非Gist。
#!/search/Octopi::Gist
Gist
我该怎么做呢?