Add two sentences below the Files Options section noting that files.default_preview won't work for files that aren't added to the draft yet. I think that the ordering of this document, which first discusses creating a draft with files options included and then later adds the files themselves, makes it unclear the file must be added first. As I started working with the REST API, this would have been useful to know.
files.order does not work but I didn't mention that, I couldn't find a precedent for writing Invenio bugs into the documentation, but I could add a note about that too, if desirable.
Checklist
Ticks in all boxes and 🟢 on all GitHub actions status checks are required to merge:
Description
Add two sentences below the Files Options section noting that
files.default_preview
won't work for files that aren't added to the draft yet. I think that the ordering of this document, which first discusses creating a draft with files options included and then later adds the files themselves, makes it unclear the file must be added first. As I started working with the REST API, this would have been useful to know.files.order
does not work but I didn't mention that, I couldn't find a precedent for writing Invenio bugs into the documentation, but I could add a note about that too, if desirable.Checklist
Ticks in all boxes and 🟢 on all GitHub actions status checks are required to merge: