diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9dce36b..b7599d1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,19 +4,18 @@ before_script: - pip install -r requirements.txt stages: - - test + - tests - deploy -test: - stage: test - script: - - mkdocs build --strict --verbose --site-dir test - artifacts: - paths: - - test - except: - - master - +pagestests: + stage: tests + script: + - mkdocs build --strict --verbose --site-dir test + artifacts: + paths: + - test + except: + - development pages: stage: deploy script: @@ -25,4 +24,4 @@ pages: paths: - public only: - - master + - development diff --git a/mkdocs.yml b/mkdocs.yml index af26abc..4743e67 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -2,3 +2,9 @@ site_name: "CACmb: The Concurrent Atomistic Continuum Model Builder" site_url: https://aselimov.gitlab.io/cacmb site_dir: public theme: readthedocs + +use_directory_urls: false + +extra_javascript: + - https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML +