Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/restcookbook/restcookbook
Jekyll cms site for restcookbook.com
https://github.com/restcookbook/restcookbook
Last synced: 7 days ago
JSON representation
Jekyll cms site for restcookbook.com
- Host: GitHub
- URL: https://github.com/restcookbook/restcookbook
- Owner: restcookbook
- Created: 2012-12-12T12:43:31.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2019-07-21T19:32:42.000Z (over 5 years ago)
- Last Synced: 2024-12-28T16:06:42.996Z (14 days ago)
- Language: CSS
- Homepage: http://restcookbook.com
- Size: 1.73 MB
- Stars: 1,594
- Watchers: 90
- Forks: 302
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-github-star - restcookbook
- starred-awesome - restcookbook - Jekyll cms site for restcookbook.com (CSS)
README
Contributing to the REST cookbook
---------------------------------
The [REST cookbook website](http://restcookbook.com) uses [Jekyll](https://github.com/mojombo/jekyll/wiki), a simple yet powerful blog engine that easily allows for creating simple websites like these.Contributing to our site is simple:
* Fork the website to your own github account.
* Clone your repository onto your computer. Make sure you create a new branch, and not use the master branch.
* Create a new page inside the /_posts/* directory. This HAS GOT TO BE IN THE FORMAT OF YEAR-MONTH-DAY-FILENAME.html!!!
* Add and commit your changes, and push it to your repository.
* Create a pull request and we will try and merge your recipe.Creating a new page
===================
As said, a page must be placed in the _post directory, and in the year-month-day-filename.html format. Otherwise it
wont get picked up by the system. Every post should look somewhat like this:---
layout: recipe
title:
category:
author:
author_email:
---
Title
Your recipe
The author_email address is optional. Make sure the category name is one of the existing category names (case matters),
otherwise your posting will be added inside a new topic. If you have troubles creating a new page, take a look at one
of the existing pages, or ask us for help.Regenerating a new site
=======================
There are two ways to display your new site:Run as a standalone webserver:
* Start jekyll in your repository root with: `jekyll server`
* Browse to http://:4000 to see your siteRun inside an existing webserver:
* Make sure your use the _site directory as your document rootWhen you make changes, you need to regenerate your website. This can be done by running jekyll without any parameters.
This regenerates the _site directory.