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

chore: swap sol macro doctests symlink #657

Closed DaniPopes closed 3 months ago

DaniPopes commented 3 months ago

Before: sol-macro/doctests/ was a symlink to sol-types/tests/doctests/ After: sol-types/tests/doctests/ is a symlink to sol-macro/doctests/

We can also remove the cfg_attr(doc, doc = include...) in the sol! docs since the files are always present

I initially did this the other way around because rust-analyzer does not consider the files as in the workspace, and so are completely disabled. However I did not realize this means documentation cannot be built locally

Fixes https://github.com/alloy-rs/core/issues/656