update BuildConfig to generate docs in target