Skip to content
Snippets Groups Projects
Commit 78f65f88 authored by Julian (sysadmin)'s avatar Julian (sysadmin)
Browse files

Upgrade Material theme to v8

parent 9648b12c
No related branches found
No related tags found
No related merge requests found
Pipeline #268363 passed
image: python:3.8-slim
image: python:3.9-slim
before_script:
# install Git for the mkdocs revision plugin
......@@ -13,17 +13,19 @@ test:
artifacts:
paths:
- test
except:
- master
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
when: never
pages:
stage: deploy
variables:
ENABLED_GIT_REVISION_DATE: "true"
GIT_DEPTH: 1000
script:
- time mkdocs build --site-dir public
artifacts:
paths:
- public
only:
- master
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
......@@ -2,11 +2,12 @@
site_name: Your name - Fab Academy
site_description: Fab Academy documentation site for Your Name
site_author: Your name
copyright: Copyright 2021 Your name - Creative Commons Attribution Non Commercial
copyright: Copyright 2022 Your name - Creative Commons Attribution Non Commercial
site_url: http://fibasile.fabcloud.io/fabacademy-student-template/
extra:
# Set your own social media below (or remove)
social:
# For other social icons at https://squidfunk.github.io/mkdocs-material/setup/adding-social-links/
- icon: fontawesome/brands/instagram
......@@ -39,6 +40,8 @@ plugins:
- search
- git-revision-date-localized:
fallback_to_build_date: true
# Read more: https://timvink.github.io/mkdocs-git-revision-date-localized-plugin/options/#enabled
enabled: !ENV [ENABLED_GIT_REVISION_DATE, False]
markdown_extensions:
- extra
......
# Documentation static site generator
mkdocs >=1.1.2, ==1.1.*
mkdocs-git-revision-date-localized-plugin ~= 0.8.0
mkdocs ~= 1.2.3
mkdocs-git-revision-date-localized-plugin ~= 0.11.0
# Add your custom theme if not inside a theme_dir
# (https://github.com/mkdocs/mkdocs/wiki/MkDocs-Themes)
mkdocs-material ~= 6.2
mkdocs-material ~= 8.0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment