Skip to main content

Configuration Guide

This page describes how to configure itdoc.

You can specify the itdoc configuration in your project's package.json file. Here's an example configuration:

{
"itdoc": {
"output": "./output",
"document": {
"baseUrl": "https://petstore-api.com",
"title": "Petstore API",
"description": "API documentation for the Petstore application"
}
}
}

Configuration Options

This section provides detailed explanations of each itdoc configuration option.

itdoc

OptionDescriptionDefault
outputPath to the directory where documents will be generated../output

itdoc.document

OptionDescriptionDefault
baseUrlThe base URL used for generating links in API docs."http://localhost:8080"
titleThe title displayed in the API documentation."API Document"
descriptionThe description displayed in the API documentation."You can change the description by specifying it in package.json."

Next Steps