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
Before:
sol-macro/doctests/
was a symlink tosol-types/tests/doctests/
After:sol-types/tests/doctests/
is a symlink tosol-macro/doctests/
We can also remove the
cfg_attr(doc, doc = include...)
in thesol!
docs since the files are always presentI 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