alloy-rs / core

High-performance, well-tested & documented core libraries for Ethereum, in Rust
https://alloy.rs
Apache License 2.0
763 stars 135 forks source link

[Bug] Regression: code examples are missing in rendered docs #656

Closed sergiimk closed 3 months ago

sergiimk commented 3 months ago

Component

contract

What version of Alloy are you on?

No response

Operating System

None

Describe the bug

Current rendered documentation has some code examples missing, see: https://alloy-rs.github.io/alloy/alloy/sol_types/macro.sol.html

zerosnacks commented 3 months ago

@sergiimk thanks for reporting!

Whilst we are getting this fixed let me point you to the up-to-date code examples of the sol! macro: https://github.com/alloy-rs/examples/tree/main/examples/sol-macro/examples and related information: https://alloy.rs/highlights/the-sol!-procedural-macro.html

I'm unable to reproduce it in a local build but it looks to be an issue with the embedding of the doctests

DaniPopes commented 3 months ago

For now you can view them on docs.rs