bevry/kitchensink.docpad — pull request #3 by DjebbZ (2012-03-23 18:31:21+00:00)
Title: Update to Bootstrap 2.

Yes, I did it :)

What I did precisely :

* replaced bootstrap.min.css with the Bootstrap 2 equivalent
* updated all the markup to match Bootstrap 2
* added a dynamic navigation to the Getting Started page (for fun :)

And it works.. almost.

Problems :

When I `docpad generate` I have this error :

```shell
DjebbZ:~/Sites/kitchensink.docpad $ docpad generate
info: Welcome to DocPad v3.3.2
info: Generating...
info: Skipped manually ignored document: markups/ccss-to-css.css.ccss
info: Skipped manually ignored document: nifty/async.html.coffee
info: Skipped manually ignored document: posts/ignored.html
warning: Something went wrong while rendering: pages/getting-started.html.eco
error: An error occured: Cannot call method 'replace' of null TypeError: Cannot call method 'replace' of null
at Object. (eval at (/Users/khalid_jebbari/node/lib/node_modules/docpad/lib/exchange/plugins/eco/node_modules/eco/lib/compiler.js:19:12))
at Object. (eval at (/Users/khalid_jebbari/node/lib/node_modules/docpad/lib/exchange/plugins/eco/node_modules/eco/lib/compiler.js:19:12))
at eval at (/Users/khalid_jebbari/node/lib/node_modules/docpad/lib/exchange/plugins/eco/node_modules/eco/lib/compiler.js:19:12)
at Function.render (/Users/khalid_jebbari/node/lib/node_modules/docpad/lib/exchange/plugins/eco/node_modules/eco/lib/index.js:26:24)
at EcoPlugin.render (/Users/khalid_jebbari/node/lib/node_modules/docpad/lib/exchange/plugins/eco/eco.plugin.coffee:24:30)
at DocPad.triggerPluginEvent (/Users/khalid_jebbari/node/lib/node_modules/docpad/lib/docpad.coffee:657:29)
at /Users/khalid_jebbari/node/lib/node_modules/docpad/lib/file.coffee:433:23
at /Users/khalid_jebbari/node/lib/node_modules/docpad/lib/file.coffee:454:32
at Group.run (/Users/khalid_jebbari/node/lib/node_modules/docpad/node_modules/bal-util/lib/groups.coffee:119:11)
at Group.sync (/Users/khalid_jebbari/node/lib/node_modules/docpad/node_modules/bal-util/lib/groups.coffee:139:12)
info: Generated
info: The action completed successfully
```

I think it's because I realized just a few minutes ago that the kitchensink.docpad project had a `docpad-3.x` branch :/ (Yes, stupid me).

Nexts points, after this pull request and all the related details are fixed, is :

1. integrating it with the DocPad project. For now, as I started playing with DocPad just a few days ago, I have no idea how it's done. I leave it to you, unless it can be done automagically. Anyway, I'd rather focus on the next point, which is...
2. writing the docs in the kitchensink project, as you (@balupton) said in [this issue](https://github.com/bevry/docpad/issues/142#issuecomment-4154670). My experience with other open source projects taught me that the best moment to write documentation is either alongside the code, or when a beginner learns. I think I'm this beginner :)