File tree Expand file tree Collapse file tree 5 files changed +73
-2
lines changed Expand file tree Collapse file tree 5 files changed +73
-2
lines changed Original file line number Diff line number Diff line change @@ -21,11 +21,17 @@ serve:
2121 --buildFuture \
2222 --disableFastRender
2323
24- production-build :
24+ public/docs/latest :
25+ mkdir -p $@ tmp
26+ git clone --depth 1 https://github.com/containerd/containerd.git tmp/containerd
27+ mv sphinx/* tmp/containerd/docs/
28+ sphinx-build tmp/containerd/docs public/docs/latest
29+
30+ production-build : public/docs/latest
2531 hugo \
2632 --minify
2733
28- preview-build :
34+ preview-build : public/docs/latest
2935 hugo \
3036 --baseURL $(DEPLOY_PRIME_URL ) \
3137 --buildDrafts \
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ command = "make production-build"
44
55[build .environment ]
66HUGO_VERSION = " 0.65.3"
7+ PYTHON_VERSION = " 3.7"
78
89[context .deploy-preview ]
910command = " make preview-build"
Original file line number Diff line number Diff line change 1+ Sphinx == 4.4.0
2+ furo == 2022.3.4
3+ myst-parser == 0.17.0
4+
Original file line number Diff line number Diff line change 1+ project = 'containerd'
2+ templates_path = ['_templates' ]
3+ exclude_patterns = ['_build' , 'Thumbs.db' , '.DS_Store' ]
4+ html_static_path = ['_static' ]
5+
6+ # Same as our License header.
7+ copyright = 'The contained Authors'
8+ author = 'The containerd Authors'
9+
10+ # MyST (Markedly Structured Text) is a superset of CommonMark.
11+ # https://myst-parser.readthedocs.io/en/latest/
12+ extensions = [ 'myst_parser' ]
13+
14+ # Uses Furo.
15+ # https://github.com/pradyunsg/furo
16+ html_theme = 'furo'
17+
Original file line number Diff line number Diff line change 1+ # containerd
2+
3+ TBD
4+
5+ ``` {toctree}
6+ :hidden:
7+ :caption: Getting Started
8+ ops.md
9+ content-flow.md
10+ garbage-collection.md
11+ hosts.md
12+ managed-opt.md
13+ stream-processors.md
14+ ```
15+
16+ ``` {toctree}
17+ :hidden:
18+ :caption: Advanced
19+ namespaces.md
20+ remote-snapshotter.md
21+ tracing.md
22+ rootless.md
23+ ```
24+
25+ ``` {toctree}
26+ :hidden:
27+ :caption: Developing containerd client
28+ getting-started.md
29+ client-opts.md
30+ ```
31+
32+ ``` {toctree}
33+ :hidden:
34+ :caption: CRI
35+ cri/config.md
36+ cri/crictl.md
37+ cri/decryption.md
38+ cri/installation.md
39+ cri/proposal.md
40+ cri/registry.md
41+ cri/testing.md
42+ cri/architecture.md
43+ ```
You can’t perform that action at this time.
0 commit comments