85 lines
2.0 KiB
YAML
85 lines
2.0 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
|
|
- 随想随写:
|
|
- blog/index.md
|
|
- 标签: blog/tags.md
|
|
- "MkDocs 参考": examples/index.md
|
|
|
|
plugins:
|
|
- tags:
|
|
tags_file: blog/tags.md
|
|
- search
|
|
- blog:
|
|
post_url_format: "{file}" |