The static site for https://rune-rs.github.io/
Based on the Ergo Theme.
So you want to work on the site?
It has the following prerequisities:
- Rust and Cargo.
- Node and NPM.
- Zola version 11 (12 has a bug which prevents posts from rendering).
The first thing you need to do is rebuild rune-wasm
:
cd crates/rune-wasm
npm i
npm run build
Now you can run the Zola site:
cd site
zola serve
We maintain a branch of the Ace Editor which has a special mode for rune. It can
be found in the rune
branch of rune-rs/ace
.
You can build the mode by doing the following in the ace repo:
$> npm i
$> node Makefile.dryice.js normal
$> cp .\build\src-min\mode-rune.js ..\rune\site\static\ace\
Note: You'll need to adjust
..\rune\site\static\ace\
to point to your actual checkout of rune if that differs.