Skip to content

Commit f04daf2

Browse files
committed
Add documents from containerd/containerd
Signed-off-by: Kazuyoshi Kato <[email protected]>
1 parent 4984375 commit f04daf2

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed

Makefile

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,29 @@
1515
clean:
1616
rm -rf public resources
1717

18-
serve:
18+
containerd-1.7.x:
19+
git clone --branch v1.7.0 --depth 1 https://github.com/containerd/containerd.git containerd-1.7.x
20+
21+
content/v1.7.x: containerd-1.7.x
22+
cp -r containerd-1.7.x/docs content/v1.7.x
23+
24+
containerd-1.6.x:
25+
git clone --branch v1.6.19 --depth 1 https://github.com/containerd/containerd.git containerd-1.6.x
26+
27+
content/v1.6.x: containerd-1.6.x
28+
cp -r containerd-1.6.x/docs content/v1.6.x
29+
30+
serve: content/v1.7.x content/v1.6.x
1931
hugo server \
2032
--buildDrafts \
2133
--buildFuture \
2234
--disableFastRender
2335

24-
production-build:
36+
production-build: content/v1.7.x content/v1.6.x
2537
hugo \
2638
--minify
2739

28-
preview-build:
40+
preview-build: content/v1.7.x content/v1.6.x
2941
hugo \
3042
--baseURL $(DEPLOY_PRIME_URL) \
3143
--buildDrafts \

content/docs/getting-started.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ short: Getting started
44
weight: 2
55
---
66

7-
Moved to https://github.com/containerd/containerd/blob/main/docs/getting-started.md
7+
- [1.7.x](/v1.7.x/getting-started/)
8+
- [1.6.x](/v1.6.x/getting-started/)

0 commit comments

Comments
 (0)