mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
make the default template generate pretty-printed source files by default (#454)
This commit is contained in:
parent
a2f947bd34
commit
912f548343
@ -483,9 +483,9 @@ exports.publish = function(taffyData, opts, tutorials) {
|
||||
attachModuleSymbols( find({ kind: ['class', 'function'], longname: {left: 'module:'} }),
|
||||
members.modules );
|
||||
|
||||
// only output pretty-printed source files if requested; do this before generating any other
|
||||
// pages, so the other pages can link to the source files
|
||||
if (conf['default'].outputSourceFiles) {
|
||||
// output pretty-printed source files by default; do this before generating any other pages, so
|
||||
// that the other pages can link to the source files
|
||||
if (!conf['default'] || conf['default'].outputSourceFiles !== false) {
|
||||
generateSourceFiles(sourceFiles);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user