Open
Description
When building documentation each project requires a number of flags to be set. For example:
documentation-builder --base-directory ../vanilla-brochure-theme/docs \
--site-root '/en/vanilla-brochure-theme/index' \
--output-path 'en/vanilla-brochure-theme' \
--template-path template.html \
--tag-manager-code 'GTM-K92JCQ' \
--no-link-extensions \
--force
This is difficult to type/remember so the command is normally added to a scirpt like ./build-docs
. This makes it difficult to modify the flags like changing the source-directory in a one off case.
I propose that the settings can be stored in a .documentationrc
file which is committed to the project and is looked up when running documentation-builder
. Therefore you only need to run documentation-builder
in the project with overriding flags.
Activity