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

Only parse docs blocks contents when reading md files (#988) #1513

Merged
merged 3 commits into from
Jun 6, 2019

Conversation

beckjake
Copy link
Contributor

@beckjake beckjake commented Jun 6, 2019

Fixes #988

Also, related: Fix docs blocks parsing issues
Rename documentation node type to docs so we can filter on it (is this breaking?)
Fix block extractor bug with macros/docs that contain quotes
Fix block extractor bug with expressions

Jacob Beck added 2 commits June 6, 2019 09:32
Rename documentation node type to docs so we can filter on it (is this breaking?)
Fix block extractor bug with macros/docs that contain quotes
Fix block extractor bug with expressions
@beckjake beckjake marked this pull request as ready for review June 6, 2019 17:34
Copy link
Contributor

@drewbanin drewbanin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks and works great. Ship it!

@@ -8,7 +8,7 @@ class NodeType(object):
Macro = 'macro'
Operation = 'operation'
Seed = 'seed'
Documentation = 'documentation'
Documentation = 'docs'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't believe that we use this anywhere, nor is it documented. 👍

@beckjake
Copy link
Contributor Author

beckjake commented Jun 6, 2019

Just uploaded a readme.md file that is meant to trigger the actual issue, I failed to git add it before!

@beckjake beckjake merged commit c1387c5 into dev/wilt-chamberlain Jun 6, 2019
@beckjake beckjake deleted the fix/only-parse-docs-blocks branch June 6, 2019 19:53
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.

Only render jinja inside of docs blocks in .md files
2 participants