Primarily to fix rendering of default values/examples but also to avoid unnecessary work.
Before, it was overridden in the config section to avoid problem related to manual generation.
This commit is based on initial works made by domenkozar.