diff --git a/Makefile b/Makefile index 1da4a55..1305cbd 100644 --- a/Makefile +++ b/Makefile @@ -15,17 +15,29 @@ clean: rm -rf public resources -serve: +containerd-1.7.x: + git clone --branch v1.7.0 --depth 1 https://github.com/containerd/containerd.git containerd-1.7.x + +content/v1.7.x: containerd-1.7.x + cp -r containerd-1.7.x/docs content/v1.7.x + +containerd-1.6.x: + git clone --branch v1.6.19 --depth 1 https://github.com/containerd/containerd.git containerd-1.6.x + +content/v1.6.x: containerd-1.6.x + cp -r containerd-1.6.x/docs content/v1.6.x + +serve: content/v1.7.x content/v1.6.x hugo server \ --buildDrafts \ --buildFuture \ --disableFastRender -production-build: +production-build: content/v1.7.x content/v1.6.x hugo \ --minify -preview-build: +preview-build: content/v1.7.x content/v1.6.x hugo \ --baseURL $(DEPLOY_PRIME_URL) \ --buildDrafts \ diff --git a/content/docs/getting-started.md b/content/docs/getting-started.md index f4333f5..2349be2 100644 --- a/content/docs/getting-started.md +++ b/content/docs/getting-started.md @@ -4,4 +4,5 @@ short: Getting started weight: 2 --- -Moved to https://github.com/containerd/containerd/blob/main/docs/getting-started.md +- [1.7.x](/v1.7.x/getting-started/) +- [1.6.x](/v1.6.x/getting-started/)