Skip to content

Set up MkDocs documentation system with mkdocstrings #456

Description

@sidhantpande

Summary

Following up on #61, this issue proposes setting up MkDocs with
mkdocstrings as the documentation system for neural-lam.

What this adds

  • mkdocs.yml config at the repository root
  • docs/ directory structure with:
    • index.md (project overview)
    • getting_started/installation.md
    • getting_started/quickstart.md
    • api/metrics.md (auto-generated from docstrings)
    • api/models.md (auto-generated from docstrings)
    • api/datastore.md (auto-generated from docstrings)
  • MkDocs + mkdocstrings added as optional docs dependency group
    in pyproject.toml

Why MkDocs over Sphinx

  • Simpler configuration (YAML vs Python)
  • MkDocs Material theme is widely used in Python projects
  • mkdocstrings auto-generates API reference from NumPy-style
    docstrings already present in the codebase
  • Easy GitHub Pages deployment via CI

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions