Right now Yardoc will generate docs like: doc/ModuleName.html, doc/ModuleName/ClassName.html and doc/ModuleName/ClassName/method_name.html I was wondering how I can adjust serialized_path (without monkey patching everything) to do something like: doc/ModuleName/index.html doc/ModuleName/ClassName/index.html and doc/ModuleName/ClassName/method_name/index.html
Right now Yardoc will generate docs like: doc/ModuleName.html, doc/ModuleName/ClassName.html and doc/ModuleName/ClassName/method_name.html I was wondering
Share
You’ll need to monkey patch (from what I’ve noticed, after 2 days of searching I found no other way) So…Create a file named yardoc_pretty-uris.rb and when you run yardoc do
-e yardo_pretty-print.rb.yardoc_pretty-uris.rb contents: