Skip to content

Commit

Permalink
docs: 优化一些文档
Browse files Browse the repository at this point in the history
  • Loading branch information
novlan1 committed Oct 9, 2022
1 parent 1666a1c commit f66709f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions script/docs/jsdoc-local.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ const { JsDocHandler } = require('../../lib/index');

JsDocHandler.init({
author: 'novlan1',
isHandleNav: true,
});
1 change: 1 addition & 0 deletions src/jsdoc/jsdoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ class JsDocHandler {
* @param {string} [options.author] 作者,默认为空
* @param {string} [options.extraCss] 额外插入的css,默认为`.nav-separator`的一些样式
* @param {string} [options.navHandler] 处理API所在文件的方法
* @param {boolean} [options.isHandleNav] 是否处理导航栏,即插入文件名进行分隔,默认为false
* @returns {object} JsDocHandler实例
* @example
*
Expand Down

0 comments on commit f66709f

Please sign in to comment.