Skip to content

[docseng-37] copy sourced integrations earlier in the build process to generate placeholder pages #30321

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ node_modules: package.json yarn.lock

# All the requirements for a full build
dependencies: clean
make hugpython all-examples update_pre_build node_modules build-cdocs placeholders
make hugpython all-examples update_pre_build node_modules build-cdocs

integrations_data/extracted/vector:
$(call source_repo,vector,https://github.com/vectordotdev/vector.git,master,true,website/)
Expand Down Expand Up @@ -153,6 +153,13 @@ update_websites_sources_module:
node_modules/hugo-bin/vendor/hugo mod clean
node_modules/hugo-bin/vendor/hugo mod tidy
cat go.mod
@if [ -n "$(CI_COMMIT_REF_NAME)" ]; then \
echo "In ci, vendoring integrations pages for placeholder generation"; \
node_modules/hugo-bin/vendor/hugo mod vendor; \
cp -rpv _vendor/github.com/DataDog/websites-sources/content/en/integrations/. content/en/integrations/; \
rm -rf _vendor; \
fi

#######################################################################################################################
# API Code Examples
#######################################################################################################################
Expand Down
Loading