Skip to content
Snippets Groups Projects
Commit 1d0e2f16 authored by Marek Chrastina's avatar Marek Chrastina
Browse files

Upgrade to mkdocs-material 5.x

parent 20f7ca03
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,7 @@ mkdocs:
- pip freeze # debug
- python scripts/modules_matrix.py > docs.it4i/modules-matrix.md
- python scripts/modules_matrix.py --json > docs.it4i/modules-matrix.json
- declare -Ff deactivate && deactivate
#- declare -Ff deactivate && deactivate
- curl -f0 https://code.it4i.cz/sccs/scs-api-public/raw/master/scs_api.server_public.md -o docs.it4i/apiv1.md
# build pages
- mkdocs build
......
{% import "partials/language.html" as lang with context %}
<nav class="md-nav md-nav--secondary">
<nav class="md-nav md-nav--secondary" aria-label="{{ lang.t('toc.title') }}">
{% set toc_ = page.toc %}
{% if toc_ | first is defined and "\x3ch1 id=" in page.content %}
{% set toc_ = (toc_ | first).children %}
......
......@@ -25,7 +25,12 @@ theme:
- 404.html
feature:
tabs: true
- tabs
- instant
icon:
logo: fontawesome/solid/book-open
repo: fontawesome/brands/gitlab
# Don't include MkDocs' JavaScript
include_search_page: false
......@@ -212,17 +217,19 @@ nav:
- PBS Pro Documentation: pbspro.md
extra:
search:
language: 'en'
tokenizer: '[\s\.]+'
repo_icon: gitlab
disqus: 'test-3whnesz3gq'
social:
- type: 'gitlab'
- icon: 'fontawesome/brands/gitlab'
link: 'https://code.it4i.cz/sccs/docs.it4i.cz'
- type: globe
- icon: fontawesome/solid/globe-europe
link: https://www.it4i.cz
plugins:
- search:
separator: '[\s\.]+'
lang:
- en
markdown_extensions:
- codehilite
- markdown.extensions.admonition:
......@@ -232,7 +239,7 @@ markdown_extensions:
slugify: !!python/name:pymdownx.slugs.uslugify
- pymdownx.snippets:
base_path: snippets
- pymdownx.superfences
- pymdownx.tabbed:
google_analytics:
- 'UA-90498826-1'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment