Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation Skiping Files Templates #128

Closed
rodriguezartav opened this issue Jan 2, 2012 · 6 comments
Closed

Compilation Skiping Files Templates #128

rodriguezartav opened this issue Jan 2, 2012 · 6 comments

Comments

@rodriguezartav
Copy link

I've been working for a week with doc pad.

Today I started getting strange behavior, certain files are not being rendered correctly. They are just being "out-putter" as is; which out the wrapper template.

The interesting thing is that not always the same file, I have not been able to find any relationship.

generating with -d does not show anything wrong.

@rodriguezartav
Copy link
Author

It seems that after I get to a certain number of files between docs and layout, they randomly stop getting compiled with the apropiate template and are rendered as is; even without procesing the <%= of the eco template.

The current situation is at head of this repo
https://github.com/rodriguezartav/jungle_dynamics_site.

I really like this framework and am about to post a review to y news combinator, but would like to understand this bug or problem on my part.

@balupton
Copy link
Member

balupton commented Jan 4, 2012

Will take a look at this over the next 24 hours. Will keep you updated with the progress :-)

@balupton
Copy link
Member

balupton commented Jan 4, 2012

Which directory of that repo shall I work with?

@rodriguezartav
Copy link
Author

I managed to work around the bug, unfortunately did not
found accurately its cause.

Docpad is set up on the /web directoy.

The problem was being caused by eco code on a page. There were no
compilation errors, just the compilation of that specific file being
dropped.

The file in question was /web/src/blog/index.html and
/web/src/tutorial/index.html , you should go back to the commit that reads
BUG , its probably 4 or 5 behind.

Docpad is amazing, thanks so much for your work. Let me know if you want to
talk over skype or how I can help you out clarifying this bug that is looks
like a big foot bug ( Just one person seen it. )

You can check out there as well that I am using a script to docpad generate
and then copy to the /public dir. Any plans on creating a [output dir]
option?

best

2012/1/4 Benjamin Arthur Lupton <
reply@reply.github.com

Which directory of that repo shall I work with?


Reply to this email directly or view it on GitHub:
#128 (comment)

roberto

@rodriguezartav
Copy link
Author

Hi, been extending the site quite a bit and no problems.

I guess I messed up somewhere, no bug.

Any advice on the output folder?

@balupton
Copy link
Member

balupton commented Jan 8, 2012

Inside your package.json add {"docpad": {"outPath":"something"}} and that should do it.

For the issue at hand, I'll make sure the next release of DocPad reports an error when Eco rendering fails.

Let me know if that helps, and I love your DocPad website, it's really great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants