1

I tried to generate a source code documentation of a JavaScript file. For this I also wrote a README using markdown syntax. I run:

jsdoc -R client.md -d client client.js

The command generates the HTML documentation. In the generated output the following titles are defined:

<title>JSDoc: Home</title>
<h1 class="page-title">Home</h1>

How can I change Home and JSDoc: Home to something useful like the name of my program?

I tried already to write a configuration file as suggested here, but that seems to work only for tutorials and not for READMEs.

Community
  • 1
  • 1
ceving
  • 16,775
  • 7
  • 82
  • 137

1 Answers1

2

Right now it is hard coded in the default template. My pull request makes it configurable. Putting it in the configuration file works with the change.

{
  "title": "My title"
}
ceving
  • 16,775
  • 7
  • 82
  • 137