-
Notifications
You must be signed in to change notification settings - Fork 10
Sentry REST API documentation #475
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I've posted a question on the Rust user forum to see if it's even possible to capture the scope of the doc test and use variables inside it to generate JSON examples: https://users.rust-lang.org/t/macro-invocation-in-rustdoc-and-generating-examples/74759 |
This was referenced Jun 16, 2022
This was
linked to
pull requests
Jun 27, 2022
Remaining tasks:GET
|
Merged
This was
linked to
pull requests
Aug 9, 2022
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We need a way to easily document the REST API of sentry in using
rustdoc
.Two ideas come to mind:
Doc macro for serialization inside the doc comments- It's more difficult than expected, this is put on holdDoc macro for serialization (on hold)
We need to serialize to json & urlencode fir structs inside doc comments.
A similar macros to https://github.com/scrabsha/dep-doc with arguments of rust structs and expression:
let my_struct = MyStruct { field: .. }
with the following variants:
doc_urlencode!
- urlencode the struct and print it in docsdoc_json!
- pretty-print the struct in json format inside the docsBuilding docs
We now build docs based on
aip-61-adex-v5
branch with default path tosentry
crate and we deploy it with GH pages at:https://ambiretech.github.io/adex-validator-stack-rust
The text was updated successfully, but these errors were encountered: