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.
 
 
 

162 lines
4.8 KiB

# Ultralytics YOLO 🚀, AGPL-3.0 license
site_name: Ultralytics YOLOv8 文档
site_url: https://docs.ultralytics.com/zh/
site_description: Explore Ultralytics YOLOv8, a cutting-edge real-time object detection and image segmentation model for various applications and hardware platforms.
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:
- scheme: default # light mode
# primary: grey
toggle:
icon: material/toggle-switch
name: Switch to dark mode
- scheme: slate # dark mode
# primary: black
toggle:
icon: material/toggle-switch-off-outline
name: Switch to light 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
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'
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
# 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