Live at https://wurstlang.org/
This folder contains the complete source of the WurstScript website, configured as jekyll project and deployed via github-pages.
Check whether you have Ruby 2.7.4 installed:
ruby --version
Install Bundler:
gem install bundler
Execute
bundle install
Run the server with:
bundle exec jekyll serve
We use Sass as stylesheet language and you can find the files inside the _sass
folder.
Tutorials are included as part of the documentation in their own section.
To create a new tutorial:
_tutorials/
folder, for example cp saveload.md new_tutorial.md
.Adding a standard library doc page works almost the same as tutorials.
_doc/stdlib/
_doc/stdlib/
, e.g. _doc/stdlib/new_doc
_doc/stdlib/new_doc/
_doc/stdlib/intro.md
. Entries should be alphabetically sorted.new_doc.md
as necessary for your pages:
sections
to match the uri of the pages of your tutorial.Set the key as environment variable $env:ALGOLIA_API_KEY='PRIVATE_KEY'
Run bundle exec jekyll algolia