Default “Home” text and content for JSDoc

后端 未结 5 1272
眼角桃花
眼角桃花 2020-12-30 23:38

After running a basic JSDoc compile/render from Node.js:

jsdoc file1.js file2.js

I get a well-formatted document using the default template

5条回答
  •  梦毁少年i
    2020-12-31 00:19

    'Home' is harcoded (passed as title when generating the index) in the default template so there is no variable or config that you could set to modify this title.

    If multiple people are generating/editing the docs, editing the node_modules is an obvious no-go.

    It's enough to create a layout.tmpl (or a full custom template, if you're using one), point JSDoc to it (CLI option or config file) and replace with .

提交回复
热议问题