Skip to content

Commit

Permalink
Add documents from containerd/containerd
Browse files Browse the repository at this point in the history
Signed-off-by: Kazuyoshi Kato <[email protected]>
  • Loading branch information
kzys committed Mar 17, 2023
1 parent 287d5cb commit e4bd6a8
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
18 changes: 15 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
mv 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
mv 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 \
Expand Down
3 changes: 2 additions & 1 deletion content/docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/)

0 comments on commit e4bd6a8

Please sign in to comment.