-
Notifications
You must be signed in to change notification settings - Fork 11.9k
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
Add live samples back to docs for each chart type #4100
Conversation
} | ||
} | ||
{% endchartjs %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing EOL
package.json
Outdated
@@ -16,6 +16,7 @@ | |||
"child-process-promise": "^2.2.0", | |||
"coveralls": "^2.11.6", | |||
"gitbook-cli": "^2.3.0", | |||
"gitbook-plugin-chartjs": "^0.1.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GitBook dependencies are installed automatically when running gulp docs
, so we can remove this line and avoid installing GitBook plugin(s) when not generating the doc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, ok. sounds good 👍
{ | ||
"type": "doughnut", | ||
"data": { | ||
"labels": [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could be better for consistency to format the labels
array always the same way (inline vs one item per line).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed, will update that
c740f90
to
1121cbf
Compare
Updated per review comments |
Resolves #2068 and #3331
This just adds back the live charts for each type. I didn't add the two column layout for the pie/doughnut charts. Not sure what the best or most sustainable way to do that is.