From dfa47f7ccebe9ed56310eaae4a33a8b55d305676 Mon Sep 17 00:00:00 2001 From: Joseph Muller Date: Mon, 23 Feb 2026 09:57:44 +0000 Subject: [PATCH] docs: Document journal and repo licenses --- docs/md/images-in-reader-interface.md | 2 +- docs/md/licences.md | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 docs/md/licences.md diff --git a/docs/md/images-in-reader-interface.md b/docs/md/images-in-reader-interface.md index 3d49ead7e3..f9cbc6ae78 100644 --- a/docs/md/images-in-reader-interface.md +++ b/docs/md/images-in-reader-interface.md @@ -10,7 +10,7 @@ - `press.Press.default_carousel_image` - `press.Press.thumbnail_image` - `journal.Journal.thumbnail_image` -- `submission.thumbnail_image_file` +- `submission.Article.thumbnail_image_file` - `journal.Journal.default_cover_image` - `journal.Issue.cover_image` - `journal.Journal.header_image` diff --git a/docs/md/licences.md b/docs/md/licences.md new file mode 100644 index 0000000000..1c89729b79 --- /dev/null +++ b/docs/md/licences.md @@ -0,0 +1,21 @@ +# Licences + +Intellectual property licences are given to articles in Janeway by means of the `submissions.models.Licence` object. Usually these are Creative Commons licences, but press managers and editors can create other licences with custom names, links, and descriptions. + +## Journal licences + +Journal article licences are particular to the journal. The journal is connected with the `journal` field. + +When creating a journal, Janeway loads a default set of licences from a fixture located at `utils/install/licence.json`. + +The fixture `core/fixtures/licence.json` is not used. + +## Repository licences + +Repository licences are not necessarily particular to the repository. They are defined by an empty value in the `journal` field, and whether they’ve been added to `Repository.active_licenses`. + +When creating a repository, repository licences have to be manually created and added to the `active_licenses` field on the repository, using the Django admin interface. + +## Connections to the press + +The `press` field on the licence is typically blank.