-
Notifications
You must be signed in to change notification settings - Fork 27
Add support for multiline json in tables #23
base: branch-0.3
Are you sure you want to change the base?
Conversation
Can one of the admins verify this patch? |
b663b5a
to
c279360
Compare
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.
Thanks for raising this.
A few thoughts:
- Is there definitely no way to do this in pure markdown?
- Does this break the other two templates (RST, HTML)?
- Should we only use multiline code fences when there are multiple lines?
Please do share your feedback on the answers above so I continue. |
Fair enough.
I'm not sure if it is possible to do this in RST, but I'm afraid we will need to figure it out in order to get this merged.
Great! |
It was recommended to me to check out list-tables in RST. https://docutils.sourceforge.io/docs/ref/rst/directives.html#list-table |
Regarding the HTML , enclosing the code in |
Since the commits were dependent on each other, I just pushed in just one pull request. However, I have mentioned the issues it fixes in each of them. |
Will try to fix the RST thing soon. I have to add the conditional check on the jinja as well for the multiline json. What are your thoughts on it ? |
Fixed the html thing as well. Now only the RST thing remains. :) |
- Since MD syntax does not really support it so I've created table using html table syntax and it seems to render perfectly. Pending items -------------- - rst and html templates. Fixes rapidsai#17 rapidsai#24
If a user packs the chart properly (including its dependent charts) so he would only like frigate to just go through them and just dump the values from them that way it already does. The only thing would be to NOT run the repo update and the dep update commands. One thing to note here is that the above commands only slow down the whole recursion drastically (I had to wait for 20 mins). With this improvement a flag called --no-update has been introduced which would not invoke the the aforementioned commands during the traversal. Fixes rapidsai#26
Great! You can check this out for a working RST example. https://raw.githubusercontent.com/rapidsai/ucx-py/branch-0.17/docs/source/send-recv.rst (Also for future reference please don't force push on GitHub, it helps to review to be able to see each commit. We will squash on merge anyway.) |
So sorry for that. Ill take care of that moving forward. Just one thing to ask I usually do this during pull requests commit ---- comments fix ----- commit --amend Since the last step is just an amend in the existing commit, do you think its reasonable to push N amends here than a single commit ? Just want to understand the intuition. But I also see your point, squashing them at end gives the same effect. |
One more thing, can I take up the tests for it in a different pull request ? |
It's best to not amend. Just keep adding new commits. That way GitHub shows me a view of what has changed since you last pushed. This makes it much easier to see how things are progressing. Otherwise I have to read the whole thing and try to figure out what you changed since the last time I looked at it. Squashing at the end keeps the main commit history clean. But GitHub does this for us when we merge. I would prefer tests to be included in this PR. |
- Added test for pre-packaged chart - Corrected the assertion for a test
Sorry for stretching this for too long but couldn't get time to look at the rst format as of now. Can you or someone else take up the rst part of it ? Other things are already in place. |
table using html table syntax and it seems to render perfectly.
Pending items