Skip to content

upgrade nunjucks and fix template#231

Merged
kevinrenskers merged 1 commit intoraml2html:developfrom
chulkilee:update-nunjucks
Aug 7, 2016
Merged

upgrade nunjucks and fix template#231
kevinrenskers merged 1 commit intoraml2html:developfrom
chulkilee:update-nunjucks

Conversation

@chulkilee
Copy link
Copy Markdown
Contributor

@kevinrenskers
Copy link
Copy Markdown
Member

Thanks, I'll be reviewing this shortly and should then make it into raml2html 2.5.0.

@kevinrenskers kevinrenskers self-assigned this Aug 3, 2016
@kevinrenskers
Copy link
Copy Markdown
Member

I'd love to upgrade nunjucks and nunjucks-markdown, but this will break every customized template because of this change in whitespace behavior. Maybe we should fork nunjucks-markdown and have it work as before? Maybe it's as simple as taking version 1 of that library, update its peer dependency and done.

In any case, if we're going with a version of nunjucks-markdown that changes this whitespace behavior then this needs to wait for raml2html 3.0 because it's a major breaking change.

- old version of nunjucks depends on old version of fsevents via
  chokidar, which does not work on node 6.x. See
  fsevents/fsevents#128

- nunjucks-markdown expect blocks at the same level with {% markdown %}
  tag. So fix the template.
@chulkilee
Copy link
Copy Markdown
Contributor Author

Agreed that it should come with major version bump - do you have a roadmap for raml2html 3? e.g. will raml1.0 branch become raml2html3?

Anyway, updated the branch to fix conflicts.

@kevinrenskers
Copy link
Copy Markdown
Member

raml2html 3.0 will include RAML 1.0 support and a brand new template.

@kevinrenskers kevinrenskers merged commit aaa66a0 into raml2html:develop Aug 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants