Skip to content

Add unified POPS-UQ documentation site (Sphinx + Furo) - #1

Merged
tomswinburne merged 4 commits into
mainfrom
claude/popsregression-docs-site-0xwqev
Jul 1, 2026
Merged

Add unified POPS-UQ documentation site (Sphinx + Furo)#1
tomswinburne merged 4 commits into
mainfrom
claude/popsregression-docs-site-0xwqev

Conversation

@tomswinburne

Copy link
Copy Markdown
Contributor

Summary

A new, language-neutral documentation site that documents the Python (popsregression) and Julia (POPSRegression.jl) implementations of POPS side by side. Built with Sphinx + Furo (the same stack as the quests site), it is intended to grow into the POPS-UQ org landing page and eventually subsume the per-package docs sites.

Examples may be written in either language (e.g. a simple Python regression and a Julia ACE fit) and are tagged per page; the structure is designed to add more domains and languages over time.

What's included

Pages

  • Landing — hero, feature grids, side-by-side install + quickstart tabs, citation
  • Installation — Python pip / Julia Pkg.add, with a "which one should I use?" table
  • Quick start — synced Python/Julia fit/predict tabs and a table mapping the two APIs' parameters
  • Theory — misspecification-aware Bayesian regression: why standard uncertainty collapses in the low-noise limit and what POPS computes
  • Examples (language-tagged, in a grid):
    • 🐍 Simple misspecified regression (Python)
    • 🟣 ACE interatomic potential (Julia)
    • 🟣 Uncertainty propagation in MD via Boltzmann reweighting (Julia)
  • API reference — both implementations, linking out to the existing per-package docs

Tooling

  • MyST Markdown, sphinx-design (synced tabs + cards), sphinx-copybutton, MathJax
  • Custom POPS logo and indigo brand accent
  • Documentation GitHub Actions workflow: builds on PRs (warnings-as-errors) and deploys to GitHub Pages only from main

Verification

  • sphinx-build -W --keep-going passes with zero warnings
  • All 9 content pages render; synced Python/Julia tabs, feature cards, copy buttons and MathJax confirmed in the generated HTML

Note on hosting

The final target — replacing https://pops-uq.github.io/ — is the org root, which GitHub serves only from a repo named pops-uq.github.io. Pages from this .github repo would publish at https://pops-uq.github.io/.github/ (a subpath). Everything here is path-relative, so moving docs/ (and the workflow) into a pops-uq.github.io repo later is a clean copy.

https://claude.ai/code/session_01VoFM4hMn4hAbCfG39rYkiG


Generated by Claude Code

claude and others added 3 commits June 14, 2026 15:19
Scaffold a language-neutral docs site that documents the Python
(popsregression) and Julia (POPSRegression.jl) implementations side by
side, intended to eventually subsume the per-package sites and serve as
the POPS-UQ org landing page.

- Sphinx + Furo theme with MyST Markdown, sphinx-design (synced
  Python/Julia tabs, feature grids), sphinx-copybutton and MathJax
- Pages: landing, installation, quickstart, theory (misspecification-
  aware regression), examples (Python simple, Julia ACE, Julia MD), and
  a combined API reference
- GitHub Actions workflow to build (warnings-as-errors) and deploy to
  GitHub Pages from main
- Custom POPS logo and styling

Examples may be written in either language and tagged per page; the
structure is designed to grow with more domains and languages.
Updated section headings to clarify the problem and concept of POPS.
@tomswinburne
tomswinburne marked this pull request as draft June 14, 2026 22:19
Convert the site from Sphinx/Furo to Material for MkDocs, matching the
look of the existing popsregression docs for a consistent POPS-UQ style.

- Replace conf.py/Furo with mkdocs.yml (Material, indigo palette, synced
  Python/Julia content tabs, MathJax via arithmatex, search)
- Streamline the landing page: drop the hero and marketing-style section
  headers, lead with a concise intro, install cards and quick-start tabs
- Fold the scikit-learn pipeline usage directly into the Python example
  (no standalone section) and remove it from the quick start
- Update the GitHub Actions workflow to build with 'mkdocs build --strict'
  and deploy to Pages from main only
@tomswinburne
tomswinburne marked this pull request as ready for review July 1, 2026 00:07
@tomswinburne
tomswinburne merged commit 01da150 into main Jul 1, 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.

2 participants