You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Currently, documentation is a read-the-docs style documentation. This kinda sucks for consumers of this as a library (i.e. Foundry, etc) because rust devs are used to docs.rs style. Forcing users to clone the repo and run cargo doc --open is less than ideal
To Reproduce
Steps to reproduce the behavior:
go to the documentation site
Expected behavior
Alternatively or additionally publish docs to docs.rs
Screenshots
N/A
Hyperledger Solang version
N/A
Include the complete solidity source code
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered:
We do not link to it on crates.io, but that doesn't mean it is not on docs.rs.
However, please keep in mind, providing a stable and well-documented API for 3rd-party projects (except for our solang-parser lib) is currently work in progress.
The rustdoc is very incomplete. The solang crate does not have any crate level documentation, nor does solang-parser. This can certainly be improved. There are many functions, enums and structs which do not have documentation. The solang-parser crate does not have a README.md either, which looks bad on crates.io.
The rustdoc should describe how solang can be used as a crate. The documentation for the solidity language does not belong in the rust doc, but it certainly must be linked from rustdoc.
This issue should cover improving the overall rustdoc experience, without merging the readthedocs documentation. There is a clear separation between the solidity language and the using the compiler crate.
Describe the bug
Currently, documentation is a read-the-docs style documentation. This kinda sucks for consumers of this as a library (i.e.
Foundry
, etc) because rust devs are used to docs.rs style. Forcing users to clone the repo and runcargo doc --open
is less than idealTo Reproduce
Steps to reproduce the behavior:
Expected behavior
Alternatively or additionally publish docs to docs.rs
Screenshots
N/A
Hyperledger Solang version
N/A
Include the complete solidity source code
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: