@@ -18,13 +18,13 @@ First of all, pull the image for building the docs.
18
18
19
19
.. code-block :: bash
20
20
21
- docker pull tarantool/doc-builder:fat-4
21
+ docker pull tarantool/doc-builder:fat-4.1
22
22
23
23
Next, initialize a Makefile for your OS:
24
24
25
25
.. code-block :: bash
26
26
27
- docker run --rm -it -v $( pwd) :/doc tarantool/doc-builder:fat-4 sh -c " cmake ."
27
+ docker run --rm -it -v $( pwd) :/doc tarantool/doc-builder:fat-4.1 sh -c " cmake ."
28
28
29
29
Update submodules and generate documentation sources from code
30
30
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -61,13 +61,13 @@ To include their latest contents in the docs, run these two steps.
61
61
62
62
.. code-block :: bash
63
63
64
- docker run --rm -it -v $( pwd) :/doc tarantool/doc-builder:fat-4 sh -c " make pull-modules"
64
+ docker run --rm -it -v $( pwd) :/doc tarantool/doc-builder:fat-4.1 sh -c " make pull-modules"
65
65
66
66
2. Build the submodules content:
67
67
68
68
.. code-block :: bash
69
69
70
- docker run --rm -it -v $( pwd) :/doc tarantool/doc-builder:fat-4 sh -c " make build-modules"
70
+ docker run --rm -it -v $( pwd) :/doc tarantool/doc-builder:fat-4.1 sh -c " make build-modules"
71
71
72
72
This command will do two things:
73
73
@@ -89,7 +89,7 @@ and refresh the browser page.
89
89
90
90
.. code-block :: bash
91
91
92
- docker run --rm -it -p 8000:8000 -v $( pwd) :/doc tarantool/doc-builder:fat-4 sh -c " make autobuild"
92
+ docker run --rm -it -p 8000:8000 -v $( pwd) :/doc tarantool/doc-builder:fat-4.1 sh -c " make autobuild"
93
93
94
94
First build will take some time.
95
95
When it's done, open `127.0.0.1:8000 <http://127.0.0.1:8000 >`_ in the browser.
@@ -101,8 +101,8 @@ and then serve them using python3 built-in server:
101
101
102
102
.. code-block :: bash
103
103
104
- docker run --rm -it -v $( pwd) :/doc tarantool/doc-builder:fat-4 sh -c " make html"
105
- docker run --rm -it -v $( pwd) :/doc tarantool/doc-builder:fat-4 sh -c " make html-ru"
104
+ docker run --rm -it -v $( pwd) :/doc tarantool/doc-builder:fat-4.1 sh -c " make html"
105
+ docker run --rm -it -v $( pwd) :/doc tarantool/doc-builder:fat-4.1 sh -c " make html-ru"
106
106
python3 -m http.server --directory output/html
107
107
108
108
or python2 built-in server:
@@ -119,17 +119,17 @@ in the ``tarantool/doc-builder`` container:
119
119
120
120
.. code-block :: bash
121
121
122
- docker run --rm -it -v $( pwd) :/doc tarantool/doc-builder:fat-4 sh -c " make html"
123
- docker run --rm -it -v $( pwd) :/doc tarantool/doc-builder:fat-4 sh -c " make html-ru"
124
- docker run --rm -it -v $( pwd) :/doc tarantool/doc-builder:fat-4 sh -c " make singlehtml"
125
- docker run --rm -it -v $( pwd) :/doc tarantool/doc-builder:fat-4 sh -c " make singlehtml-ru"
126
- docker run --rm -it -v $( pwd) :/doc tarantool/doc-builder:fat-4 sh -c " make pdf"
127
- docker run --rm -it -v $( pwd) :/doc tarantool/doc-builder:fat-4 sh -c " make pdf-ru"
128
- docker run --rm -it -v $( pwd) :/doc tarantool/doc-builder:fat-4 sh -c " make json"
129
- docker run --rm -it -v $( pwd) :/doc tarantool/doc-builder:fat-4 sh -c " make json-ru"
130
- docker run --rm -it -v $( pwd) :/doc tarantool/doc-builder:fat-4 sh -c " make epub"
131
- docker run --rm -it -v $( pwd) :/doc tarantool/doc-builder:fat-4 sh -c " make epub-ru"
132
- docker run --rm -it -v $( pwd) :/doc tarantool/doc-builder:fat-4 sh -c " make update-po"
122
+ docker run --rm -it -v $( pwd) :/doc tarantool/doc-builder:fat-4.1 sh -c " make html"
123
+ docker run --rm -it -v $( pwd) :/doc tarantool/doc-builder:fat-4.1 sh -c " make html-ru"
124
+ docker run --rm -it -v $( pwd) :/doc tarantool/doc-builder:fat-4.1 sh -c " make singlehtml"
125
+ docker run --rm -it -v $( pwd) :/doc tarantool/doc-builder:fat-4.1 sh -c " make singlehtml-ru"
126
+ docker run --rm -it -v $( pwd) :/doc tarantool/doc-builder:fat-4.1 sh -c " make pdf"
127
+ docker run --rm -it -v $( pwd) :/doc tarantool/doc-builder:fat-4.1 sh -c " make pdf-ru"
128
+ docker run --rm -it -v $( pwd) :/doc tarantool/doc-builder:fat-4.1 sh -c " make json"
129
+ docker run --rm -it -v $( pwd) :/doc tarantool/doc-builder:fat-4.1 sh -c " make json-ru"
130
+ docker run --rm -it -v $( pwd) :/doc tarantool/doc-builder:fat-4.1 sh -c " make epub"
131
+ docker run --rm -it -v $( pwd) :/doc tarantool/doc-builder:fat-4.1 sh -c " make epub-ru"
132
+ docker run --rm -it -v $( pwd) :/doc tarantool/doc-builder:fat-4.1 sh -c " make update-po"
133
133
134
134
Linkcheck
135
135
---------
@@ -138,13 +138,13 @@ There's a specific build mode which checks internal and external links instead o
138
138
139
139
.. code-block :: bash
140
140
141
- docker run --rm -it -v $( pwd) :/doc tarantool/doc-builder:fat-4 sh -c " make linkcheck"
141
+ docker run --rm -it -v $( pwd) :/doc tarantool/doc-builder:fat-4.1 sh -c " make linkcheck"
142
142
143
143
If you need to save the linkcheck's report in a file, you can use the following trick:
144
144
145
145
.. code-block :: bash
146
146
147
- docker run --rm -it -v $( pwd) :/doc tarantool/doc-builder:fat-4 sh -c " make linkcheck" 2>&1 | tee linkcheck.log
147
+ docker run --rm -it -v $( pwd) :/doc tarantool/doc-builder:fat-4.1 sh -c " make linkcheck" 2>&1 | tee linkcheck.log
148
148
149
149
Here ``2>&1 `` redirects the ``stderr `` output to ``stdout ``, and then ``tee `` both
150
150
shows in on screen and writes to a file.
@@ -167,7 +167,7 @@ To update the translation files, run the `make update-po` task:
167
167
168
168
.. code-block :: bash
169
169
170
- docker run --rm -it -v $( pwd) :/doc tarantool/doc-builder:fat-4 sh -c " make update-po"
170
+ docker run --rm -it -v $( pwd) :/doc tarantool/doc-builder:fat-4.1 sh -c " make update-po"
171
171
172
172
Translate the strings in the updated files and then commit the changes.
173
173
0 commit comments