使用typedoc和typedoc-neo-theme生成typescript文档,然后使用命令:
typedoc --theme ./node_modules/typedoc-neo-theme/bin/default/
生成的html文档中左侧导航有display: none
,这样左侧导航显示不出来。
我同时试了gulp打包:
var typedoc = require("gulp-typedoc");
var gulp = require("gulp");
gulp.task("typedoc", function() {
return gulp
.src(["src/**/*.ts"])
.pipe(typedoc({
module: "commonjs",
target: "es5",
includeDeclarations: true,
out: "./docs",
name: "Sea Lib Document",
version: 'true',
excludeExternals: 'true',
theme: './node_modules/typedoc-neo-theme/bin/default'
}))
;
});
gulp.task('default', gulp.series('typedoc'), function () {
console.log('finished generated docs!');
});
请问如何才把左侧导航能够显示完整?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…