File tree Expand file tree Collapse file tree 3 files changed +20
-15
lines changed Expand file tree Collapse file tree 3 files changed +20
-15
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ RUN mkdir -p $NGINX_HTML_DIR
2020
2121RUN apk update
2222RUN apk add git yarn python g++ make && rm -rf /var/cache/apk/*
23- RUN yarn global add gitbook-cli
2423
2524# We invalidate cache always because there is no easy way for now to detect
2625# if something in the whole git repo changed. For docker git clone <url> <dir>
@@ -62,8 +61,8 @@ RUN cp -rfp ./dist/* $NGINX_HTML_DIR
6261COPY ./docs $WORKING_DIR/docs/
6362WORKDIR $WORKING_DIR/docs
6463
65- RUN gitbook install
66- RUN gitbook build
64+ RUN yarn
65+ RUN yarn build
6766
6867RUN mkdir -p $NGINX_HTML_DIR/docs/general
6968RUN cp -rfp ./_book/* $NGINX_HTML_DIR/docs/general
@@ -84,8 +83,8 @@ RUN cp -rfp ./web_deploy/* $NGINX_HTML_DIR/docs/api
8483RUN git clone https://github.com/cernanalysispreservation/cap-client.git $WORKING_DIR/cap-client/
8584WORKDIR $WORKING_DIR/cap-client/docs
8685
87- RUN gitbook install
88- RUN gitbook build
86+ RUN yarn
87+ RUN yarn build
8988
9089RUN mkdir -p $NGINX_HTML_DIR/docs/client
9190RUN cp -rfp ./_book/* $NGINX_HTML_DIR/docs/client
Original file line number Diff line number Diff line change 1717 " codeblock-filename" ,
1818 " theme-cap@git+https://github.com/cernanalysispreservation/gitbook-plugin-theme-cap.git" ,
1919 " terminal" ,
20- " richquotes" ,
21- " image-captions"
20+ " richquotes"
2221 ],
2322 "variables" : {
2423 "toc_title" : " General Documentation" ,
8887 "alert" : " warning" ,
8988 "picto" : " fa-star"
9089 }
91- },
92- "image-captions" : {
93- "align" : " center" ,
94- "caption" : " Image - _CAPTION_"
9590 }
9691 }
9792}
Original file line number Diff line number Diff line change 66 "npm" : " >=3"
77 },
88 "scripts" : {
9- "serve" : " gitbook serve" ,
10- "build" : " gitbook build" ,
11- "install" : " gitbook install"
9+ "serve" : " honkit serve" ,
10+ "build" : " honkit build"
1211 },
1312 "dependencies" : {
14- "@gitbook-ng/gitbook" : " *"
13+ "honkit" : " *" ,
14+ "gitbook-plugin-back-to-top-button" : " 0.1.4" ,
15+ "gitbook-plugin-github" : " 3.0.0" ,
16+ "gitbook-plugin-github-buttons" : " 3.0.0" ,
17+ "gitbook-plugin-toggle-chapters" : " 0.0.3" ,
18+ "gitbook-plugin-anchorjs" : " 2.1.0" ,
19+ "gitbook-plugin-fontsettings" : " *" ,
20+ "gitbook-plugin-sharing" : " *" ,
21+ "gitbook-plugin-folding-menu" : " *" ,
22+ "gitbook-plugin-codeblock-filename" : " *" ,
23+ "gitbook-plugin-theme-cap" : " git+https://github.com/cernanalysispreservation/gitbook-plugin-theme-cap.git" ,
24+ "gitbook-plugin-terminal" : " *" ,
25+ "gitbook-plugin-richquotes" : " *"
1526 }
1627}
You can’t perform that action at this time.
0 commit comments