Skip to content

DOC: Move content in doc/README.rst to doc/source/contributing.rst #23840

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 7 commits into from
Nov 27, 2018

Conversation

KimiJL
Copy link
Contributor

@KimiJL KimiJL commented Nov 21, 2018

Copy link
Member

@WillAyd WillAyd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@datapythonista I'm OK with this reorg

doc/README.rst Outdated
Where to start?
---------------

Please follow the documentation in ``doc/source/contributing.rst`` for a
detailed guide on how to contribute to documentation
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could use a period at the end of this statement

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, thanks :)

@WillAyd WillAyd added the Docs label Nov 21, 2018
@codecov
Copy link

codecov bot commented Nov 21, 2018

Codecov Report

Merging #23840 into master will increase coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #23840      +/-   ##
==========================================
+ Coverage   92.29%   92.29%   +<.01%     
==========================================
  Files         161      161              
  Lines       51490    51501      +11     
==========================================
+ Hits        47521    47534      +13     
+ Misses       3969     3967       -2
Flag Coverage Δ
#multiple 90.69% <ø> (ø) ⬆️
#single 42.42% <ø> (+0.1%) ⬆️
Impacted Files Coverage Δ
pandas/io/parsers.py 95.36% <0%> (-0.19%) ⬇️
pandas/io/pytables.py 92.3% <0%> (-0.05%) ⬇️
pandas/core/base.py 97.6% <0%> (-0.01%) ⬇️
pandas/core/indexes/multi.py 95.49% <0%> (-0.01%) ⬇️
pandas/core/generic.py 96.84% <0%> (-0.01%) ⬇️
pandas/core/reshape/pivot.py 96.55% <0%> (ø) ⬆️
pandas/io/json/normalize.py 96.87% <0%> (ø) ⬆️
pandas/io/packers.py 88.08% <0%> (ø) ⬆️
pandas/core/util/hashing.py 98.4% <0%> (ø) ⬆️
pandas/core/strings.py 98.58% <0%> (ø) ⬆️
... and 40 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 485e7cd...4872a62. Read the comment docs.

Copy link
Member

@datapythonista datapythonista left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice changes. The README wasn't updated, and I added some comments on things that can be removed or need some changes. Other than that, looks good.

Starting with 0.13.1 you can tell ``make.py`` to compile only a single section
of the docs, greatly reducing the turn-around time for checking your changes.
You will be prompted to delete `.rst` files that aren't required, since the
last committed version can always be restored from git.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can delete those two last lines, that's not true anymore. Also the Starting with 0.13.1, that version is from 2015, I think we can assume nobody is using it anymore.


.. warning::

Sphinx version >= 1.2.2 or the older 1.1.3 is required.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can remove the warning, I don't think that's true anymore, and in any cases, those versions are old enough to assume everybody uses something more modern.

the notebooks included in the documentation.

Furthermore, it is recommended to have all `optional dependencies
<http://pandas.pydata.org/pandas-docs/dev/install.html#optional-dependencies>`_
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can remove this paragraph, the optional dependencies file doesn't exist anymore, there is just a dependencies file now.

doc/README.rst Outdated
Where to start?
---------------

Please follow the documentation in ``doc/source/contributing.rst`` for a
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd remove the titles, and paragraphs and leave something as simple as:

See `doc/source/contributing.rst` in this repo, or the generated html version https://pandas.pydata.org/pandas-docs/stable/contributing.html

Not a big difference, but leaving the titles and some info gives the wrong impression that this is a page (that could be extended) instead of a "redirect".

doc/README.rst Outdated
@@ -1,24 +1,3 @@
.. _contributing.docs:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you mind also removing this? I don't think we want to link to this README (and probably we can't as this is not in the sphinx sources dir). And it's confusing to have it here.

Copy link
Member

@datapythonista datapythonista left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks @KimiJL

Copy link
Contributor

@jreback jreback left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure we need to add any content here.

@@ -394,6 +399,31 @@ Requirements
First, you need to have a development environment to be able to build pandas
(see the docs on :ref:`creating a development environment above <contributing.dev_env>`).

To build the pandas docs there are some extra requirements: you will need to
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is very duplicative, Creating a Python Environment.

@datapythonista
Copy link
Member

I'm happy just replacing the content of README by the sentence we've got, and leave contributing.rst untouched.

Is this what you propose @jreback? @KimiJL do you mind doing that?

@KimiJL
Copy link
Contributor Author

KimiJL commented Nov 21, 2018

Totally fine with doing that, simple change

Copy link
Member

@datapythonista datapythonista left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @KimiJL.

@jreback?

@jreback
Copy link
Contributor

jreback commented Nov 23, 2018

I'm happy just replacing the content of README by the sentence we've got, and leave contributing.rst untouched.

yes

doc/README.rst Outdated
Feel free to ask questions on `mailing list
<https://groups.google.com/forum/?fromgroups#!forum/pydata>`_ or submit an
issue on Github.
See `doc/source/contributing.rst` in this repo, or the generated html version https://pandas.pydata.org/pandas-docs/stable/contributing.html
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you make the contributing link a markdown link. I think you can also path directly to the .rst with this link: https://github.com/pandas-dev/pandas/blob/master/doc/source/contributing.rst

@KimiJL
Copy link
Contributor Author

KimiJL commented Nov 26, 2018

I wasn't sure if this is what you meant by markdown link, is my new commit correct?

Copy link
Member

@datapythonista datapythonista left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jreback jreback added this to the 0.24.0 milestone Nov 27, 2018
@jreback jreback merged commit feb9c6e into pandas-dev:master Nov 27, 2018
@jreback
Copy link
Contributor

jreback commented Nov 27, 2018

thanks @KimiJL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DOC: Move content in doc/README.rst to doc/source/contributing.rst
4 participants