Git Product home page Git Product logo

edu's Introduction

edu.biocontainers.pro

Share resources with the general public.

Build Status

How to contribute

For now here is a simple formula:

  1. Fork the repository at Github
  2. Do awesomeness!
  3. Send a pull request to BioContainers/edu
  4. Go back to step 2 and stay there as long as you want.
  5. If we merge two or three pull requests, you get commit access. BAM.

Contributor list

Don't be shy - add yourself to the contributors list of an article. The names are sorted alphabetically.

How to run

Jekyll is awesome.

bundle exec jekyll serve -w

(runs jekyll locally in the server mode + watching for changes)

Install jekyll.

Installing dependencies

We use bundler (virtualenv for ruby).

gem install bundler
bundle install # in your edu root folder

You can then install all dependencies with

bundle install --path vendor/bundle

Jekyll layouts

  • default: the root layout (all layouts inherit from this)
  • series_item: layout used to generate a page within a series

Special blocks: alert

Display alerts to the user

{% alert warn %}
Do you like BioContainers?
{% endalert %}
```

Available types include at the moment:

* `warn`: orange notification - use this for typical errors
* `danger`: red notification - deadly errors
* `info`: blue notification - some informative messages
* `ok`: green notification - positive messages (e.g. end of a tutorial)


Special blocks: hlblock
--------------

Can be used to emphasize content.

{% hlblock question %} Do you like BioContainers? {% endhlblock %}


Available types include at the moment:

* `info`: additional info and references
* `help`: tips, help, ...
* `task`: use this to assign tasks to your students
* `questions`: ask your readers questions
* `check`: checkpoint & verification
* `stop`: use this before you show a solution
* `raise`: (currently not used)

Special blocks: code
------------------------

We use `kramdown`, there you should use `~~~` to begin and mark a code block.
To enforce a language or make it collapsible (e.g. for solutions) you can use the `code` block.

{% code javascript collapsible=true %} console.log("You can put this code block anywhere in your tutorial"); {% endcode %}


Add your own series
--------------------

It is super simple:

* add it to the `_config.yml`
* create a new folder in `series` (the name has to be identical with the `key` of your series in the `_config.yml`)
* add new pages to your series folder (don't forget to set your series in the header)

edu's People

Contributors

ypriverol avatar bebatut avatar dbready avatar bgruening avatar maryom avatar delirehberi avatar mr-c avatar cgirardot avatar starpharm avatar

Watchers

James Cloos avatar Tara Furstenau 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.