문제

Currently the title of any HTML page generated by Docco will be the name of the source code file. How do I change that? I would like to set a custom title for my generated code.

도움이 되었습니까?

해결책

Just make sure that the first line in your source file has a header section in it, for example:

//  # My Custom Title
var code = require('somelib');

The above code, when given as an input to docco, will result in an HTML page with title "My Custom Title".

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top