Giter Club home page Giter Club logo

typelevel.github.com's Introduction

typelevel.github.com

Web site of typelevel.scala, served under the domain typelevel.org.

Adding a blog post

  1. Create a new file in the _posts directory or copy an existing post. Its name should have the format YYYY-MM-DD-short_title.md.
  2. Set the title (short title of the post, appears as the HTML <title>) and author (your GitHub user name) in the front matter. If you'd like to use code highlighting in the post, add the field pygments: true below nav. MathJax is available via mathjax: true.
  3. If this is your first blog post, please indicate if you want your name and a profile picture to appear on the post. If not, you can remove the author field from the front matter.
  4. Write your content using Markdown. For code highlighting, use the usual GitHub syntax:
```scala
def yourCode: Here
```

That's it, we'll take care of the rest. If you wish, you can also submit just a plain Markdown file and we'll be happy to integrate it.

Preview changes locally

This site is built using Jekyll. To preview your changes, you have to install the following things first:

  • Ruby

  • node.js

  • Python 2 and Pygments

    Note: Make sure that /usr/bin/python is Python 2 and not Python 3, otherwise you might get weird errors.

Apparently the coffee-script gem requires node.js (we don't even use CoffeeScript). Sorry about that.

Once you've done that, you need to install jekyll. Find out if your package manager provides it, and if not, install it via gem:

# don't forget to add the directory where Gem binaries are installed to your `$PATH`
# on my machine, that's `$HOME/.gem/ruby/2.1.0/bin`
gem install jekyll

As of this writing, jekyll version 2.2.0 and redcarpet version 3.1.2 are required.

There's also an official installation guide. Additionally to jekyll, don't forget to install redcarpet.

Everything set up? Great. Now you just have to tell Jekyll to generate the site (the empty quotation at the end is important):

jekyll serve --watch --baseurl ''

This will start a local web server on port 4000 where you can browse the site and which re-generates the site if you change the source files.

Note: The build.sh script sets up a Python 2.7 virtualenv and starts jekyll under the assumption that jekyll and Pygments are installed as specified above.

typelevel.github.com's People

Contributors

larsrh avatar s11001001 avatar adelbertc avatar pthariensflame avatar non avatar puffnfresh avatar tixxit avatar milessabin avatar aloiscochard avatar channingwalton avatar dscleaver avatar folone avatar mpilquist avatar xuwei-k avatar

Watchers

Rick Elrod avatar James Cloos avatar  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.