divan-data/divan/README.md
Anas Rashid 49f9fe9f38
Some checks failed
Wikisource sync / sync (push) Has been cancelled
Divan-owned content (#30): works edited in Divan take precedence over Wikisource
divan/<work url>.dtx (readable source) and .json (generated by the Divan app) override the
Wikisource text in the export; such works are marked DivanOwned with who edited them and when.
Radif, matla and maqta are computed from Divan's verses.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 00:22:33 +02:00

13 lines
682 B
Markdown

# Divan-owned content
Works edited or published in Divan, kept here so the daily Wikisource sync never overwrites them
(Divan's copy takes precedence; see the divan app, docs/content-model.md).
- `<work url>.dtx`: the work in Divan text, the readable source (one misra or paragraph per line,
so git diffs show exactly what changed). Written by the Divan app when a moderator's change is
published.
- `<work url>.json`: generated from the `.dtx` by the app: `Title`, `Verses` (the site's verse layout)
and `Edited` (who and when). `export_divan.py` uses it in place of the Wikisource text.
The work url is the site path, e.g. `p266/ghazal/sh7870` for `/p266/ghazal/sh7870`.