Live at https://wurstlang.org/
This folder contains the complete source of the WurstScript website, configured as jekyll project and deployed via github-pages.
The design is based on https://github.com/xriley/PrettyDocs-Theme
-
Check whether you have Ruby 2.1.0 or higher installed:
ruby --version -
Install Bundler:
gem install bundler -
Execute
bundle installin this repository. -
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:
- Create a new table of contents file in
_doc/tutorials/, for examplecp wurstbeginner.md new_tutorial.md. - Create a new set of tuturial pages in
_doc/tutorials/- e.g.cp -r wurstbeginner new_tutorial. - Define the pages by changing the contents of
_doc/tutorials/new_tutorial/- usually one or two markdown files will suffice. - Add the new tutorial to the tutorials listing in
_doc/tutorials.md- just need to add a uri in thenavigationsection. - Setup
new_tutorial.mdas necessary for your pages:- Edit the title, excerpt, date, icon, color.
- Change the
sectionsto match the uri of the pages of your tutorial.
- Write your tutorial pages, being sure to update the heading sections as necessary.