Back to Sway

The Sway Reference

docs/reference/README.md

0.71.0527 B
Original Source

The Sway Reference

Setup

If you wish contribute to this reference:

  1. Install Rust if it's not installed.

  2. Install mdbook.

    bash
    cargo install mdbook
    
  3. To build the book, ensure you are in /docs/reference and run:

    bash
    mdbook build
    
  4. To serve a hot-reloading instance of the book in your browser, run:

    bash
    mdbook serve --open