Skip to content

Documentation overhaul: modernise site, fix stale content, add missing pages - #341

Merged
madDipanjan merged 7 commits into
masterfrom
docs-overhaul
Jul 23, 2026
Merged

Documentation overhaul: modernise site, fix stale content, add missing pages#341
madDipanjan merged 7 commits into
masterfrom
docs-overhaul

Conversation

@mvreeuwijk

Copy link
Copy Markdown
Member

Addresses #339 (full audit findings and UX analysis recorded there).

Content fixes

  • All broken references found in the audit: dead udales-getting-started links, /docs/tutorial_mlxtutorial_udbase (5 tutorials), write_input.sh typo, NETCDF4_DIRNETCDF_DIR, GMD citation volume 16 → 17, example 949/950 mixups and phantom case 501, Tfacinit.f90Tfacinit.inp.<expnr>, &INP&INPS, assorted typos
  • Namelist reference: removed 5 stale options no longer read by the code (luflowr, lvflowr, lslicedump, nblocks, lsdriver); fixed 4 wrong defaults (dtdriver, fraction, courant, driverstore) — all verified against source
  • Cluster workflows page de-personalised (generic venv path, current Python module)
  • Scalar boundary conditions section written (was "TBC"), verified against modboundary.f90

New pages

  • Model overview — physics and capabilities with citations
  • Output files reference — every NetCDF dump with enabling switch, frequency, and contents (incl. fac.nc and restart files), verified against source
  • Troubleshooting — 16 entries grounded in actual error messages
  • Python package overview — under-testing caveat, pointers to notebooks in tools/python/examples/
  • Workflow overview — end-to-end build → pre-process → run → post-process page (replaces stub)
  • Developer docs: Code architecture (verified RK3 timestep call sequence from program.f90), Extending uDALES (recipes traced through working examples), Testing and CI

Scope decisions

  • Existing Python content stays; tutorials remain MATLAB-based with a deprecation notice: MATLAB path retired from v3.0 onwards
  • Singularity de-emphasised (image is still uDALES 1.0); release-vs-master guidance added
  • Publication list refreshed: 4 verified new papers added, Owens2025 entry completed

Site modernisation

  • Material light/dark palette toggle, navigation tabs, search suggest/highlight, code copy, mermaid support
  • MathJax 2.7 → 3; legacy codehilitepymdownx.highlight; de-duplicated extensions; removed obsolete bibtex cite_style option (latent CI break)
  • Homepage redesigned with capability overview and card grid; nav restructured into journey-based tabs; orphan pages included
  • docs/DEVELOP.md/docs/CONTRIBUTING.md symlinks (rendered as literal path text on Windows checkouts) replaced with build-time snippet includes
  • FORD config moved out of docs/ to ford.md (it rendered as a garbled page locally); nav now has a proper Fortran API reference explainer; note: the CI docs job's ford invocation changed accordingly

Site builds cleanly with mkdocs build (only pre-existing benign warnings remain). Follow-ups tracked in #339; run_examples.sh drift filed as #340.

🤖 Generated with Claude Code

mvreeuwijk and others added 6 commits July 18, 2026 15:03
…e nav (#339)

Content fixes:
- Fix dead links (udales-getting-started, /docs/tutorial_mlx, write_inputs.sh)
- Fix NETCDF_DIR option name; document DOUBLE_PRECISION, SINGLE_PRECISION_OUTPUT, FFT_Choice
- Fix citation volume (GMD 17), example 949/950 mixups, Tfacinit/&INPS errors, typos
- De-personalise cluster workflows page (generic venv path, current Python module)
- Remove stale namelist rows (luflowr, lvflowr, lslicedump, nblocks, lsdriver)
- Fix wrong defaults (dtdriver, fraction, courant, driverstore)
- Mention link_driver_files.sh in driver simulations page

Structure:
- New Python package overview page (under-testing caveat, notebook pointers)
- MATLAB path deprecation notices: retired from v3.0 onwards
- Write real workflow overview page (was a stub)
- Homepage redesign with capability overview and card grid
- Nav restructure into journey-based tabs; include orphan pages

Site modernisation:
- Material light/dark palette toggle, navigation tabs, search suggest/highlight, code copy
- MathJax 2.7 -> MathJax 3; codehilite -> pymdownx.highlight; dedupe extensions
- Mermaid diagram support; remove obsolete bibtex cite_style option

Publications:
- Add Wilson2026, Fellini2026, Wilson2025, Reeuwijk2025; complete Owens2025 entry

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ingularity (#339)

New pages:
- Model overview: physics and capabilities with citations
- Output files reference: every NetCDF dump with enabling switch and frequency,
  incl. fac.nc (lwritefac) and restart files; verified against source
- Troubleshooting: 16 entries grounded in actual error messages in code/scripts
- Scalar boundary conditions section (was "TBC"), verified against modboundary

Fixes:
- Replace docs/DEVELOP.md and docs/CONTRIBUTING.md symlinks (rendered as literal
  path text on Windows checkouts) with pymdownx.snippets build-time includes
- Refresh DEVELOP.md: drop obsolete ../.venv instructions, point to
  setup_venv.sh and tests/run_tests.py
- De-emphasise Singularity: outdated-image warning (still uDALES 1.0), removed
  from homepage/workflow, section marked not recommended

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- New Development overview page orienting the section (notes, contributing,
  parallelisation, agents, FORD docs, repo layout)
- DEVELOP.md: replace duplicated installation/running sections with a pointer
  to the installation guide plus developer-specific Debug build instructions
- Rename included notes page to udales-development-notes.md

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…h instructions (#339)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
docs/udales-docs-software.md was the FORD config file, which MkDocs rendered
as a garbled page whenever FORD had not overwritten it (any local preview).
Move it to ford.md at the repo root (paths adjusted, TODO summary filled in),
update the CI and DEVELOP.md build commands, and replace the raw nav link
with a small explainer page for the Fortran API reference.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- Code architecture: repository layout, module responsibilities, and the
  verified RK3 timestep call sequence from program.f90; field array and
  halo conventions
- Extending uDALES: recipes traced through working examples — namelist
  option, fielddump variable, xytdump statistic, example case, test suite
- Testing and CI: actual suites from test_suites.yml, local invocation,
  CI jobs, and pre-review expectations
- Development overview updated; release-vs-master guidance added to
  installation and development pages

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@mvreeuwijk
mvreeuwijk requested a review from madDipanjan July 18, 2026 14:48
@mvreeuwijk mvreeuwijk added this to the 2.3 milestone Jul 18, 2026
@madDipanjan
madDipanjan merged commit 295a462 into master Jul 23, 2026
14 checks passed
@madDipanjan
madDipanjan deleted the docs-overhaul branch July 23, 2026 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants