This is the source code for Geode's docs, containg all the hand-written tutorials.
Class & function documentation is built automatically from the Geode source code.
The docs are built using Flash. To build the docs, you need Flash, along with CMake and Clang.
To build the docs, you first need to clone Geode, and then clone the docs inside the Geode root, for a folder structure like this:
geode/
docs/
<docs files>
<geode files>
For example, you can do this with the following commands:
git clone https://github.com/geode-sdk/geode
cd geode
git clone https://github.com/geode-sdk/docs
Alternatively, you can symlink your local copy of the docs folder to your local copy of the Geode folder.
After building Flash from source using Cargo or installing the latest release, you can build the docs with the following command:
flash -i <path/to/geode> -o <relative_output_dir> --overwrite
Afterwards, start up a local HTTP server in the folder where you ran Flash.
You should run Flash in the directory you want to build the docs in and use -o .
, or run it in the parent directory and do -o <output_dir_name>
.