linear issue view should output ALL attachments and documents for the issue (called "Resources" in the linear app). Currently, only non-document attachments are shown (e.g. images).
Using the graphql API, getting a list of documents is possible given an issue ID, so this should technically be possible.