1
Fork 0
mirror of https://github.com/RealOrangeOne/notes.git synced 2024-11-17 13:09:04 +00:00
notes/mkdocs.yml

118 lines
2.9 KiB
YAML

site_name: Notes
site_url: https://notes.theorangeone.net
repo_url: https://github.com/RealOrangeOne/notes
repo_name: RealOrangeOne/notes
copyright: "© TheOrangeOne"
extra:
social:
- icon: fontawesome/solid/globe
link: https://theorangeone.net
- icon: fontawesome/brands/mastodon
link: https://theorangeone.net/@jake
- icon: fontawesome/brands/twitter
link: https://twitter.com/RealOrangeOne
- icon: fontawesome/brands/github
link: https://github.com/RealOrangeOne
- icon: fontawesome/solid/rss
link: /feed_rss_updated.xml
analytics:
provider: plausible
domain: notes.theorangeone.net
src: https://elbisualp.theorangeone.net/js/script.js
theme:
name: material
features:
- navigation.top
- navigation.sections
- navigation.indexes
- toc.follow
- search.suggest
- navigation.top
icon:
logo: fontawesome/regular/note-sticky
repo: fontawesome/brands/github
favicon: https://theorangeone.net/favicon.ico
custom_dir: theme/
palette:
# Palette toggle for light mode
- scheme: default
primary: deep orange
accent: orange
toggle:
icon: material/brightness-7
name: Switch to dark mode
# Palette toggle for dark mode
- scheme: slate
primary: deep orange
accent: orange
toggle:
icon: material/brightness-4
name: Switch to light mode
hooks:
- hooks/notes.py
- hooks/tag_nav.py
# Extensions
markdown_extensions:
- attr_list
- abbr
- pymdownx.highlight
- pymdownx.superfences
- footnotes
- markdown.extensions.admonition
- markdown.extensions.def_list
- markdown.extensions.toc:
permalink: 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.inlinehilite
- pymdownx.keys
- pymdownx.magiclink
- pymdownx.mark
- pymdownx.progressbar
- pymdownx.smartsymbols
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tilde
- mdx_include:
base_path: docs
plugins:
- search
- glightbox
- awesome-pages:
strict: true
order: asc
sort_type: natural
order_by: title
- tags:
enabled: true
tags_file: notes/index.md
- git-revision-date-localized:
enable_creation_date: true
fallback_to_build_date: true
exclude:
- README.md
- notes/index.md
- minify_html
- social
- rss:
date_from_meta:
as_creation: "git_creation_date_localized_raw_iso_datetime"
as_update: "git_updated_date_localized_raw_iso_datetime"
datetime_format: "%Y-%m-%d %H:%M:%S"
json_feed_enabled: false
match_path: "notes\/(?!(index\\.md)$).+"
categories:
- tags
- material-plausible