Skip to content
This repository was archived by the owner on Mar 29, 2026. It is now read-only.

docs: import derive rust docs from book#1145

Closed
obmarg wants to merge 1 commit intomainfrom
obmarg/trkykkttppzs
Closed

docs: import derive rust docs from book#1145
obmarg wants to merge 1 commit intomainfrom
obmarg/trkykkttppzs

Conversation

@obmarg
Copy link
Copy Markdown
Owner

@obmarg obmarg commented Apr 21, 2025

For ages the book has been the canonical source of documentation for cynic. However, it's a bit annoying having the rust documentation completely empty and just linked to the book. Particularly since every version of the crate links to just a single version of the rust docs.

This is an attempt to somewhat fix that: instead of just linking to the book, we'll pull in the docs using the (relatively) new include_str! support inside attribute macros.

This will require a bit of a reworking of the book, since there's a lot of relative links to the book (and also parts of the book that won't make sense as rust docs). But it seems like a good idea generally.

For ages the book has been the canonical source of documentation for
cynic.  However, it's a bit annoying having the rust documentation
completely empty and just linked to the book.  Particularly since every
version of the crate links to just a single version of the rust docs.

This is an attempt to somewhat fix that: instead of just linking to the
book, we'll pull in the docs using the (relatively) new `include_str!`
support inside attribute macros.

This will require a bit of a reworking of the book, since there's a lot
of relative links to the book (and also parts of the book that won't
make sense as rust docs).  But it seems like a good idea generally.
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 21, 2025

Deploy Preview for cynic-querygen-web canceled.

Name Link
🔨 Latest commit 97b6f22
🔍 Latest deploy log https://app.netlify.com/sites/cynic-querygen-web/deploys/68061abccf1b480008cd4495

@obmarg
Copy link
Copy Markdown
Owner Author

obmarg commented Mar 29, 2026

@obmarg obmarg closed this Mar 29, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant