-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DOC: Fix capitalisation in doc/source/whatsnew - part1 (issue #32550) #33382
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
DOC: Fix capitalisation in doc/source/whatsnew - part1 (issue #32550) #33382
Conversation
Should version numbers begin with a capital 'v' or not? |
doc/source/whatsnew/v0.4.x.rst
Outdated
@@ -1,6 +1,6 @@ | |||
.. _whatsnew_04x: | |||
|
|||
v.0.4.1 through v0.4.3 (September 25 - October 9, 2011) | |||
v.0.4.1 through v0.4.3 (september 25 - october 9, 2011) |
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 the months should still be capitalized as proper nouns? cc @datapythonista
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.
Yes, afaik in English they should be capitalized.
@cleconte987 do you mind adding all month names to the list of exceptions please?
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.
Ok, doing it now.
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 version numbers are ok in lowercase, but if that fails the script and complicates things too much, I guess in upper case would also be ok.
Ok so changing it to uppercase |
Adding exception keywords to 'validate_rst_title_capitalization.py'
…y_doc/source/whatsnew
Just realized that we'll be capitalizing the first one of |
…/source/whatsnew/v0.4.x.rst'
Ok changing it to "Versions ..." |
doc/source/whatsnew/v0.4.x.rst
Outdated
@@ -1,6 +1,6 @@ | |||
.. _whatsnew_04x: | |||
|
|||
v.0.4.1 through v0.4.3 (September 25 - October 9, 2011) | |||
Versions v.0.4.1 through v0.4.3 (September 25 - October 9, 2011) |
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.
We can fix this since we're here.
Versions v.0.4.1 through v0.4.3 (September 25 - October 9, 2011) | |
Versions v.0.4.1 through v.0.4.3 (September 25 - October 9, 2011) |
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.
Alright
doc/source/whatsnew/v0.5.0.rst
Outdated
@@ -1,7 +1,7 @@ | |||
|
|||
.. _whatsnew_050: | |||
|
|||
v.0.5.0 (October 24, 2011) | |||
V.0.5.0 (October 24, 2011) |
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'd be consistent.
V.0.5.0 (October 24, 2011) | |
Version v.0.5.0 (October 24, 2011) |
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 I didn't understand what you meant. Correcting
doc/source/whatsnew/v0.6.0.rst
Outdated
@@ -1,6 +1,6 @@ | |||
.. _whatsnew_060: | |||
|
|||
v.0.6.0 (November 25, 2011) | |||
V.0.6.0 (November 25, 2011) |
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.
V.0.6.0 (November 25, 2011) | |
Version v.0.6.0 (November 25, 2011) |
Looks like in recent versions we use |
For me it would be ok. But Im not in the project enough to know if it would make sense |
…y_doc/source/whatsnew
doc/source/whatsnew/v0.4.x.rst
Outdated
@@ -1,6 +1,6 @@ | |||
.. _whatsnew_04x: | |||
|
|||
v.0.4.1 through v0.4.3 (September 25 - October 9, 2011) | |||
Versions 0.4.1 through 0.4.3 (September 25 - October 9, 2011) | |||
------------------------------------------------------- |
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.
Can you make these lines the same length as the title please? Other than that looks good to me.
@TomAugspurger are you ok using Version 1.0.3
in the what's new titles, instead of v1.0.3
? We're applying the script to keep titles consistent in all docs, and the v1.0.3
format will require complicating the script significantly to be handled. In some cases it'll appear at the beginning, and the script will expect V1.0.3
, and in others it's in the middle. We can define exceptions in the script, but we should add every existing version there, and keep adding the future ones. Which seems a worse solution than just using Version 1.0.3
.
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.
Version 1.0.3 seems fine.
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.
lgtm. thanks for the fixes @cleconte987
You're welcome! |
can merge master and ping on green. |
…and merge upstream/master
@jreback |
Thanks @cleconte987 |
You're welcome! |
modify files index.rst, v0.4.x.rst, v0.5.0.rst, v0.6.0.rst
passes
black pandas
passes
git diff upstream/master -u -- "*.py" | flake8 --diff