2021-01-18 16:08:20 +00:00
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
2021-10-25 14:00:45 +00:00
|
|
|
- name: fetch git submodules
|
|
|
|
image: alpine/git
|
|
|
|
commands:
|
|
|
|
- git submodule init
|
|
|
|
- git submodule update --recursive --remote
|
|
|
|
|
2021-01-18 16:08:20 +00:00
|
|
|
- name: check documentation build
|
2022-05-16 10:31:13 +00:00
|
|
|
image: michaelfbryan/mdbook-docker-image:latest
|
2021-01-18 16:08:20 +00:00
|
|
|
commands:
|
2022-05-16 10:31:13 +00:00
|
|
|
- apt-get update
|
|
|
|
- apt-get install git cargo -y
|
2021-10-25 14:00:45 +00:00
|
|
|
- cargo install mdbook --git https://github.com/Ruin0x11/mdBook.git --branch localization
|
|
|
|
--rev 9d8147c --force --debug
|
|
|
|
- ./update-includes.sh
|
2022-05-16 10:31:13 +00:00
|
|
|
- echo "\n\n[output.html]\n\n[output.linkcheck]" >> "book.toml"
|
2021-01-18 16:08:20 +00:00
|
|
|
- mdbook build .
|