Skip to content

alialib/alia-docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alia-docs

Deployment Staging

This the documentation for alia. It's deployed here:

https://alia.dev

Building

Building the docs requires Linux (or the Windows Subsystem for Linux.)

  1. Install Emscripten and activate it for your shell.

  2. Build the demos:

    mkdir build
    cd build
    emcmake cmake ..
    make -j
  3. Run scripts/link-docs.sh. This sets up the www directory with the documentation using symbolic links for (almost) everything, so when you edit the .md files or rebuild the demos, the effects will propagate immediately.

Once you've built the docs, you can run a web server from the www directory to serve the docs. One way to do this is with the provided Python script.

python2 ../scripts/run-web-server.py

If you use this script, you can navigate to localhost:8006 to see it.