Closed
Description
Currently the auto generated documentation for smart contracts written in the eDSL (pdsl_lang
) is sup optimal. For example messages have their env: &EnvHandler
argument that should not be visible in the documentation.
Using rust-lang/rust#43781 we can get further with conditional compilation.
So upon using pdsl_lang
we can catch a rustfmt
or cargo fmt
run with #[cfg(rustdoc)]
and can generate special code just for documentation purposes.