Skip to content

Docs: overhaul the README, add screenshots and CITATION.cff - #2

Merged
d-sanoj merged 1 commit into
mainfrom
docs/readme-overhaul
Nov 18, 2026
Merged

d-sanoj merged 1 commit into
mainfrom
docs/readme-overhaul

Conversation

@d-sanoj

@d-sanoj d-sanoj commented Nov 18, 2026

Copy link
Copy Markdown
Owner

Reworks the README so epigraphers, classicists and DH researchers can see quickly what EpigCorpus is, try it, trust the data, and cite it. No application code is changed.

What changed

  • Top of the page: links to the live map, quick start, citation and sources; CI, live-demo and CITATION.cff badges (the existing MIT/Python/React/FastAPI badges are kept); a real screenshot of the live site.
  • New sections:
    • Why EpigCorpus: who it's for, and how it relates to EDCS and LatEpig.
    • The corpus at a glance: release, harvest date, monuments, rows, places and facet counts. All are taken from edcs_harvest_manifest.json and the running API.
    • Try it in the browser: shareable query links, plus 2 more screenshots.
    • Using the API: curl examples run against the committed corpus, and a pandas one-liner.
    • Conservative and interpretive text: a worked example from record EDCS-00000001-0.
    • Research, Contributing, How to cite.
  • Fixed a stale section: "Host it without a server" described .github/workflows/pages.yml (GitHub Pages), which was removed in b0bddb7. It now describes deploy.yml (Cloudflare Pages, epigcorpus.sanoj.dev).
  • Unchanged: Highlights, Architecture (both Mermaid diagrams), Pipeline details, Repository layout, Development, Data products and Reproducibility notes. A short CI summary and an ADR/CHANGELOG pointer were added.
  • CITATION.cff (new): author Sanoj Doddapaneni, version 1.0.0 from pyproject.toml, MIT, repo and site URLs, no DOI. It references EDCS and LatEpig, using LatEpig's existing Zenodo DOI. It passes cffconvert --validate against schema 1.2.0.
  • Screenshots: docs/img/map-search-viator-light.png, map-search-viator-dark.png and results-table-viator-interpretive.png are real headless-Chromium (Playwright) captures of https://epigcorpus.sanoj.dev, taken 2026-11-18. They are in docs/img/ alongside the existing images.
  • CHANGELOG: a Docs entry under Unreleased.

Citation preservation check

A script compared the original README to the new one:

  • 67 citation lines: the Software Citation entry, Author, every non-blank line of "Data and Software References" and the license notice. All 67 are present verbatim, and 0 are missing.
  • References section: it appears as one contiguous, byte-identical block.
  • URLs and DOIs: all 62 from the original are still present, and 0 are lost.
  • Lines that did change: only the old "Run it" and "Example PNG Export" headings (now "Quick start" and a subsection) and the stale GitHub Pages paragraph.

Verified locally

  • uv sync, npm ci && npm run build and uv run uvicorn epigcorpus.api.server:app all work. The server was ready after about 22 s on the first start.
  • uv run pytest passes.
  • Every curl example in "Using the API" was run against the committed corpus, and the stated counts (515 and 4,606) come from those runs.
  • The static export (python -m epigcorpus.export.static_site) and the build with VITE_DATA_MODE=static VITE_BASE=/ both work.
  • The pandas snippet loads 588,509 rows.
  • I could not test docker compose here because Docker isn't installed on this machine. CI builds the image.
  • Every in-page anchor link resolves.

Note

docs/static-site.md still describes GitHub Pages and pages.yml. I left it alone to keep this PR to the README. It could be updated in a follow-up.

Every citation, source and licence notice is kept verbatim; the Data and
Software References section is unchanged byte for byte.
@d-sanoj
d-sanoj merged commit a42ab04 into main Nov 18, 2026
4 checks passed
@d-sanoj
d-sanoj deleted the docs/readme-overhaul branch November 18, 2026 16: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.

1 participant