divan-data/divan/README.md
Anas Rashid 55096e65b9
Some checks are pending
Wikisource sync / sync (push) Waiting to run
Divan-owned order (#41): the export follows divan/<url>.order arrangements published in Divan
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 14:02:24 +02:00

16 lines
974 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.
- `<book or section url>.order`: a published arrangement: the book or section's contents (sub-sections,
then works), one per line as `<last part of the url> <title>`. `export_divan.py` lists them in this
order; a work added on Wikisource later comes after them until the order is redone.
The work url is the site path, e.g. `p266/ghazal/sh7870` for `/p266/ghazal/sh7870`.