docs: initial documentation website.
This commit is contained in:
parent
3c3f164e91
commit
ecf82c7176
17 changed files with 1143 additions and 0 deletions
|
|
@ -12,6 +12,7 @@ stages:
|
|||
- test
|
||||
- build
|
||||
- preprocess
|
||||
- deploy
|
||||
|
||||
|
||||
# Code Linter
|
||||
|
|
@ -128,3 +129,19 @@ preprocess-ubuntu:
|
|||
- apt-get install -y apparmor apparmor-profiles
|
||||
- dpkg --install $PKGDEST/*
|
||||
- apparmor_parser --preprocess /etc/apparmor.d 1> /dev/null
|
||||
|
||||
|
||||
# Deploy the documentation
|
||||
# ------------------------
|
||||
|
||||
pages:
|
||||
stage: deploy
|
||||
image: python
|
||||
script:
|
||||
- pip install -r requirements.txt
|
||||
- mkdocs build --verbose --site-dir public
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
rules:
|
||||
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue