8000 DOC: Mixed capitalization styles in page titles · Issue #16261 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

DOC: Mixed capitalization styles in page titles #16261

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

Closed
bjnath opened this issue May 16, 2020 · 19 comments · Fixed by #18962 or #25016
Closed

DOC: Mixed capitalization styles in page titles #16261

bjnath opened this issue May 16, 2020 · 19 comments · Fixed by #18962 or #25016

Comments

@bjnath
Copy link
Contributor
bjnath commented May 16, 2020

Page titles in the docs use both

Mixing styles makes the docs seem disorganized; a uniform style would give a better impression.

I vote that we converge on sentence case, which is contemporary usage almost everywhere, and I volunteer to go through our pages and PR the needed changes.

@rgommers
Copy link
Member

+1 for sentence case. Thanks for working on this @bjnath

@WarrenWeckesser
Copy link
Member

+1 for consistency.

If we adopt sentence case as the preferred style, eventually that convention should be used consistently throughout the NumPy documentation, including in the section headings of the NumPy docstring standard. Currently it has the section headings "Other Parameters" and "See Also" (which actually gets rendered as "See also:" in the HTML output--go figure).

@lyzlisa
Copy link
Contributor
lyzlisa commented May 9, 2021

@alize-papp and I are working on this issue (WiMLDS Berlin sprint)

@misalraj
Copy link
Contributor
misalraj commented May 9, 2021

I have already updated

@rgommers
Copy link
Member
8000 rgommers commented May 9, 2021

Note that the issue is a little broader than the one example given, it's about consistency of all titles. @misalraj are you interested to go through the docs and check other pages?

@rgommers
Copy link
Member
rgommers commented May 9, 2021

Or @lyzlisa and @alize-papp did you start on this? gh-18962 only fixes one page.

@misalraj
Copy link
Contributor
misalraj commented May 9, 2021

I will look into this. @rgommers
Thanks for pointing out.

@rgommers
Copy link
Member
rgommers commented May 9, 2021

Reopening, there is more to do here for other page titles.

@melissawm
Copy link
Member

Remaining issues (from #19849):

  • The page subtitles also have mixed styles, sentence casing can be introduced
  • Docs under doc/build needs to be worked upon

@misalraj
Copy link
Contributor

I will check,

@lalitmusmade
Copy link
Contributor

Working on this as part of the PyDataGlobal 2021 NumPy-SciPy sprint

@InessaPawson InessaPawson added the sprintable Issue fits the time-frame and setting of a sprint label Jan 6, 2022
@reshamas
Copy link
reshamas commented Mar 3, 2022

@InessaPawson
Is there a consensus on what style of capitalizing words is preferred?
Is is sentence case or title case?

@InessaPawson
Copy link
Member
InessaPawson commented Mar 3, 2022

@reshamas Yes, please use the sentence case style.

@InessaPawson InessaPawson changed the title Mixed capitalization styles in page titles DOC: Mixed capitalization styles in page titles Aug 24, 2022
@SuzaKrish
Copy link

@InessaPawson Does this issue still need work?

@InessaPawson
Copy link
Member

@SuzaKrish Yes. The issue was addressed in some parts of the documentation, but not everywhere.

@SuzaKrish
Copy link

I'd like to work on this as part of the GHC'22 Numpy sprint

@talhabm
Copy link
Contributor
talhabm commented Apr 22, 2023

I'm taking a shot at this as part of a sprint during PyCon US 2023.

@codeguru42
Copy link
codeguru42 commented Apr 22, 2023

I am looking into this. I assume that proper nouns should remain capitalized when they appear in the middle of a title. However, what qualifies as a "proper noun"? For example, we in doc/DISTUTILS.rst there are the following words (here as lowercase only) in the titles:

  • distutils
  • python
  • scipy
  • numpy

In the case of "scipy" and "numpy" what is the captialization? Is it "scipy", "Scipy", or "SciPy"? And similarly for "numpy".

@charris
Copy link
Member
charris commented Apr 22, 2023

I won't speak for SciPy (heh), but NumPy refers to the project while numpy is the name of the module. It can be a bit confusing to decide which one to use.

seberg pushed a commit that referenced this issue Apr 26, 2023
seberg pushed a commit that referenced this issue Nov 2, 2023
Closes gh-16261.

gh-16261 reported that documentation headings currently have inconsistent capitalization schemes and should be standardized.
@InessaPawson InessaPawson removed the sprintable Issue fits the time-frame and setting of a sprint label Nov 2, 2023
seberg pushed a commit that referenced this issue Nov 11, 2023
More toward gh-16261.

gh-16261 reported that documentation headings currently have inconsistent capitalization schemes and should be standardized. gh-25016 fixed this for rst files except release notes and NEPS. This PR adjusts the NEPs.

The case of 'numpy', 'blas', 'scipy', 'python', 'lapack', 'fortran', 'api', 'pypi', 'cpu', 'abi', 'pr', 'github', 'ssh', 'git', 'f77', 'numba', 'f2py', 'cffi', 'bitgenerator', 'simd', 'swig', 'csv', 'ascii', 'json', 'dataframe', 'ieee', 'matlab', 'pyfort', ' c ', and 'nep' are unchanged. (Perhaps it would be a good idea to check the capitalization of some of these words throughout the documentation, but that is a different issue.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
0