Add mkdocs build step

Created on 10 January 2024, 6 months ago
Updated 28 June 2024, 4 days ago

Problem/Motivation

We want to build mkdocs documentation and serve via Gitlab pages

Proposed resolution

Add mkdocs build step to CI

pages:
  stage: build
  image: python:latest
  script:
    - pip install mkdocs-material
    - mkdocs build --site-dir public
  artifacts:
    paths:
      - public
  rules:
    - if: '$SKIP_PAGES == "1"'
      when: never
    - if: '$CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH'
      when: never
    - exists:
        - mkdocs.yml
      when: on_success
    - when: never

See https://git.drupalcode.org/project/gitlab_templates/-/blob/1.0.x/include...

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Fixed

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany sanduhrs πŸ‡ͺπŸ‡Ί Heidelberg, Germany, Europe

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024