Skip to content

Fix throwing error when "example" tag is empty #330

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

Merged
merged 3 commits into from
Jan 24, 2016

Conversation

lavrton
Copy link
Contributor

@lavrton lavrton commented Jan 15, 2016

Also I added lint rule.

What branch should I use for pull-request?

@tmcw
Copy link
Member

tmcw commented Jan 16, 2016

PRs should be targeted at the master branch, like this one. Can you add a test with an empty example to make sure this bug stays fixed? Thanks!

@lavrton
Copy link
Contributor Author

lavrton commented Jan 19, 2016

Done. I hope it is correct.

But right now markdown output is not really good. Probably we should skip "Examples" section.
I think it can be another pull request.

@tmcw
Copy link
Member

tmcw commented Jan 24, 2016

👍 thanks!

tmcw added a commit that referenced this pull request Jan 24, 2016
Fix throwing error when "example" tag is empty
@tmcw tmcw merged commit 2043610 into documentationjs:master Jan 24, 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