mkdocs.yml 2.2 KB
Newer Older
Sidney233's avatar
Sidney233 committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
site_name: MinerU
site_url: https://sidney233.github.io/MinerU/
theme:
  name: material
  palette:
    # Palette toggle for automatic mode
    - media: "(prefers-color-scheme)"
      scheme: default
      primary: black
      toggle:
        icon: material/brightness-auto
        name: Switch to light mode

    # Palette toggle for light mode
    - media: "(prefers-color-scheme: light)"
      scheme: default
      primary: black
      toggle:
        icon: material/brightness-7
        name: Switch to dark mode

    # Palette toggle for dark mode
    - media: "(prefers-color-scheme: dark)"
      scheme: slate
      primary: black
      toggle:
        icon: material/brightness-4
        name: Switch to system preference
  features:
    - content.tabs.link
    - content.code.annotate
    - content.code.copy
    - navigation.instant
    - navigation.instant.progress
    - navigation.tabs
    - navigation.tabs.sticky
    - navigation.sections
    - navigation.path
    - navigation.indexes

nav:
  - Home:
    - "MinerU": index.md
    - Quick Start:
      - quick_start/index.md
      - Online Demo: quick_start/online_demo.md
      - Local Deployment: quick_start/local_deployment.md
    - Usage:
      - usage/index.md
      - API Calls or Visual Invocation: usage/api.md
      - Extending MinerU Functionality Through Configuration Files: usage/config.md
  - FAQ: FAQ.md
  - Output File Format: output_file.md

plugins:
  - i18n:
      docs_structure: folder
      languages:
        - locale: en
          default: true
          name: English
          build: true
        - locale: zh
          name: 中文
          build: true
          nav_translations:
            Home: 主页
            Quick Start: 快速开始
            Online Demo: 在线体验
            Local Deployment: 本地部署
            Usage: 使用方法
            API Calls or Visual Invocation: API 调用 或 可视化调用
            Extending MinerU Functionality Through Configuration Files: 基于配置文件扩展 MinerU 功能
            FAQ: 常见问题
            Output File Format: 输出文件格式
  - mkdocs-video

markdown_extensions:
  - gfm_admonition
  - pymdownx.highlight:
      use_pygments: true
  - pymdownx.superfences