Aller au contenu

Colophon⚓︎

Ce site est construit avec Material for MkDocs et le fichier de configuration est le suivant :

mkdocs.yml
site_name: Nature.larlet.fr
site_url: 'https://nature.larlet.fr'
site_author: David Larlet
site_description: >-
  Partage d’expériences autour de la vie en nature.
copyright: Site par <a href="https://larlet.fr/david/">David Larlet</a>.
repo_url: https://gitlab.com/davidbgk/larlet-fr-nature
edit_uri: edit/main/docs/
site_dir: public
watch:
  - docs
  - mkdocs.yml
theme:
  language: fr
  font: false  # (1)
  name: material
  custom_dir: overrides
  features:
    - navigation.top
    - toc.integrate
  icon:
    repo: fontawesome/brands/git
  palette:
    # Palette toggle for light mode
    - media: "(prefers-color-scheme: light)"
      scheme: default
      primary: green
      accent: pink
      toggle:
        icon: material/weather-night
        name: Switch to dark mode

    # Palette toggle for dark mode
    - media: "(prefers-color-scheme: dark)"
      scheme: slate
      primary: green
      accent: pink
      toggle:
        icon: material/weather-sunny
        name: Switch to light mode

nav:
  - 'index.md'
  - 'feu.md'
  - 'couchage.md'
  - 'abri.md'
  - 'cueillette.md'
  - 'securite.md'
  - 'froid.md'
  - 'hygiene.md'
  - 'nourriture.md'
  - 'enfant.md'
  - 'eau.md'
  - 'habillage.md'
  - 'entrainement.md'
  # - 'orientation.md'
  # - 'equipement.md'
  # - 'velo.md'
  # - 'colophon.md'

extra_css:
  - static/stylesheets/fonts.css
  - static/stylesheets/extra.css
plugins:
  - tags
  - search:
      lang: fr
  - git-revision-date-localized:
      type: iso_date
      fallback_to_build_date: true
  # Requires a repository setup.
  - rss:
      abstract_chars_count: -1
      date_from_meta:
        as_creation: "date"
        as_update: false
        datetime_format: "%Y-%m-%d %H:%M"
      length: 10
      pretty_print: false
extra:
  generator: false
  social:
    - icon: fontawesome/brands/mastodon
      link: https://mastodon.social/@dav
    - icon: material/rss-box
      link: /feed_rss_created.xml

markdown_extensions:
  - toc:
      permalink: ⚓︎
  - abbr
  - attr_list
  - md_in_html
  - admonition
  - pymdownx.details
  - pymdownx.inlinehilite
  - pymdownx.superfences
  - pymdownx.keys
  - pymdownx.mark
  - pymdownx.snippets:
      auto_append:
        - includes/abbreviations.md
  - pymdownx.highlight:
      anchor_linenums: true
  - pymdownx.emoji:
      emoji_index: !!python/name:materialx.emoji.twemoji
      emoji_generator: !!python/name:materialx.emoji.to_svg
  1. 🙅‍♂️ désactivation des polices Google

Il utilise la police tulia par Rebekka Marleaux définie ainsi :

fonts.css
@font-face {
  font-family: 'tulia';
  src: url('../fonts/tulia_regular.woff2') format('woff2'),
       url('../fonts/tulia_regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'tulia';
  src: url('../fonts/tulia_bold.woff2') format('woff2'),
       url('../fonts/tulia_bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'tulia';
  src: url('../fonts/tulia_italic.woff2') format('woff2'),
       url('../fonts/tulia_italic.woff') format('woff');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

Dernière mise à jour: 2022-08-26