You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

197 lines
5.5 KiB

# Ultralytics YOLO 🚀, AGPL-3.0 license
site_name: Ultralytics YOLOv8 文档
site_description: 探索Ultralytics YOLOv8,这是一款尖端的实时对象检测和图像分割模型,适用于各种应用和硬件平台。
site_url: https://docs.ultralytics.com/zh/
site_author: Ultralytics
repo_url: https://github.com/ultralytics/ultralytics
edit_uri: https://github.com/ultralytics/ultralytics/tree/main/docs/zh/
repo_name: ultralytics/ultralytics
remote_name: https://github.com/ultralytics/docs
docs_dir: 'zh/' # where to find the markdown files
site_dir: '../site/zh' # where to publish to
theme:
name: material
language: zh
custom_dir: overrides/
logo: https://github.com/ultralytics/assets/raw/main/logo/Ultralytics_Logotype_Reverse.svg
favicon: assets/favicon.ico
icon:
repo: fontawesome/brands/github
# font: # disabled for faster page load times
# text: Helvetica
# code: Roboto Mono
palette:
- media: "(prefers-color-scheme)"
toggle:
icon: material/brightness-auto
name: Switch to light mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: black
accent: indigo
toggle:
icon: material/brightness-4
name: Switch to system preference
- media: "(prefers-color-scheme: light)"
scheme: default
primary: indigo
accent: indigo
toggle:
icon: material/brightness-7
name: Switch to dark mode
features:
- announce.dismiss
- content.action.edit
- content.code.annotate
- content.code.copy
- content.tooltips
- search.highlight
- search.share
- search.suggest
- toc.follow
- navigation.top
- navigation.tabs
- navigation.tabs.sticky
- navigation.prune
- navigation.footer
- navigation.tracking
- navigation.instant
- navigation.instant.progress
- navigation.indexes
- navigation.sections
- content.tabs.link # all code tabs change simultaneously
# Customization
copyright: <a href="https://ultralytics.com" target="_blank">© 2023 Ultralytics Inc.</a> All rights reserved.
extra:
# version:
# provider: mike # version drop-down menu
robots: robots.txt
analytics:
provider: google
property: G-2M5EHKC0BH
alternate: # language drop-down
- name: 🇬🇧 English
link: /
lang: en
- name: 🇨🇳 简体中文
link: /zh/
lang: zh
- name: 🇰🇷 한국어
link: /ko/
lang: ko
- name: 🇯🇵 日本語
link: /ja/
lang: ja
- name: 🇷🇺 Русский
link: /ru/
lang: ru
- name: 🇩🇪 Deutsch
link: /de/
lang: de
- name: 🇫🇷 Français
link: /fr/
lang: fr
- name: 🇪🇸 Español
link: /es/
lang: es
- name: 🇵🇹 Português
link: /pt/
lang: pt
social:
- icon: fontawesome/brands/github
link: https://github.com/ultralytics
- icon: fontawesome/brands/linkedin
link: https://www.linkedin.com/company/ultralytics/
- icon: fontawesome/brands/twitter
link: https://twitter.com/ultralytics
- icon: fontawesome/brands/youtube
link: https://www.youtube.com/ultralytics
- icon: fontawesome/brands/docker
link: https://hub.docker.com/r/ultralytics/ultralytics/
- icon: fontawesome/brands/python
link: https://pypi.org/project/ultralytics/
- icon: fontawesome/brands/discord
link: https://ultralytics.com/discord
extra_css:
- 'stylesheets/style.css'
extra_javascript:
- 'javascript/extra.js'
markdown_extensions:
- admonition
- md_in_html
- tables
- attr_list
- def_list
- pymdownx.critic
- pymdownx.caret
- pymdownx.keys
- pymdownx.mark
- pymdownx.tilde
- pymdownx.details
- pymdownx.superfences
- pymdownx.inlinehilite
- pymdownx.highlight:
anchor_linenums: true
- pymdownx.snippets:
base_path: ./
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- pymdownx.tabbed:
alternate_style: true
# Primary navigation ---------------------------------------------------------------------------------------------------
nav:
- 主页:
- 主页: index.md
- 快速开始: quickstart.md
- 模式:
- modes/index.md
- 训练: modes/train.md
- 验证: modes/val.md
- 预测: modes/predict.md
- 导出: modes/export.md
- 跟踪: modes/track.md
- 基准测试: modes/benchmark.md
- 任务:
- tasks/index.md
- 检测: tasks/detect.md
- 分割: tasks/segment.md
- 分类: tasks/classify.md
- 姿态: tasks/pose.md
- 快速开始: quickstart.md
- 模式:
- modes/index.md
- 训练: modes/train.md
- 验证: modes/val.md
- 预测: modes/predict.md
- 导出: modes/export.md
- 跟踪: modes/track.md
- 基准测试: modes/benchmark.md
- 任务:
- tasks/index.md
- 检测: tasks/detect.md
- 分割: tasks/segment.md
- 分类: tasks/classify.md
- 姿态: tasks/pose.md
- 模型:
- models/index.md
- 数据集:
- datasets/index.md
# Plugins including 301 redirects navigation ---------------------------------------------------------------------------
plugins:
- search:
lang: zh
- ultralytics:
add_desc: False
add_image: True
add_share_buttons: True
default_image: https://github.com/ultralytics/ultralytics/assets/26833433/6d09221c-c52a-4234-9a5d-b862e93c6529