X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=README.md;h=5c7b4f5aff73b585c0fb3e92db8a56cf18e2274e;hb=cf42fa9969ae5a017eb0e7928cdba1f0646d2780;hp=a216d3b98f9257e889b8a76b31e96c2b23a112e5;hpb=e398ab979b12a10117921b4961d32ed7489ca0a7;p=blog diff --git a/README.md b/README.md index a216d3b..5c7b4f5 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,38 @@ # Poole -In the novel, *The Strange Case of Dr. Jeykll and Mr. Hyde*, Mr. Poole is Dr. Jekyll's virtuous and loyal butler. Similarly, Poole serves as an upstanding and effective foundation for Jekyll themes by [@mdo](https://twitter.com/mdo). +*The Strange Case of Dr. Jekyll and Mr. Hyde* tells the story of a lawyer investigating the connection of two persons, Dr. Henry Jekyll and Mr. Edward Hyde. Chief among the novel's supporting cast is a man by the name of Mr. Poole, Dr. Jekyll's loyal butler. -There are currently two themes built on Poole: +----- + +Poole is the butler for [Jekyll](http://jekyllrb.com), the static site generator. It's designed and developed by [@mdo](https://twitter.com/mdo) to provide a clear and concise foundational setup for any Jekyll site. It does so by furnishing a full vanilla Jekyll install with example templates, pages, posts, and styles. + +![Poole](https://f.cloud.github.com/assets/98681/1834359/71ae4048-73db-11e3-9a3c-df38eb170537.png) + +See Poole in action with [the demo site](http://demo.getpoole.com). + +There are currently two official themes built on Poole: * [Hyde](http://hyde.getpoole.com) * [Lanyon](http://lanyon.getpoole.com) +Individual theme feedback and bug reports should be submitted to the theme's individual repository. + + +## Contents + +- [Usage](#usage) +- [Options](#options) + - [Rems, `font-size`, and scaling](#rems-font-size-and-scaling) +- [Development](#development) +- [Author](#author) +- [License](#license) + ## Usage -### 1. Install Jekyll +### 1. Install dependencies -Poole is built for use with Jekyll, so naturally you'll need to install that. On Macs, it's rather straightforward: +Poole is built on Jekyll and uses its built-in SCSS compiler to generate our CSS. Before getting started, you'll need to install the Jekyll gem: ```bash $ gem install jekyll @@ -20,7 +40,7 @@ $ gem install jekyll **Windows users:** Windows users have a bit more work to do, but luckily [@juthilo](https://github.com/juthilo) has your back with his [Run Jekyll on Windows](https://github.com/juthilo/run-jekyll-on-windows) guide. -You may also need to install Pygments, the Python syntax highlighter for code snippets that plays nicely with Jekyll. Read more about this [in the Jekyll docs](http://jekyllrb.com/docs/templates/#code_snippet_highlighting). +**Need syntax highlighting?** Poole includes support for Pygments or Rouge, so install your gem of choice to make use of the built-in styling. Read more about this [in the Jekyll docs](http://jekyllrb.com/docs/templates/#code_snippet_highlighting). ### 2a. Quick start @@ -38,8 +58,18 @@ To see your Jekyll site with Poole applied, start a Jekyll server. In Terminal, $ jekyll serve ``` -Open in your browser, and voilà. You're done. +Open in your browser, and voilà. +### 4. Serving it up + +If you host your code on GitHub, you can use [GitHub Pages](https://pages.github.com) to host your project. + +1. Fork this repo and switch to the `gh-pages` branch. + 1. If you're [using a custom domain name](https://help.github.com/articles/setting-up-a-custom-domain-with-github-pages), modify the `CNAME` file to point to your new domain. + 2. If you're not using a custom domain name, **modify the `baseurl` in `_config.yml`** to point to your GitHub Pages URL. Example: for a repo at `github.com/username/poole`, use `http://username.github.io/poole/`. **Be sure to include the trailing slash.** +3. Done! Head to your GitHub Pages URL or custom domain. + +No matter your production or hosting setup, be sure to verify the `baseurl` option file and `CNAME` settings. Not applying this correctly can mean broken styles on your site. ## Options @@ -48,7 +78,7 @@ Poole includes some customizable options, typically applied via classes on the ` ### Rems, `font-size`, and scaling -Poole is built almost entirely with `rem`s (instead of pixels like Hyde 1.1.x). `rem`s are like `em`s, but instead of building on the immediate parent's `font-size`, they build on the root element, ``. +Poole is built almost entirely with `rem`s (instead of pixels). `rem`s are like `em`s, but instead of building on the immediate parent's `font-size`, they build on the root element, ``. By default, we use the following: @@ -57,7 +87,7 @@ html { font-size: 16px; line-height: 1.5; } -@media (min-width: 48rem) { /* ~768px */ +@media (min-width: 38em) { html { font-size: 20px; } @@ -68,11 +98,19 @@ html { To easily scale your site's typography and components, simply customize the base `font-size`s here. +## Development + +Poole has two branches, but only one is used for active development. + +- `master` for development. **All pull requests should be to submitted against `master`.** +- `gh-pages` for our hosted site, which includes our analytics tracking code. **Please avoid using this branch.** + + ## Author **Mark Otto** - - +- +- ## License