clincalc 0.2.1

Open, auditable clinical calculators: a pure scoring engine plus the `clincalc` CLI in one crate. The engine is a serde-only leaf (build with default-features = false); the default `cli` feature adds the `clincalc` binary.
Documentation
site_name: clincalc
site_description: Open, auditable clinical calculators - one Rust scoring engine behind a simple command line.
site_url: https://pacharanero.github.io/clincalc/

repo_url: https://github.com/pacharanero/clincalc
repo_name: pacharanero/clincalc
edit_uri: edit/main/docs/

docs_dir: docs

theme:
  name: zensical
  variant: modern
  # Brand mark is the Material Design `function-variant` glyph (ƒ(x)), shipped
  # as a single SVG used for both the top-left logo and the favicon. The icon
  # is `fill="currentColor"`, so docs/stylesheets/extra.css picks the teal per
  # colour scheme. The header chrome itself is left neutral (white in light,
  # near-black in dark) so the teal reads as an accent rather than washing the
  # whole chrome.
  logo: assets/logo.svg
  favicon: assets/logo.svg
  features:
    - content.code.copy # copy button on every code block (the headline: copy-paste)
    - content.code.annotate # numbered (1) annotations inside code blocks
    - content.action.edit # "edit this page" link back to GitHub
    - content.action.view # "view source" link back to GitHub
    - navigation.sections
    - navigation.top
    - navigation.footer
    - toc.follow
    - search.suggest
    - search.highlight

  palette:
    # Follows the OS preference until the reader picks a side with the toggle.
    - media: "(prefers-color-scheme)"
      toggle:
        icon: material/brightness-auto
        name: Switch to light mode
    - media: "(prefers-color-scheme: light)"
      scheme: default
      primary: white
      accent: teal
      toggle:
        icon: material/brightness-7
        name: Switch to dark mode
    - media: "(prefers-color-scheme: dark)"
      scheme: slate
      primary: black
      accent: teal
      toggle:
        icon: material/brightness-4
        name: Switch to system preference

extra_css:
  - stylesheets/extra.css

nav:
  - Home: index.md
  - Install: install.md
  - Walkthrough: walkthrough.md
  - CLI reference: cli-reference.md
  - MCP server: mcp.md
  - Calculator catalogue: calculators.md
  - How it works: how-it-works.md

markdown_extensions:
  - admonition
  - attr_list
  - def_list
  - footnotes
  - md_in_html
  - tables
  - toc:
      permalink: true
  - pymdownx.details
  - pymdownx.highlight:
      anchor_linenums: true
      line_spans: __span
      pygments_lang_class: true
  - pymdownx.inlinehilite
  - pymdownx.keys
  # Lets the docs embed the committed example inputs verbatim with
  #   --8<-- "examples/feverpain.json"
  # so a snippet shown on the page is byte-for-byte the file you pipe in.
  # base_path is the repo root (where this file lives); check_paths fails the
  # build loudly if a referenced file goes missing rather than embedding blank.
  - pymdownx.snippets:
      base_path: ["."]
      check_paths: true
  - pymdownx.superfences
  - pymdownx.tabbed:
      alternate_style: true
  - pymdownx.tasklist:
      custom_checkbox: true
  - pymdownx.emoji:
      emoji_index: !!python/name:zensical.extensions.emoji.twemoji
      emoji_generator: !!python/name:zensical.extensions.emoji.to_svg

copyright: >-
  Copyright &copy; 2026 Marcus Baw.
  Source <a href="https://github.com/pacharanero/clincalc">pacharanero/clincalc</a>.