sway/docs/reference
Mitchell Mackert 2bb072496d
chore: remove unused keys from examples under sway repo reference (#4854)
## Description

This PR removes unused keys in sway reference so that warnings do not
appear while searching for std after creating a new project with `forc
init`.

Closes #4709 
Co-authored-by: Kaya Gökalp <kaya.gokalp@fuel.sh>
2023-07-26 16:11:36 +00:00
..
src chore: remove unused keys from examples under sway repo reference (#4854) 2023-07-26 16:11:36 +00:00
theme Updated the sway.js file by adding mod and type in keyword (#4427) 2023-04-12 22:39:45 +00:00
.gitignore Introduce the Sway reference, a more technical Sway source of documentation. (#2562) 2022-12-08 21:53:09 +00:00
book.toml Introduce the Sway reference, a more technical Sway source of documentation. (#2562) 2022-12-08 21:53:09 +00:00
README.md Introduce the Sway reference, a more technical Sway source of documentation. (#2562) 2022-12-08 21:53:09 +00:00

The Sway Reference

Setup

If you wish contribute to this reference:

  1. Install Rust if it's not installed.

  2. Install mdbook.

    cargo install mdbook
    
  3. To build the book, ensure you are in /sway/sway-book and run:

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

    mdbook serve --open