site_name: cfsem
site_url: https://cfsem-py.readthedocs.io
theme:
  name: material
  logo: assets/logo.svg
  palette:
    primary: custom
    accent: custom

plugins:
  - search
  - mkdocstrings:
      handlers:
        python:
          options:
            heading_level: 3
            show_root_heading: true
            separate_signature: true
            show_signature_annotations: true

nav:
  - "About cfsem": index.md
  - "Python Examples": "python/examples.md"
  - "Python API":
      - "python/filament.md"
      - "python/circular_filament.md"
      - "python/point_segment.md"
      - "python/dipole.md"
      - "python/boundary_element.md"
      - "python/solenoid.md"
      - "python/inductance.md"
      - "python/grad_shafranov.md"
      - "python/solenoid_stress.md"
      - "python/math.md"
      - "python/types.md"
  - "Rust API": "https://docs.rs/cfsem"

markdown_extensions:
  - pymdownx.arithmatex:
      generic: true
  - toc:
      permalink: true
  - md_in_html
  - pymdownx.highlight:
      anchor_linenums: true
      line_spans: __span
      pygments_lang_class: true
  - pymdownx.inlinehilite
  - pymdownx.snippets:
      check_paths: true
  - pymdownx.superfences

extra_javascript:
  - javascripts/mathjax.js
  - https://polyfill.io/v3/polyfill.min.js?features=es6
  - https://unpkg.com/mathjax@3/es5/tex-mml-chtml.js

extra_css:
  - stylesheets/extra.css

watch:
  - cfsem

exclude_docs: |
  rust/static.files/SourceSerif4-LICENSE-*.md
