Sunday, February 28, 2021

JSDoc disable source code references:

If you use the default template, then use a configuration file with templates.default.outputSourceFiles set to false. For instance:


{

    "templates": {

        "default": {

            "outputSourceFiles": false

        }

    }

}


You'd pass the path to this file to jsdoc using the -c option on the command line.


The template is the entity providing this functionality so if you use another template than the default one, you have to check its documentation to find whether there is a setting you can set to do this.


References:

https://stackoverflow.com/questions/20907501/how-can-i-omit-the-source-links-in-jsdoc

No comments:

Post a Comment