Skip to content

Commit

Permalink
Split into 4 groups
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts committed Nov 14, 2023
1 parent 8487ec1 commit 172ac32
Show file tree
Hide file tree
Showing 3 changed files with 85 additions and 71 deletions.
13 changes: 0 additions & 13 deletions config/plugins_glightbox.yml

This file was deleted.

21 changes: 0 additions & 21 deletions config/plugins_rss.yml

This file was deleted.

122 changes: 85 additions & 37 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,44 +27,92 @@ hooks:

# Plugins
plugins:
# -- MINIMAL --
- group:
enabled: true
plugins:
- awesome-pages
- exclude:
glob:
- "*/templates/*"
- "*.yml"
- macros:
include_dir: content/toc_nav_ignored/snippets

# -- COMMON --
- awesome-pages
- exclude:
glob:
- "*/templates/*"
- "*.yml"
- git-authors:
enabled: !ENV [MKDOCS_ENABLE_PLUGIN_GIT_AUTHORS, false]
exclude:
- index.md
show_contribution: true
- git-revision-date-localized:
enabled: !ENV [MKDOCS_ENABLE_PLUGIN_GIT_DATES, false]
enable_creation_date: true
fallback_to_build_date: true
locale: fr
- macros:
include_dir: content/toc_nav_ignored/snippets
- minify:
minify_css: true
css_files:
- theme/assets/stylesheets/extra.css
- theme/assets/stylesheets/homepage.css
minify_html: true
htmlmin_opts:
remove_comments: true
- search:
lang: fr
- social:
enabled: !ENV [MKDOCS_ENABLE_PLUGIN_SOCIAL, true]
cache_dir: !ENV [MKDOCS_PLUGIN_SOCIAL_CACHE_DIR, .cache/plugins/social]
cards: !ENV [MKDOCS_ENABLE_PLUGIN_SOCIAL_CARDS, true]
cards_layout_options:
font_family: Ubuntu
- tags:
enabled: !ENV [MKDOCS_ENABLE_PLUGIN_TAGS, true]
tags_file: tags.md
- termynal
- group:
enabled: !ENV [MKDOCS_ENABLE_THEME_COMMON, true]
plugins:
- git-authors:
enabled: !ENV [MKDOCS_ENABLE_PLUGIN_GIT_AUTHORS, false]
exclude:
- index.md
show_contribution: true
- git-revision-date-localized:
enabled: !ENV [MKDOCS_ENABLE_PLUGIN_GIT_DATES, false]
enable_creation_date: true
fallback_to_build_date: true
locale: fr
- glightbox:
auto_caption: true
caption_position: bottom
draggable: true
effect: zoom
height: auto
skip_classes:
- img-rdp-news-thumb
- emojione
- twemoji
touchNavigation: true
width: 90%
zoomable: true
- minify:
minify_css: true
css_files:
- theme/assets/stylesheets/extra.css
- theme/assets/stylesheets/homepage.css
minify_html: true
htmlmin_opts:
remove_comments: true
- rss:
abstract_chars_count: 500
categories:
- categories
- tags
comments_path: "#__comments"
date_from_meta:
as_creation: "date"
as_update: false
datetime_format: "%Y-%m-%d %H:%M"
default_timezone: Europe/Paris
default_time: "14:00"
enabled: !ENV [MKDOCS_ENABLE_PLUGIN_RSS, false]
image: "https://cdn.geotribu.fr/img/internal/charte/geotribu_logo_64x64.png"
length: 50
match_path: "(articles|rdp)/.*"
pretty_print: false
url_parameters:
utm_source: "rss-feed"
utm_medium: "RSS"
utm_campaign: "feed-syndication"
- search:
lang: fr
- termynal

# -- FREE --
- group:
enabled: !ENV [MKDOCS_ENABLE_THEME_FREE, false]
plugins:
- social:
enabled: !ENV [MKDOCS_ENABLE_PLUGIN_SOCIAL, true]
cache_dir:
!ENV [MKDOCS_PLUGIN_SOCIAL_CACHE_DIR, .cache/plugins/social]
cards: !ENV [MKDOCS_ENABLE_PLUGIN_SOCIAL_CARDS, true]
cards_layout_options:
font_family: Ubuntu
- tags:
enabled: !ENV [MKDOCS_ENABLE_PLUGIN_TAGS, true]
tags_file: tags.md

# -- INSIDERS --
- group:
Expand Down

0 comments on commit 172ac32

Please sign in to comment.