Add mkdocs build step

Created on 10 January 2024, 12 months ago
Updated 12 July 2024, 5 months 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.71.5 2024