From f04daf28bff2a2a24bca9616c2c1627cf731cb86 Mon Sep 17 00:00:00 2001 From: Kazuyoshi Kato Date: Fri, 17 Mar 2023 09:45:11 -0700 Subject: [PATCH] Add documents from containerd/containerd Signed-off-by: Kazuyoshi Kato --- Makefile | 18 +++++++++++++++--- content/docs/getting-started.md | 3 ++- 2 files changed, 17 insertions(+), 4 deletions(-) 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/)