Giter Club home page Giter Club logo

wurstscript.github.io's Introduction

Build Status

WurstScript Webpage & Documentation

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

Developer Information

Serving the page locally:

  1. Check whether you have Ruby 2.1.0 or higher installed:

    ruby --version

  2. Install Bundler:

    gem install bundler

  3. Execute bundle install in this repository.

  4. Run the server with:

    bundle exec jekyll serve

Styling

We use Sass as stylesheet language and you can find the files inside the _sass folder.

Tutorials

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 example cp wurstbeginner.md new_tutorial.md.
  • Create a new set of tuturial pages in a subfolder of _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 the navigation section.
  • Setup new_tutorial.md as necessary for your pages:
    • Edit the title, excerpt, date, icon, color.
    • Change the sections to match the uri of the pages of your tutorial.
  • Write your tutorial pages, being sure to update the heading sections as necessary.

Standard library doc

Adding a standard library doc page works almost the same as tutorials.

  • Create a new table of contents file in _doc/stdlib/
  • Create a new set of tuturial pages in a subfolder of _doc/stdlib/, e.g. _doc/stdlib/new_doc
  • Define the pages by changing the contents of _doc/stdlib/new_doc/
  • This part differs Add the new doc page to the stdlib index in _doc/stdlib/intro.md. Entries should be alphabetically sorted.
  • Setup new_doc.md as necessary for your pages:
    • Edit the title, excerpt, date, color.
    • Change the sections to match the uri of the pages of your tutorial.
  • Write your new_doc pages, being sure to update the heading sections as necessary.

wurstscript.github.io's People

Contributors

peq avatar frotty avatar cokemonkey11 avatar crigges avatar andreasvolkmann avatar zero3 avatar jonathanmclaus avatar peterzeller avatar sixtyhrtz avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.