blog/mkdocs.yml
2024-07-25 23:51:35 +08:00

95 lines
2.8 KiB
YAML

site_name: "Cat Tom's Blog"
site_url: https://blog.cattom.site
site_author: Cat Tom # 作者
# 代码仓库信息
repo_name: cattom/blog
repo_url: http://cattomserver3-1.tail184fc.ts.net:84/cattom/blog.git
# 版权信息
copyright: Copyright © 2024 | Cat Tom
theme:
name: material
language: zh
logo: https://static.cattom.site/image/icon/40.png
favicon: https://static.cattom.site/image/icon/favicon-32x32.png
features:
- navigation.tabs
- navigation.instant
- navigation.instant.prefetch
- navigation.tracking
- navigation.top
- navigation.indexes
- search.suggest
- search.highlight
- content.code.copy
- content.code.annotate
- content.tabs.link
palette:
primary: blue grey
accent: light blue
markdown_extensions:
# Python Markdown
- abbr
- tables
- admonition
- attr_list
- def_list
- footnotes
- md_in_html
- toc:
permalink: true
# Python Markdown Extensions
- pymdownx.critic
- 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.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.snippets
- pymdownx.tabbed:
alternate_style: true
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tilde
nav:
- "主页": index.md
- "生活":
- life/index.md
- "原发免疫性血小板减少症 (ITP)": life/ITP.md
- "技术":
- tech/index.md
- "Mi 6 (sagit)": tech/Mi6(sagit).md
- "极1S (HC5661)": tech/HC5661.md
- "Git: 覆盖本地修改": tech/Git-overwriting-local-changes.md
- "Redmi 4X (santoni)": tech/Redmi4X(santoni).md
- "手把手教你备份和还原 Docker 卷": tech/Backup-and-Restore-of-Docker-Volumes-A-Step-by-Step-Guide.md
- "在 Ubuntu 24.04 上添加交换空间": tech/How-to-Add-Swap-Space-on-Ubuntu-2404.md
- "Docker Compose: 限制容器的资源使用": tech/Docker-Compose-Limiting-container-resource-usage.md
- "创建和管理 Linux 服务器用于身份验证的 SSH 密钥": tech/Creating-and-Managing-SSH-Keys-for-Authentication-on-Linux-Servers.md
- "将已经失效的 Onedrive 账户从资源管理器边侧栏去除": tech/Remove-deactivated-Onedrive-accounts-from-Explorer-sidebar.md
- "MkDocs 参考": examples/index.md
plugins:
- search
- glightbox
- tags:
tags_file: blog/tags.md