diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7aa381f..93c26f9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,8 +1,29 @@ -test: +stages: +- build +- pages + +build: + stage: build script: - - dnf install -y meson python3-mypy + - dnf install -y meson python3-mypy python3-sphinx python3-pip + - pip3 install furo - mypy gtkblueprinttool - - meson _build + - meson _build -Ddocs=true - ninja -C _build - ninja -C _build test - ninja -C _build install + artifacts: + paths: + - _build + +pages: + stage: pages + dependencies: + - build + script: + - mv _build/docs/en public + artifacts: + paths: + - public + only: + - main diff --git a/docs/conf.py b/docs/conf.py index 1eb565d..07e0b88 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -44,7 +44,7 @@ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # -html_theme = 'sphinx_rtd_theme' +html_theme = 'furo' # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files,