Sui Framework
The documentation in this section is created from the Rust cargo doc
process. The process builds the content from comments in the source code.
Framework documentation
The child pages to this topic describe the module members for the following libraries:
🗃️ Bridge
8 items
🗃️ Deepbook
7 items
🗃️ Move Stdlib
8 items
🗃️ Sui Framework
52 items
🗃️ Sui System
11 items
Source code
You can find the source code for these Move modules in the crates/sui-framework/packages directory in the sui
repository on GitHub. As previously mentioned, the comments included in the code provide context for the logic defined.
Crate documentation
You can review the raw cargo doc
output of the following documentation in the sui
repository. The .md files are located in the crates/sui-framework/docs
directory. Online, they are located at https://github.com/MystenLabs/sui/tree/main/crates/sui-framework/docs.
Build documentation locally
The most recent documentation is always available in the main
branch of the sui
repository. You shouldn't need to build the documentation locally, but if the need arises you can:
- Open a terminal or console to the
sui/crates/sui-framework
directory. - Run
cargo doc --workspace --exclude "sui-benchmark" --no-deps
. - The docs are built to
crates/sui-framework/docs
into their respective subdirectories.
If the cargo doc
process does not work as expected, try running cargo clean
before attempting again.