FLUID-6324: patch for 6.82.5 release of DocPad#145
FLUID-6324: patch for 6.82.5 release of DocPad#145waharnum wants to merge 5 commits intofluid-project:masterfrom
Conversation
"docpad run" doesn't output generated site docs. "docpad generate" throws an error for using the handlebar helpers.
…ality; use the built version of the handlebars fork.
|
@simonbates, would you be able to review this for merge when you have a chance? You should now be able to check out a clean copy of my branch, run @jhung Assuming this approach works for Simon we should be able to use it on the Guide site and other places DocPad is used. |
…roduce the desired directory structure.
|
@simonbates It looks like the reason for commenting out / removing the
Options for moving forward that I see:
The Docker support that was being worked on in #138 would make the separate deploy step unnecessary by using a builder container, but it isn't in yet (due to being blocked by the errors this mean PR is meant to fix). I'd recommend we go with the need to make a manual commit of |
|
I agree with your proposal to manually copy |
|
I see that we are also changing from |
|
I'm uncertain as to what changes we might see - I believe the change was made because I didn't see obvious issues but haven't tested extensively - automatically generated heading anchors seem to still be working. |
Sorry I'm late to conversation @waharnum and @simonbates. There was a change from marked to mark-it a while ago as discussed in FLUID-6205. That conversation may shed some light into the possible effects of reverting back to Marked. If I recall correctly, Marked is still being used on our other docpad sites. Fluid docs is the only one using Mark-it. I will need to verify that. |
|
I've generated the upstream
The only one I've found so far that is significant is the change in anchors. This will break related links, such as ( |
|
@simonbates @jhung It's odd that the generated anchors would be different since they're both using Mark-it - it look like the anchor-generating plugin allows for a custom slug function (https://github.com/valeriangalliat/markdown-it-anchor) - I'll look into this. |
|
I was trying to generate the |
|
As discussed in-channel and in-person, I am going to close this in favour of this pull request that uses Docker containers pinned to Node Version 8. |
This is a patch to allow us to build and deploy the documentation under a version of DocPad compatible with Node 10.
It makes the following substantive changes:
serveplugin to maintain static server support (DocPad made this a plugin rather than a built-in for the 6.8 line)handlebarsplugin, updated for compatibility with the 6.8 line: https://github.com/waharnum/docpad-plugin-handlebars/tree/fixFor6.8-build - I've had an outstanding pull request on the fix for this plugin since last December, but it has yet to be merged (v2.5.1 - update plugin for 6.82.x line of DocPad docpad/docpad-plugin-handlebars#13)This should allow us to build and deploy the documentation in our usual way, in the immediate term.