diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fd2fa99..011ed30 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,6 @@ stages: - test + - pages Atheneum:Tests: image: python:3.6-slim-stretch @@ -11,3 +12,22 @@ Atheneum:Tests: - bash ./run_tests.sh tags: - docker + +Atheneum:Pages: + image: python:3.6-slim-stretch + stage: pages + script: + - python3 -m pip install pipenv + - pipenv install --dev + - pipenv shell + - cd server/documentation + - apt --no-cache install make + - make html + - mv _build/html/ ../../public/ + artifacts: + paths: + - public + tags: + - docker + only: + - master diff --git a/README.md b/README.md index 5187763..318abfa 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Atheneum +# Atheneum [![pipeline status](https://gitlab.com/WarrickSothr/Atheneum/badges/master/pipeline.svg)](https://gitlab.com/WarrickSothr/Atheneum/commits/master) An ebook/comic library service and web client. diff --git a/server/README.md b/server/README.md index 12b310c..0492de8 100644 --- a/server/README.md +++ b/server/README.md @@ -1,5 +1,7 @@ # Atheneum Server +## [API Documentation](https://warricksothr.gitlab.io/Atheneum) + ## Requirements * Python 3.6