- Rename manuspec to paperspec everywhere outside pixi.toml: prose, the tools, provenance tool names and the fixture key derivations, so every fixture and vector is rebuilt. - Move the namespace addresses under the site, mirroring the repository: schema $id https://paperspec.scient.ing/schemas/<file>, the JSON-LD context https://paperspec.scient.ing/context/scienting-1.jsonld, and term IRIs https://paperspec.scient.ing/vocab#<term>. Format identifiers (scienting-*) and URNs (urn:scienting:) are unchanged. - tools/site.py (standard library only) builds _site/: every file of the repository at its own path, each Markdown file rendered as a page with sidebar navigation, heading anchors matching the forge's, folder listings, a vocabulary page for the context's IRIs, a heading search and a 404 page; light and dark themes. - check.py builds the site and checks that every Markdown file has a page, every internal link and fragment resolves, no Markdown is left unrendered, and every $id, the context address and the vocabulary IRIs are files of the site. - deploy/: a Caddyfile with the media types and CORS the data needs, and a guide; .gitea/workflows/site.yml builds on main and publishes with rsync when the SITE_* secrets are set. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
43 lines
1017 B
Plaintext
43 lines
1017 B
Plaintext
{
|
|
"@context": {
|
|
"@version": 1.1,
|
|
"sct": "https://paperspec.scient.ing/vocab#",
|
|
"format": "sct:format",
|
|
"kind": "sct:kind",
|
|
"status": "sct:status",
|
|
"receipt": "sct:receipt",
|
|
"layer": {
|
|
"@id": "sct:layer",
|
|
"@type": "@id"
|
|
},
|
|
"audience": "sct:audience",
|
|
"visibility": "sct:visibility",
|
|
"purpose": "sct:purpose",
|
|
"project": "sct:project",
|
|
"docs": {
|
|
"@id": "sct:docs",
|
|
"@container": "@set"
|
|
},
|
|
"pin": "sct:pin",
|
|
"role": "sct:role",
|
|
"symbol": "sct:symbol",
|
|
"verdict": "sct:verdict",
|
|
"reason": "sct:reason",
|
|
"reference": "sct:reference",
|
|
"for": "sct:questionFor",
|
|
"generator": "sct:generatedBy",
|
|
"exercise": {
|
|
"@id": "sct:exercise",
|
|
"@type": "@json"
|
|
},
|
|
"anchor": {
|
|
"@id": "sct:anchor",
|
|
"@type": "@json"
|
|
},
|
|
"AnchorSelector": "sct:AnchorSelector",
|
|
"rights_use": "sct:rightsUse",
|
|
"total": "as:totalItems",
|
|
"as": "https://www.w3.org/ns/activitystreams#"
|
|
}
|
|
}
|