Living-document implementation of the IPBES Data Management Vision, built with Quarto and R and published as a website and a versioned PDF with a Zenodo DOI per release.
- Source repo: https://github.com/IPBES-Data/IPBES_Data_Vision
- Website: https://ipbes-data.github.io/IPBES_Data_Vision/
- Admin panel (import/export Google Doc, pre-releases, releases): https://ipbes-data.github.io/IPBES_Data_Vision/admin/, source
admin.qmd(make adminrenders it locally), which also documents the one-time setup.
_content.md: the text of the Vision. The Google Doc import overwrites it.IPBES_Data_Vision.qmd: frontmatter (title, editors, contact, Zenodo settings), release metadata, citation; includes_content.md.- Version, release date, release notes and DOI are not stored in the source; they come from the release form and are added at build time.
scripts/release.py: builds and releases (Zenodo).scripts/gdoc.py: Google Doc import/export. Both use the Python standard library only.
Requirements: Quarto, TinyTeX (quarto install tinytex), Python 3.
make preview: live preview while editingmake build: render the website into_site/and the PDF intobuild/, marked as an unreleased draftmake clean: remove rendered output
| Workflow | Result |
|---|---|
| Import text from Google Doc | Pull request with the new text, title and editors |
| Export text to Google Doc | Creates a new Google Doc in your Drive with the current text and bibliographic tables |
| Number accepted text changes (beta) | Runs on every change to the text on main: tags the next beta, e.g. v1.1-beta.3 |
| Make a release or pre-release | Pre-release: next release candidate, e.g. v1.1-rc.2, PDF on the GitHub pre-release, site at /preview/, no DOI. Release: the latest candidate unchanged becomes v1.1; DOI reserved, Zenodo draft filled, nothing public yet. Version rules: admin.qmd |
| Publish release | Zenodo draft published (DOI minted), site deployed |
| Check website and PDF build | Runs on every pull request; the rendered site and PDF are downloadable |