# 站点配置
site_name: Oraset 编程语言
site_url: https://oraset.org
site_description: Oraset 编程语言官方文档 - 简单、强大、跨平台的编程语言

# 主题配置
theme:
  name: material
  language: zh
  palette:
    primary: orange
    accent: orange
    scheme: default
  features:
    - navigation.tabs
    - navigation.sections
    - search.suggest
    - search.highlight
    - content.code.copy
    - content.code.select
  icon:
    repo: fontawesome/brands/github
  logo: https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=Oraset%20programming%20language%20logo%2C%20orange%20color%2C%20modern%20design&image_size=square_hd

# 插件
plugins:
  - search

# 导航
nav:
  - 首页: index.md
  - 入门教程:
      - 快速开始: tutorial/quickstart.md
      - 基本语法: tutorial/basic-syntax.md
      - 控制结构: tutorial/control-structures.md
      - 函数和类: tutorial/functions-and-classes.md
  - 库参考:
      - 数学库: libraries/math.md
      - 字符串库: libraries/string.md
      - 数组库: libraries/array.md
      - 工具库: libraries/util.md

# 额外设置
markdown_extensions:
  - toc:
      permalink: true
  - pymdownx.highlight:
      anchor_linenums: true
  - pymdownx.inlinehilite
  - pymdownx.snippets
  - pymdownx.superfences
  - admonition
  - pymdownx.details

# 仓库配置
repo_url: https://github.com/Oraset/oraset
repo_name: Oraset/oraset

# 社交链接
extra:
  social:
    - icon: fontawesome/brands/github
      link: https://github.com/Oraset/oraset
    - icon: fontawesome/solid/comments
      link: https://bbs.ecuil.com