Divan-owned content: works edited in Divan, plus the content management model #53
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "feature/divan-owned-content"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of #30 (with anas/divan-data's PR of the same name). Step 5b: Divan's copy takes precedence over Wikisource.
Code
api/src/owned.ts:fromPoemturns any work into Divan text (the starting point of an edit);writeOwnedwrites the.dtxsource and the generated.json(title, verses, who edited and when) intodivan-data/divan/<work url>;node src/owned.ts <divan-data> <work url> <file.dtx> [editor]).== باب ==,=== فصل ===) as their own entries.Checks
== … ==markers in prose becoming real headings.DivanOwnedwith editor and time, with radif, matla and maqta recomputed;npm test: 33 pass.Design (
docs/content-model.md, new section Content management model, owner direction):Next: the revisions table and the L2 → L1 → admin pipeline (#31, #51).
🤖 Generated with Claude Code