Use the apidox property in your Grunt config. You can supply the following options:

input (required, string): Source filename to generate documentation for. You can use Grunt globbing patterns to specify more than one file.

output (optional, string): Name of the file to write the markdown into. Defaults to the same as the input filename but with the extension changed to .md.

outdir (optional, string): Subdirectory to write output file into.

inputTitle (optional, string |false): By default, apidox includes a line in the markdown saying it was generated from the input file. Set inputTitle to false to prevent this, or set it to a string to change the text.

fullSourceDescription (optional, boolean): By default, apidox includes only the first paragraph of the first comment in the output. Set fullSourceDescription to true to include all of the first comment in the output.

sections (optional, object): Use this to divide the table of contents into sections. Each key in sections is the name of the first function in a section. The value is the markdown to insert before the link to the function in the table of contents.

Use a key with the empty string to insert markdown after the table of contents.

extraHeadingLevels (optional, integer): By default, apidox generates level 1 headings for each API entry. Set extraHeadingLevels if you want to change this. For example, to generate level 3 headings, set extraHeadingLevels to 2.