Skip to content

Documentation overhaul: modernise site layout, fix stale content, restructure navigation #339

Description

@mvreeuwijk

A full audit of the documentation against the current master codebase (2026-07-18) shows the docs have drifted substantially and the site layout is dated. This issue tracks a documentation overhaul.

Scope decisions

  • Python tooling: pages that already reference the Python path keep it. A new Python package overview page will be added (marked as under active testing), pointing to the tutorial notebooks in tools/python/examples/.
  • MATLAB path: all tutorials remain MATLAB-based for now. Docs will state that the MATLAB path is deprecated and will be retired from uDALES v3.0 onwards, with the Python package as its successor.
  • Namelist reference: current level of per-variable description is sufficient (several namelist variables are unused and pending cleanup). Only stale entries and incorrect defaults are fixed — no coverage expansion.
  • Publication list: to be fed by an automated push of recent uDALES papers from vanreeuwijk.net (integration designed separately; the page will be structured to consume it).

Audit findings

Broken/incorrect references

  • DEVELOP.md:5,51 — links to renamed page udales-getting-started (now udales-installation); both anchors 404
  • docs/udales-simulation-setup.md:8write_input.sh / write_input.mwrite_inputs.sh / write_inputs.m
  • All five tutorials reference non-existent /docs/tutorial_mlx → actual docs/tutorial_udbase/
  • docs/udales-installation.md:184NETCDF4_DIRNETCDF_DIR; options table omits DOUBLE_PRECISION, SINGLE_PRECISION_OUTPUT, FFT_Choice
  • docs/udales-how-to-cite.md — GMD volume says 16, should be 17
  • docs/udales-example-simulations.md — references non-existent case 501; 949/950 precursor mixups; Tfacinit.f90Tfacinit.inp.<expnr>; &INP&INPS; image captions blocks.501/502 for cases 949/950
  • docs/cluster_workflows.md — hardcoded personal path /rds/general/user/mvr/home/udales/.venv; stale Python/3.9.6 module (scripts load Python/3.13.1-GCCcore-14.2.0)
  • Typos: "uvuntu" (installation), "depricate"/"recomended" (pre-processing), &OUPUT (post-processing)
  • Venv location inconsistent across pages: tools/python/.venv (setup_venv.sh, write_inputs.sh) vs top-level .venv (Windows page, DEVELOP.md)

Namelist reference (scoped fixes only)

  • Remove stale documented options no longer read from namoptions: luflowr, lvflowr, lslicedump (now lk/li/ljslicedump), nblocks, lsdriver (set programmatically)
  • Fix wrong defaults: dtdriver (0 → 0.1), fraction (0 → 1), courant (1.1 → effective 1.5), driverstore (documented 0, actually uninitialised — must be set when driving)

Structure / navigation

  • Orphan pages not in nav: udales-2decomp.md, cluster_workflows.md, udales-agents.md (linked from homepage but not navigable), udales-workflow.md (stub)
  • udales-workflow.md is a 3-line stub — write a real end-to-end workflow overview (build → pre-process → run → post-process) and put it in nav
  • New page: Python package overview (udbase, udprep, udgeom, udvis, udstats; testing caveat; pointer to tools/python/examples/ notebooks)
  • Add MATLAB-path deprecation notice (retired from v3.0) to MATLAB-routed pages/tutorials
  • Nav regrouping: user path (install → inputs → run → post-process), tutorials, Python package, developer section (DEVELOP, CONTRIBUTING, 2decomp, agents, cluster workflows), about (cite, publications)
  • Mention tools/link_driver_files.sh in driver-simulations page (currently instructs manual copy)

Site layout modernisation (mkdocs)

  • Modern Material palette with automatic light/dark scheme toggle
  • Enable navigation/search features: navigation.tabs, navigation.top, search.suggest, search.highlight, content.code.copy, toc.follow
  • MathJax 2.7 (2017) → MathJax 3 with current arithmatex generic config
  • Replace legacy codehilite with pymdownx.highlight; de-duplicate extension list (mark, details, superfences, tasklist all listed twice)
  • Homepage redesign: capability overview + quick-start cards (keep the animation GIFs)
  • Branding: logo/favicon (Material icon)

Deferred (follow-up issues, out of scope here)

  • Scalar boundary conditions section ("TBC")
  • Output-variables reference (what each dump file contains)
  • Restart/warmstart documentation
  • Troubleshooting/FAQ page
  • CONTRIBUTING.md refresh (last touched 2020)
  • vanreeuwijk.net → publication list feed implementation

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions