Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1011 Bytes

README.md

File metadata and controls

44 lines (31 loc) · 1011 Bytes

Nois Documentation (v2)

This repository is the source code of the Nois Documentation published at https://docs.nois.network/.

Building

  1. Install mdbook:

    $ cargo install mdbook
    
  2. Build

    $ mdbook build
    
  3. The output will be in the book subdirectory. Open it in your web browser.

    Firefox:

    $ firefox book/index.html                       # Linux
    $ open -a "Firefox" book/index.html             # OS X
    $ Start-Process "firefox.exe" .\book\index.html # Windows (PowerShell)
    $ start firefox.exe .\book\index.html           # Windows (Cmd)

    Chrome:

    $ google-chrome book/index.html                 # Linux
    $ open -a "Google Chrome" book/index.html       # OS X
    $ Start-Process "chrome.exe" .\book\index.html  # Windows (PowerShell)
    $ start chrome.exe .\book\index.html            # Windows (Cmd)
  4. To rebuild changes automatically, use

    $ mdbook watch