diff options
| author | Jorge Aparicio <jorge@japaric.io> | 2019-02-11 21:40:53 +0100 |
|---|---|---|
| committer | Jorge Aparicio <jorge@japaric.io> | 2019-02-11 21:40:53 +0100 |
| commit | 0007a35a274ab2d07eb937e41971ea5e2c1cb5ff (patch) | |
| tree | 98361d6d3dfced4b068771c31163b324573294b7 /ci/script.sh | |
| parent | 68a937a72a3a6d261076803d38b7d9b2cb9e3067 (diff) | |
change layout of books
Diffstat (limited to 'ci/script.sh')
| -rw-r--r-- | ci/script.sh | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/ci/script.sh b/ci/script.sh index 8878d92..645db3a 100644 --- a/ci/script.sh +++ b/ci/script.sh @@ -23,15 +23,19 @@ main() { else cargo doc fi - ( cd book && mdbook build ) - ( cd ru && mdbook build ) + ( cd book/en && mdbook build ) + ( cd book/ru && mdbook build ) local td=$(mktemp -d) cp -r target/doc $td/api - cp -r book/book $td/ - cp LICENSE-* $td/book/ - - linkchecker $td/book/ + mkdir $td/book + cp -r book/en/book $td/book/en + cp -r book/ru/book $td/book/ru + cp LICENSE-* $td/book/en + cp LICENSE-* $td/book/ru + + linkchecker $td/book/en/ + linkchecker $td/book/ru/ linkchecker $td/api/rtfm/ linkchecker $td/api/cortex_m_rtfm_macros/ fi |
