开发者

How to generate docs for my models and controller in rails

开发者 https://www.devze.com 2023-03-29 18:23 出处:网络
I want to create docs for the models and controller of my application. Even for rake task, any background job. As I have thousands of lines of comments inline between th开发者_StackOverflow中文版e cod

I want to create docs for the models and controller of my application. Even for rake task, any background job. As I have thousands of lines of comments inline between th开发者_StackOverflow中文版e code, explanation of the all the functions actions..

I don't want docs for rails so

  rake doc:rails 

is useless for me.

Usecase is internal detailed developer notes.


Try using this rake task:

rake doc:app

This task is provided by Rdoc. It also supports some markup that you can use to make things look better when formatted. You can see examples in the documentation.

0

精彩评论

暂无评论...
验证码 换一张
取 消