-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
changed to RST #25594
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
changed to RST #25594
Conversation
@@ -0,0 +1,332 @@ | |||
.. redirect-from:: /tutorials/toolkits/axes_grid |
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.
Should this also be a move?
Even though this is documentation, it can not be backported because it relies on the re-organization. |
Apologies! This was more so a draft for the moment. I was not planning on committing a .git ignore |
What I am trying to resolve is the fact that the three changed files download as full commented blocks. I initially was planning on just reformatting the file, but it was suggested that I change the files to .rst. If I was going to do that where would I move it to? |
github is detecting 2 renames of |
I do not know what that is the case. I did not modify the location. |
When you rename a file, you should use "git mv" so git knows that is what you did versus delete a file and add a new one. https://git-scm.com/docs/git-mv |
@jklymak Ok will do, thank you! |
would this make a solid index.rst for C:/Users/mjhig/.vscode/bob/matplotlib/galleries/users_explain/toolkits
|
.gitignore
Outdated
@@ -1,112 +0,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.
Deleting our .gitignore
is also not something we can merge!
I am very sorry I can redo the pull request if necessary, I am sorry about the .gitignore it was not meant to be committed, but now that the changes are staged it got really messy, I can close this pull request if you want. It was getting annoying trying to explain the code, so I made a pull request to get feedback. |
FYI, you can tweak your description a bit to automatically link the issue by using special codewords like "Closes #XXXXX". I have added it to this PR manually, but for future reference. https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue As for the gitignore stuff, consider rebasing, no need to start a new PR if the overall change is still wanted (I honestly haven't taken a close look), it can be done here: https://matplotlib.org/stable/devel/development_workflow.html#rewriting-commit-history |
Can someone tell me if I put the .rst files in the right place? Also I'm wondering if the index.rst works to |
No we can't tell you if you have put it in the right place because you haven't committed it. You may want to carefully go through our guide to git and Github, it is actually relatively decent: https://matplotlib.org/stable/devel/development_workflow.html. Let us know if parts of it are not clear. |
@jklymak ok I will!! I apologize, I havenβt used GitHub with this much version control before! I have only done small projects before! I really look forward to completing my contribution. Thank you! |
d366cbb
to
b7ee03d
Compare
b7ee03d
to
a844eca
Compare
accident |
@Higgs32584 This is unlikely to be building properly though for some reason CI is not running for the job. But the rst files must be formatted like rst files. You probably also have to You should be able to build and check this locally using |
Hello @Higgs32584 - let me know if you'd like to connect and come up with a plan for this |
Ok, I will! I just did not know how to set up a circle CI pipeline |
I think this is on us @Higgs32584 - see #25672 (takeaway is don't worry about it π ) |
Hi, is there anything else that needs to be done? melissawm |
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.
I think these still need to strip the """
at the beginning and end, or it won't build.
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.
my bad! removed quotations! Anything else I can do? Thank you for being so patient!
@tacaswell
@jklymak
@melissawm
|
||
Here you can find examples and explanations of how to use various toolkits available in Matplotlib. | ||
|
||
Axes Artist |
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.
Is there a good reason to not just have these in one TOC?
Otherwise this looks good!
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.
I guess that is how I got it to look the way it did before
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.
Before it was a bunch of broken sphinx gallery thumbnails. https://matplotlib.org/devdocs/users/explain/toolkits/index.html I don't think anything is gained by having a title with almost the same thing written beneath it as a one-entry table of contents.
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.
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.
I see, but how do you get it to generate the same way as before?
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.
"The same ways as before" was just three broken thumbnails (https://matplotlib.org/devdocs/users/explain/toolkits/index.html). Why do you want that?
If you want something graphical, you could create an rst page with select images that are inside the tutorials. If you want the cards that are used for sphinx gallery, you could copy their style and use them on this rst page. You could also perhaps do something with sphinx-design.
If you decide to do this (which I'm not asking for, I'm just asking for you not to include three subheadings that each contain a table of contents) look at examples in the source code of where images have been included.
fbb44c9
to
2c4f552
Compare
They need a computer science on git conflict theory |
|
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 working through this!
Congratulations on your first PR merged into Matplotlib @Higgs32584! |
Thank you! @rcomer |
Made user_explain/toolkits an rst-only gallery entry. Co-authored-by: Higgs32584 <[email protected]>
created draft pull request for issue#25582, documentation
#25582