mkdocs.yml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. site_name: SmartDNS
  2. site_description: SmartDNS
  3. site_author: pymumu
  4. site_url: !ENV SITE_URL
  5. repo_name: 'pymumu/smartdns'
  6. repo_url: 'https://github.com/pymumu/smartdns'
  7. # Copyright
  8. copyright: "Copyright © Nick Peng"
  9. theme:
  10. name: material
  11. icon:
  12. repo: fontawesome/brands/github
  13. logo: assets/smartdns.png
  14. feature:
  15. tabs: true
  16. favicon: 'assets/smartdns.png'
  17. language: 'zh'
  18. include_sidebar: false
  19. palette:
  20. - scheme: default
  21. primary: 'green'
  22. accent: 'green'
  23. toggle:
  24. icon: material/weather-sunny
  25. name: Switch to dark mode
  26. - scheme: slate
  27. primary: 'dark'
  28. accent: 'dark'
  29. toggle:
  30. icon: material/weather-night
  31. name: Switch to light mode
  32. features:
  33. - navigation.path
  34. - navigation.prune
  35. - navigation.instant
  36. - navigation.indexes
  37. - navigation.tabs
  38. - navigation.tabs.sticky
  39. - toc.follow
  40. - content.code.copy
  41. plugins:
  42. - search
  43. extra_css:
  44. - stylesheets/extra.css
  45. extra:
  46. alternate:
  47. - name: 中文
  48. link: ./
  49. lang: zh
  50. - name: English
  51. link: en/
  52. lang: en
  53. markdown_extensions:
  54. - pymdownx.inlinehilite
  55. - pymdownx.keys
  56. - pymdownx.mark
  57. - pymdownx.smartsymbols
  58. - pymdownx.superfences
  59. - pymdownx.superfences:
  60. custom_fences:
  61. - name: mermaid
  62. class: mermaid
  63. format: !!python/name:pymdownx.superfences.fence_code_format
  64. nav:
  65. - 首页: 'index.md'
  66. - 下载: 'download.md'
  67. - 安装:
  68. - 标准Linux系统 / 树莓派: 'install/linux.md'
  69. - OpenWrt: 'install/openwrt.md'
  70. - 华硕固件 / 梅林固件: 'install/asus.md'
  71. - EntWare: 'install/entware.md'
  72. - WSL: 'install/wsl.md'
  73. - Docker: 'install/docker.md'
  74. - 配置指导:
  75. - 基本配置: 'config/basic-config.md'
  76. - 仪表盘界面: 'config/dashboard.md'
  77. - 上游DNS服务器: 'config/upstream-dns.md'
  78. - 服务端配置: 'config/server-config.md'
  79. - 缓存设置: 'config/cache.md'
  80. - 屏蔽广告: 'config/ad-block.md'
  81. - 双栈优选: 'config/dualstack.md'
  82. - 禁用IPV6: 'config/block-ipv6.md'
  83. - DNS分流: 'config/domain-forwarding.md'
  84. - 测速模式: 'config/check-speed-mode.md'
  85. - 域名规则: 'config/domain-rule.md'
  86. - 客户端规则: 'config/client-rule.md'
  87. - 域名地址: 'config/domain-address.md'
  88. - cname别名查询: 'config/cname.md'
  89. - 域名集合: 'config/domain-set.md'
  90. - 规则组: 'config/rule-group.md'
  91. - IPSet和NFTSet: 'config/ipset-nftset.md'
  92. - 通过代理查询: 'config/proxy.md'
  93. - DNS64: 'config/dns64.md'
  94. - IP规则: 'config/ip-rule.md'
  95. - IP地址集合: 'config/ip-set.md'
  96. - IP别名: 'config/ip-alias.md'
  97. - 安全相关: 'config/security.md'
  98. - 白名单分流请求: 'config/forwarding-with-ipset.md'
  99. - EDNS客户端子网: 'config/edns-client-subnet.md'
  100. - Bootstrap DNS: 'config/bootstrap-dns.md'
  101. - 后备DNS: 'config/fallback-dns.md'
  102. - 解析本地主机名: 'config/resolv-dnsmasq-lease.md'
  103. - 更多指导: 'config/more.md'
  104. - 配置选项: 'configuration.md'
  105. - 编译: 'compile.md'
  106. - 常见问题: 'faq.md'
  107. - 捐赠: 'donate.md'