remove submodule and added gitlab pipeline

This commit is contained in:
2025-01-21 14:54:03 +01:00
parent af5315e77b
commit 73e6170282
3 changed files with 22 additions and 0 deletions

17
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,17 @@
image: python:3.9:latest
before_script:
- time apt update
- time pip install -r requirements.txt
- time cd mkdocs-ivory && python setup.py install && cd ..
pages:
stage: deploy
script:
- time mkdocs build --site-dir public
artifacts:
paths:
- public
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH

3
mkdocs.yml Normal file
View File

@@ -0,0 +1,3 @@
site_name: Fab Academy docs page - Sam
site_url: https://pages.gitlab.io/mkdocs
site_dir: public

2
requirements.txt Normal file
View File

@@ -0,0 +1,2 @@
mkdocs>=1.5.3
mkdocs-ivory>=0.4.6