开发者

Documenting in grails [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t开发者_运维知识库 allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 4 years ago.

Improve this question

I want to generate something like http://grails.org/doc/latest/ for my grails project.

I have tried grails doc, but It doesn't organize the project in Taglibs, etc.

I want something to fetch easily the taglib for a given namespace.

Also to see more clearly the global state of documentation of the project.

Do you know if exists a plugin for this or any workaround?

thanks in advance


There's nothing that I know of that automatically generates this. Everything under src/docs/guide is included in the main documentation, and files under src/docs/ref are included in the left frame. Subdirectories under src/docs/ref create subsections.

See the Grails doc source folder structure at http://github.com/grails/grails-doc/tree/master/src/ for how the main docs work, and my plugin doc source at http://github.com/grails-plugins/grails-spring-security-core/tree/master/src/docs/ for a smaller example, which generates http://burtbeckwith.github.com/grails-spring-security-core/docs/manual/


I have recently contributed a plugin "Grails Runtime Docs" ( http://grails.org/plugin/grails-runtime-docs) to grails which is Grails aware. It organizes the grails artifacts and categorize the classes into Controllers, Commands, Domains, Services and Tag Libraries. The plugin generates groovy documentation from runtime so as to include the dynamic methods also, adding "Dynamic Method Summary" & "Dynamic Method Detail" in the generated html docs, that provide their source information.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜