简体   繁体   中英

How can I generate documentation related to my plugin?

I am using Rails 3.1.0 and I have implemented a working plugin. As well as it should be done, its related files are located in the ROOT_APP/vendor/plugins/my_plugin directory.

Now, I am using the YARD 0.7.4 gem and I would like to document that plugin. Anyway, when I run the yardoc (or yard doc ) command it seems do not consider my plugin so the related documentation is not generated (only that related to the "main" application is generated).

How can I generate the documentation related to my plugin?

如果从插件目录中运行yardoc ,则应生成文档。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM