Skip to content

Modernize site build, model catalog, and content structure - #24

Merged
alee merged 6 commits into
mainfrom
update-build
Aug 19, 2026
Merged

Modernize site build, model catalog, and content structure#24
alee merged 6 commits into
mainfrom
update-build

Conversation

@alee

@alee alee commented Aug 19, 2026

Copy link
Copy Markdown
Member

Summary

Comprehensive refresh of the Making Models FAIR site: modernizes the Hugo/Docsy build pipeline, introduces a synchronized model publication bibliography with catalog lockfile, reorganizes content sections, and overhauls styling, layouts, and accessibility.

Changes

Build & tooling

  • Migrate to npm-based Docsy (@docsy/theme) with pinned Hugo version and Docker toolchain
  • Add Makefile targets (shell, build, render, bibliography-check) and docker-compose workflow
  • Add GitHub Actions workflows for gh-pages deployment and model-catalog lock updates
  • Add scripts for BibTeX→JSON conversion, model fetching, and bibliography sync checking

Model catalog & bibliography

  • Add model-catalog.lock.json as immutable coordination source with checksum
  • Add assets/bibliographies/publications.bib and generated data/publications.json
  • Add data/model_domains.yaml with reviewed SKOS mappings
  • New publications list layout and model-domain taxonomy pages

Content reorganization

  • Rename docs/Models/*docs/models/* (cooperation, crowd-dynamics, ecological-processes, land-use, publications)
  • Rename docs/Process/*docs/process/* (assessment, how-to)
  • Consolidate checklist content under docs/getting-involved/checklist
  • Update landing, about, and search pages

Styling & layouts

  • Expand _styles_project.scss with design tokens, card/table/accessibility styles, responsive mermaid sizing
  • Add _variables_project.scss for MMF color palette
  • New shortcodes: model-process (Mermaid FAIR process diagram), model-table, imgproc, feature block
  • New partials: head.html, head-end.html, taxonomy_terms_cloud, publications list, model-table cells
  • Add accessibility JS and keyboard/ARIA support for the process diagram

FAIR stewardship

  • Add artifacts/fair/fair-management-plan.md canonical stewardship plan
  • Update AGENTS.md, README.md, HUGO_VERSION, .gitignore, .dockerignore

Fixes

  • Wrap Mermaid node labels (text-wrap:wrap on node/learn classDefs) so long labels fit inside boxes

Validation

  • make render builds cleanly
  • Bibliography sync verified via make bibliography-check
  • Internal links and redirects checked against new content paths

alee and others added 6 commits August 15, 2026 19:25
Upgrade Hugo and Docsy, migrate GitHub Pages to artifact deployment,
unify containerized local and CI builds, and add BibTeX preprocessing.
Clean up obsolete dependencies, configuration, and documentation.
Replace the Hugo module integration with the official Docsy npm package
and remove obsolete Go, Python, bibliography, and build shims.
Streamline local and CI rendering while preserving site output.

Co-authored-by: OpenCode <noreply@opencode.ai>
render the canonical BibTeX collection as a model bibliography and
publish it for download. Validate DOI and citation-key synchronization
against the coordination model list during builds and development.

normalize documentation directories to lowercase kebab-case for
consistency and cross-platform compatibility without changing published
URLs.

Co-authored-by: OpenCode <noreply@opencode.ai>
- redesign navigation, catalog tables, search, and accessibility
- lock and validate coordination data before rendering
- automate model catalog lock update proposals
- support subpath deployments and local frontend dependencies
- add taxonomy metadata and a FAIR management plan
Replace the broken custom mermaid.js bundle (js.Build mangled the
renderMermaid export) with Docsy's CDN-based mermaid loader pinned to
11.16.1, using securityLevel "loose" so the flowchart click directives
work. Remove the now-unused mermaid npm devDependency.

Replace the about page stock cover image with the CC BY-SA 4.0 Network
Visualization by Martin Grandjean and add the required attribution.
Strengthen the cover overlay (darker gradient, radial scrim over the
title zone) and add text-shadow on the cover h1 and lead so the title
stays readable over the image's bright nodes. Add a lead sentence to
the about hero to match the front page and align the image anchor.

Make "Responsible computational science practices" a btn-outline-light
button on the front page for visual consistency with the other hero
actions.

Add --renderToMemory --noHTTPCache to the docker-compose hugo server
command for faster local dev rebuilds.
@alee
alee merged commit 0da202e into main Aug 19, 2026
2 checks passed
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.

1 participant