Skip to content

Commit f2d5f95

Browse files
committed
Dockerfile: add note/todo about use of "toc" and "config"
Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 8271acd commit f2d5f95

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: Dockerfile

+4
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ FROM archives-${ENABLE_ARCHIVES} AS archives
7474
# these docs are only rebuilt if changes were made to the configuration.
7575
FROM builderbase AS upstream-resources
7676
COPY ./_scripts/fetch-upstream-resources.sh ./_scripts/
77+
# Add the _config.yml and toc.yaml here so that the fetch-upstream-resources
78+
# can extract the latest_engine_api_version value, and substitute the
79+
# "{site.latest_engine_api_version}" in the title for the latest API docs
80+
# TODO find a different mechanism for substituting the API version, to prevent invalidating the cache
7781
COPY ./_config.yml .
7882
COPY ./_data/toc.yaml ./_data/
7983
RUN bash ./_scripts/fetch-upstream-resources.sh .

0 commit comments

Comments
 (0)