docs: Create with tutorial

Create docs, based on Sphinx with Commonmark, seeding it with https://forums.puri.sm/t/translations-and-virtual-touch-keyboards-tracking-localization/7669/48?u=dcz
This commit is contained in:
Dorota Czaplejewicz
2019-12-15 20:43:35 +00:00
parent 1237537005
commit 0e1bf19737
5 changed files with 270 additions and 1 deletions

View File

@ -14,7 +14,16 @@ before_script:
- echo "deb http://ci.puri.sm/ scratch librem5" > /etc/apt/sources.list.d/ci.list
- wget -O- https://ci.puri.sm/ci-repo.key | apt-key add -
- apt-get -y update
- apt-get -y build-dep .
build_docs:
<<: *tags
stage: build
artifacts:
paths:
- _build
script:
- apt-get -y install python3-recommonmark python3-sphinx
- ./doc/build.sh _build
build_meson:
<<: *tags
@ -24,6 +33,7 @@ build_meson:
- _build
expire_in: 3h
script:
- apt-get -y build-dep .
- meson . _build/ -Ddepdatadir=/usr/share
- ninja -C _build install
@ -34,6 +44,7 @@ build_deb:
paths:
- "*.deb"
script:
- apt-get -y build-dep .
- apt-get -y install devscripts
- debuild -i -us -uc -b
- cp ../*.deb .
@ -53,4 +64,5 @@ test:
needs:
- build_meson
script:
- apt-get -y build-dep .
- ninja -C _build test