-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(docs): Split mkdocs into a controlled theme and doc specific parts.
Better align the docs earthfile structure with the style guide
- Loading branch information
Showing
4 changed files
with
141 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
# cspell: words Diagramsnet, pymdownx, linenums, inlinehilite, superfences, | ||
# cspell: words tasklist, betterem, materialx, twemoji, smartsymbols, | ||
# cspell: words kroki, excalidraw, glightbox, cips, pygments, arithmatex | ||
|
||
site_author: The Project Catalyst Team | ||
copyright: (c) 2023 Input Output Global Ltd. | ||
|
||
# The Documentation src to build. | ||
docs_dir: src | ||
|
||
theme: | ||
name: material | ||
custom_dir: overrides | ||
palette: | ||
# Palette toggle for light mode | ||
- scheme: default | ||
media: "(prefers-color-scheme: light)" | ||
toggle: | ||
icon: material/brightness-7 | ||
name: Switch to dark mode | ||
|
||
# Palette toggle for dark mode | ||
- scheme: slate | ||
media: "(prefers-color-scheme: dark)" | ||
toggle: | ||
icon: material/brightness-4 | ||
name: Switch to light mode | ||
|
||
features: | ||
- navigation.instant | ||
- navigation.instant.progress | ||
- navigation.tracking | ||
#- navigation.tabs | ||
#- navigation.tabs.sticky | ||
- navigation.sections | ||
- navigation.expand | ||
- navigation.path | ||
- navigation.indexes | ||
- toc.follow | ||
- toc.integrate | ||
- search.suggest | ||
- search.highlight | ||
|
||
plugins: | ||
- search | ||
- meta-manager | ||
- macros: | ||
module_name: macros | ||
# - diagrams - Plugin is installed, but produces corrupted output | ||
- kroki: | ||
ServerURL: https://kroki.io | ||
EnableDiagramsnet: true | ||
HttpMethod: POST | ||
- glightbox | ||
|
||
markdown_extensions: | ||
# Python Markdown | ||
- abbr | ||
- admonition | ||
- attr_list | ||
- def_list | ||
- footnotes | ||
- md_in_html | ||
- tables | ||
- toc: | ||
permalink: true | ||
|
||
# Python Markdown Extensions | ||
- pymdownx.arithmatex: | ||
generic: true | ||
- pymdownx.betterem: | ||
smart_enable: all | ||
- pymdownx.caret | ||
- pymdownx.details | ||
- pymdownx.emoji: | ||
emoji_index: !!python/name:material.extensions.emoji.twemoji | ||
emoji_generator: !!python/name:material.extensions.emoji.to_svg | ||
- pymdownx.highlight: | ||
anchor_linenums: true | ||
line_spans: __span | ||
pygments_lang_class: true | ||
- pymdownx.inlinehilite | ||
- pymdownx.keys | ||
- pymdownx.mark | ||
- pymdownx.smartsymbols | ||
- pymdownx.snippets: | ||
auto_append: | ||
- includes/abbreviations.md | ||
- pymdownx.superfences: | ||
custom_fences: | ||
- name: mermaid | ||
class: mermaid | ||
format: !!python/name:pymdownx.superfences.fence_code_format | ||
- pymdownx.tabbed: | ||
alternate_style: true | ||
- pymdownx.tasklist: | ||
custom_checkbox: true | ||
- pymdownx.tilde | ||
|
||
extra: | ||
consent: | ||
title: Cookie consent | ||
description: >- | ||
We use cookies to recognize your repeated visits and preferences, as well | ||
as to measure the effectiveness of our documentation and whether users | ||
find what they're searching for. With your consent, you're helping us to | ||
make our documentation better. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters