-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
DOC: reorganize and simplify contributing.rst #7699
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
Changes from 1 commit
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
fc5dcf4
DOC: reorganize and simplify contributing.rst
tacaswell 600544c
DOC: ensure local variables are defined
tacaswell de50bfa
DOC: bit more accurate how develop mode works
tacaswell 03111bf
DOC: standardize on Matplotlib
tacaswell 534b832
DOC: minor tweaks to wording + capitalization
tacaswell 39f8798
DOC: fix typo
tacaswell File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
8000
Failed to load files.
Loading
Diff view
Diff view
DOC: standardize on Matplotlib
- Loading branch information
commit 03111bf5381812200efd16c9519372de77e50253
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ recommended. | |
|
||
.. warning:: | ||
|
||
If you already have a version of matplotlib installed, you will need to | ||
If you already have a version of Matplotlib installed, you will need to | ||
uninstall it. | ||
|
||
We use `Git <https://git-scm.com/>`_ for version control and | ||
|
@@ -40,7 +40,7 @@ You can check out the latest sources with the command (see | |
|
||
git clone git@github.com:matplotlib/matplotlib.git | ||
|
||
and navigate to the matplotlib directory. | ||
and navigate to the Matplotlib directory. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Matplotlib -> matplotlib since you're talking about the directory. |
||
|
||
To make sure the tests run locally you must build against the correct version | ||
of freetype. To configure the build system to fetch and build it either export | ||
|
@@ -105,7 +105,7 @@ Contributing code | |
How to contribute | ||
----------------- | ||
|
||
The preferred way to contribute to matplotlib is to fork the `main | ||
The preferred way to contribute to Matplotlib is to fork the `main | ||
repository <https://github.com/matplotlib/matplotlib/>`__ on GitHub, | ||
then submit a "pull request" (PR): | ||
|
||
|
@@ -138,7 +138,7 @@ then submit a "pull request" (PR): | |
|
||
$ git push -u origin my-feature | ||
|
||
Finally, go to the web page of your fork of the matplotlib repo, | ||
Finally, go to the web page of your fork of the Matplotlib repo, | ||
and click 'Pull request' to send your changes to the maintainers for review. | ||
You may want to consider sending an email to the mailing list for more | ||
visibility. | ||
|
@@ -214,7 +214,7 @@ tools: | |
|
||
.. note:: | ||
|
||
The current state of the matplotlib code base is not compliant with all | ||
The current state of the Matplotlib code base is not compliant with all | ||
of those guidelines, but we expect that enforcing those constraints on all | ||
new contributions will move the overall code base quality in the right | ||
direction. | ||
|
@@ -237,7 +237,7 @@ New contributors should look for the following tags when looking for issues. | |
We strongly recommend that new contributors tackle | ||
`new-contributor-friendly <https://github.com/matplotlib/matplotlib/labels/new-contributor-friendly>`_ | ||
issues (easy, well documented issues, that do not require an understanding of | ||
the different submodules of matplotlib) and | ||
the different submodules of Matplotlib) and | ||
`Easy-fix <https://github.com/matplotlib/matplotlib/labels/Difficulty%3A%20Easy>`_ | ||
issues. This helps the contributor become familiar with the contribution | ||
workflow, and for the core devs to become acquainted with the contributor; | ||
|
@@ -249,7 +249,7 @@ Other ways to contribute | |
========================= | ||
|
||
|
||
Code is not the only way to contribute to matplotlib. For instance, | ||
Code is not the only way to contribute to Matplotlib. For instance, | ||
documentation is also a very important part of the project and often doesn't | ||
get as much attention as it deserves. If you find a typo in the documentation, | ||
or have made improvements, do not hesitate to send an email to the mailing | ||
|
@@ -379,10 +379,10 @@ Developing a new backend | |
If you are working on a custom backend, the *backend* setting in | ||
:file:`matplotlibrc` (:ref:`customizing-matplotlib`) supports an | ||
external backend via the ``module`` directive. if | ||
:file:`my_backend.py` is a matplotlib backend in your | ||
:file:`my_backend.py` is a Matplotlib backend in your | ||
:envvar:`PYTHONPATH`, you can set it on one of several ways | ||
|
||
* in matplotlibrc:: | ||
* in :file:`matplotlibrc`:: | ||
|
||
backend : module://my_backend | ||
|
||
|
@@ -413,7 +413,7 @@ when the website is built to show up both in the `examples | |
<../gallery.html>`_ sections of the website. | ||
|
||
Any sample data that the example uses should be kept small and | ||
distributed with matplotlib in the | ||
distributed with Matplotlib in the | ||
`lib/matplotlib/mpl-data/sample_data/` directory. Then in your | ||
example code you can load it into a file handle with:: | ||
|
||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Only in the same venv, I think? AFAICT that looks big and scary while it is simply not true if the instructions above are followed :-)
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.
You can drive your self to very strange situations with overlapping installs, but will re-word this to be a bit less scary.