From 36e89796c945e07022837db15502597beec1802a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=2E=20Fatih=20C=C4=B1r=C4=B1t?= Date: Mon, 15 Apr 2024 22:40:50 +0300 Subject: [PATCH] ci: fix deploy-docs and its colors (#46) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: M. Fatih Cırıt --- mkdocs.yml | 97 +++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 81 insertions(+), 16 deletions(-) diff --git a/mkdocs.yml b/mkdocs.yml index 6e762a16e..693a5b1dc 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,36 +1,101 @@ site_name: AWSIM document -repo_url: https://github.com/tier4/AWSIM +site_url: https://autowarefoundation.github.io/AWSIM +repo_url: https://github.com/autowarefoundation/AWSIM +edit_uri: https://github.com/autowarefoundation/AWSIM/tree/main/docs theme: name: material - palette: - primary: indigo features: + - navigation.expand + - navigation.indexes + - navigation.instant - navigation.sections + - navigation.tabs.sticky + - navigation.top - navigation.footer - content.tabs.link icon: + logo: fontawesome/solid/car repo: fontawesome/brands/github + language: en + palette: + - scheme: default + primary: light-green + accent: indigo + toggle: + icon: material/weather-sunny + name: Switch to dark mode + - scheme: slate + primary: grey + accent: indigo + toggle: + icon: material/weather-night + name: Switch to light mode + +extra: + font: + text: Roboto + code: Roboto Mono + version: + provider: mike + +extra_css: + - assets/css/extra.css + - https://use.fontawesome.com/releases/v5.15.4/css/all.css + +extra_javascript: + - assets/js/mathjax.js + - https://polyfill.io/v3/polyfill.min.js?features=es6 + - https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js + +plugins: + - awesome-pages + - exclude: + regex: + - ^(?!(.*/)?assets/).*\.(?!(.*\.)?md|(.*\.)?svg|(.*\.)?png|(.*\.)?gif|(.*\.)?jpg).*$ + - ^(.*/)?[^.]*$ + - macros + - mkdocs-video + - same-dir + - search markdown_extensions: - - tables + - abbr - admonition - - pymdownx.superfences - - pymdownx.details - - pymdownx.tabbed: - alternate_style: true - attr_list - - pymdownx.emoji: - emoji_index: !!python/name:material.extensions.emoji.twemoji - emoji_generator: !!python/name:material.extensions.emoji.to_svg + - codehilite: + guess_lang: false + - fontawesome_markdown + - footnotes + - md_in_html + - mdx_math + - mdx_truly_sane_lists: + nested_indent: 2 + - plantuml_markdown: + server: http://www.plantuml.com/plantuml + format: svg - pymdownx.arithmatex: generic: true - -extra_javascript: - - javascripts/mathjax.js - - https://polyfill.io/v3/polyfill.min.js?features=es6 - - https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js + - pymdownx.details + - pymdownx.emoji: + emoji_index: !!python/name:materialx.emoji.twemoji + emoji_generator: !!python/name:materialx.emoji.to_svg + - pymdownx.highlight + - pymdownx.snippets: + auto_append: + - includes/abbreviations.md + - pymdownx.tabbed: + alternate_style: true + - pymdownx.superfences: + custom_fences: + - name: mermaid + class: mermaid + format: !!python/name:pymdownx.superfences.fence_code_format + - toc: + permalink: "#" + toc_depth: 3 + - tables nav: - Home: index.md