Skip to content

Files

Latest commit

 Cannot retrieve latest commit at this time.

History

History
 
 

docs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Valence Programs Documentation

This folder contains the source code for the Valence Programs documentation.

Building

  1. Install mdbook, mdbook-mermaid and mdbook-linkcheck:
cargo install mdbook mdbook-mermaid mdbook-linkcheck
  1. Build:

From /docs directory, run:

mdbook build
  1. The output will be in the book subdirectory. Open it in your web browser. Examples:
  • Firefox:
firefox book/html/index.html                             # Linux
open -a "Firefox" book/html/index.html                   # OS X
Start-Process "firefox.exe" .\book\html\index.html       # Windows (PowerShell)
start firefox.exe .\book\html\index.html                 # Windows (Cmd)
  • Chrome:
google-chrome book/html/index.html                      # Linux
open -a "Google Chrome" book/index.html                 # OS X
Start-Process "chrome.exe" .\book\html\index.html       # Windows (PowerShell)
start chrome.exe .\book\html\index.html                 # Windows (Cmd)
  1. To apply docs changes automatically without rebuilding manually, run:
mdbook serve