Skip to content

Commit

Permalink
docs: Copy examples to docs include folder (#13728)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Northey <[email protected]>
  • Loading branch information
phlax authored Oct 23, 2020
1 parent 768518e commit 3d56b0d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,13 @@ cp -f "${API_DIR}"/xds_protocol.rst "${GENERATED_RST_DIR}/api-docs/xds_protocol.
mkdir -p "${GENERATED_RST_DIR}"/configuration/best_practices
cp -f "${CONFIGS_DIR}"/google-vrp/envoy-edge.yaml "${GENERATED_RST_DIR}"/configuration/best_practices

copy_example_configs () {
mkdir -p "${GENERATED_RST_DIR}/start/sandboxes/_include"
cp -a "${SRC_DIR}"/examples/* "${GENERATED_RST_DIR}/start/sandboxes/_include"
}

copy_example_configs

rsync -rav "${API_DIR}/diagrams" "${GENERATED_RST_DIR}/api-docs"

rsync -av \
Expand Down

0 comments on commit 3d56b0d

Please sign in to comment.