docpad / docpad-plugin-paged

Adds support to DocPad for rendering a document into multiple pages.
Other
28 stars 11 forks source link

Get it working with the new importers work #8

Closed balupton closed 11 years ago

balupton commented 11 years ago

bevry/docpad#500 breaks this plugin

git clone bevry/docpad docpad
cd docpad
git checkout dev
npm install
cake compile
npm link
git clone docpad/docpad-plugin-paged docpad-plugin-paged
cd docpad-plugin-paged
git checkout dev
npm install
npm link docpad
cake compile
cake test

It seems that there is a very strange error going on where the IDs of the models change. However it actually seems like they are different models, as the clean urls plugin changes does not apply to the new models.

balupton commented 11 years ago

@benjamind if you have a moment, no worries if not, I could do with an extra pair of eyes. @chase this may also be up your alley.

benjamind commented 11 years ago

Will try my best. Not had a chance to look at the new importer stuff yet.

I'm drowning in this Burning Man project right now, http://diodome.heroku.com so much to do, so little time.

balupton commented 11 years ago

Got it working with the docpad dev branch. The code is way smaller and should have less issues in the future as the page documents are injected into the docpad database, allowing external plugins to do their job correctly.

I want to test it on a real site and ensure regeneration works before releasing it alongside the new docpad version.

balupton commented 11 years ago

All working with live sites right now.

balupton commented 11 years ago

Released v2.2.0 :)

benjamind commented 11 years ago

Well done that man, looks good.

Will test it out on my site tonight.