Export a new KCONFIG_DOC_MODE environment variable when building the doc and invoking Kconfig, so that the functions that expect a build folder can accordingly return a hardcoded value. Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>