site_name: OneTool
site_description: "96% Token Saving, 100+ tools"
site_url: https://onetool.beycom.online
site_dir: dist/site
repo_name: beycom/onetool-mcp
repo_url: https://github.com/beycom/onetool-mcp
edit_uri: edit/main/docs/

theme:
  name: material
  custom_dir: docs/overrides
  palette:
    - media: "(prefers-color-scheme)"
      toggle:
        icon: material/brightness-auto
        name: Switch to light mode
    - media: "(prefers-color-scheme: light)"
      scheme: default
      primary: custom
      accent: custom
      toggle:
        icon: material/brightness-7
        name: Switch to dark mode
    - media: "(prefers-color-scheme: dark)"
      scheme: slate
      primary: custom
      accent: custom
      toggle:
        icon: material/brightness-4
        name: Switch to system preference
  font:
    text: Inter
    code: JetBrains Mono
  features:
    - content.code.copy
    - content.code.annotate
    - content.tabs.link
    - content.tooltips
    - content.footnote.tooltips
    - navigation.tabs
    - navigation.tabs.sticky
    # Comment out during active CSS/content editing:
    # - navigation.instant
    # - navigation.instant.prefetch
    # - navigation.instant.progress
    - navigation.tracking
    - navigation.path
    - navigation.footer
    - navigation.sections
    - navigation.indexes
    - navigation.top
    - search.highlight
    - search.suggest
    - search.share
    - toc.follow
  icon:
    repo: fontawesome/brands/github
  favicon: assets/onetool-favicon-64.png
  logo: assets/logo-white.png

plugins:
  - search:
      separator: '[\s\u200b\-_,:!=\[\]()"`/]+|\.(?!\d)|&[lg]t;|(?!\b)(?=[A-Z][a-z])'
  - tags
  - redirects:
      redirect_maps: {}

markdown_extensions:
  - abbr
  - admonition
  - attr_list
  - def_list
  - footnotes
  - md_in_html
  - tables
  - toc:
      permalink: true
  - pymdownx.betterem:
      smart_enable: all
  - pymdownx.caret
  - pymdownx.critic
  - pymdownx.details
  - pymdownx.emoji:
      emoji_index: !!python/name:material.extensions.emoji.twemoji
      emoji_generator: !!python/name:material.extensions.emoji.to_svg
  - pymdownx.highlight:
      anchor_linenums: true
      line_spans: __span
      pygments_lang_class: true
  - pymdownx.inlinehilite
  - pymdownx.keys
  - pymdownx.mark
  - pymdownx.smartsymbols
  - pymdownx.snippets
  - pymdownx.superfences:
      custom_fences:
        - name: mermaid
          class: mermaid
          format: !!python/name:pymdownx.superfences.fence_code_format
  - pymdownx.tabbed:
      alternate_style: true
  - pymdownx.tasklist:
      custom_checkbox: true
  - pymdownx.tilde

not_in_nav: |
  _internal/**

validation:
  omitted_files: warn
  absolute_links: warn
  unrecognized_links: warn
  anchors: warn

extra_css:
  - stylesheets/extra.css

extra:
  analytics:
    provider: posthog
    property: phc_Abm7GbXLKOv1ti9x5Su7mdQRUdUthSuJeYqV5DNAlFl
    feedback:
      title: Was this page helpful?
      ratings:
        - icon: material/thumb-up-outline
          name: This page was helpful
          data: 1
          note: Thanks for your feedback!
        - icon: material/thumb-down-outline
          name: This page could be improved
          data: 0
          note: Thanks for your feedback!
  social:
    - icon: fontawesome/brands/github
      link: https://github.com/beycom/onetool-mcp
    - icon: fontawesome/brands/python
      link: https://pypi.org/project/onetool-mcp/

nav:
  - 🧿 Home: index.md
  - Features: features.md
  - Learn:
      - learn/index.md
      - Quickstart: learn/quickstart.md
      - Installation: learn/installation.md
      - Configuration: learn/configuration.md
      - Security: learn/security.md
      - Explicit Calls: learn/explicit-calls.md
      - Database Queries: learn/database-queries.md
      - Prompting Best Practices: learn/prompting-best-practices.md
      - Examples: learn/examples.md
      - Comparison: learn/comparison.md
  - Reference:
      - reference/index.md
      - CLIs:
          - reference/cli/index.md
          - onetool: reference/cli/onetool.md
          - bench: reference/cli/bench.md
      - Tools:
          - reference/tools/index.md
          - Brave: reference/tools/brave.md
          - Code: reference/tools/code.md
          - Context7: reference/tools/context7.md
          - Convert: reference/tools/convert.md
          - DB: reference/tools/db.md
          - Diagram: reference/tools/diagram.md
          - Excel: reference/tools/excel.md
          - File: reference/tools/file.md
          - Firecrawl: reference/tools/firecrawl.md
          - Ground: reference/tools/ground.md
          - LLM: reference/tools/llm.md
          - OT (Meta): reference/tools/ot.md
          - Package: reference/tools/package.md
          - Ripgrep: reference/tools/ripgrep.md
          - Scaffold: reference/tools/scaffold.md
          - Web: reference/tools/web.md
  - Extending:
      - extending/index.md
      - Creating Tools: extending/creating-tools.md
      - Extensions: extending/extensions.md
      - Logging: extending/logging.md
      - Testing: extending/testing.md
      - Creating CLIs: extending/creating-clis.md
  - About: about.md
