Skip to content
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

Fixed grammatical errors at multiple points in English documentation #36229

Merged
merged 4 commits into from
Dec 26, 2023

Conversation

MedantSharan
Copy link
Contributor

@MedantSharan MedantSharan commented Sep 9, 2023

There were various grammatical errors, mostly pertaining to the use of English articles "a" and "an" with corresponding nouns, all of which have now exhaustively been fixed.

This also fixes Issue #35642.
This fix makes the documentation in English more readable and improves developer experience. All the changes for article-noun agreement are in accordance to American English standards.
I used VSCode's regular expression search to find out all the instances of erroneous article usage and changed them manually.

Some examples are given below.

src\sage\schemes\toric\library.py: * This is an example of an non-polyhedral fan.
src\sage\schemes\hyperelliptic_curves\jacobian_generic.py: An more extended example, demonstrating arithmetic... src\sage\rings\number_field\S_unit_solver.py: # Note that l is the an lower bound on the square of the magnitude...

The lines above have respectively been changed to:

src\sage\schemes\toric\library.py: * This is an example of a non-polyhedral fan.
src\sage\schemes\hyperelliptic_curves\jacobian_generic.py: A more extended example, demonstrating arithmetic... src\sage\rings\number_field\S_unit_solver.py: # Note that l is the lower bound on the square of the magnitude...

All the changes are only in the documentation/comments at various places in the project. There were some instances where "an" had to be changed to "and" or some other word, but they were very few. Most required changing it to "a" or completely removing the article.

📝 Checklist

  • The title is concise, informative, and self-explanatory.
  • The description explains in detail what this PR is about.
  • I have linked a relevant issue or discussion.
  • I have created tests covering the changes.
  • I have updated the documentation accordingly.

⌛ Dependencies

@jhpalmieri
Copy link
Member

Other than the comments from @mkoeppe this looks good. It may be hard to get it merged — it touches so many files that there are likely to be merge conflicts. I would suggest for similar changes in the future, break it up into small pieces, with each piece handling (for instance) 5-10 files.

Copy link

Documentation preview for this PR (built with commit e81a91c; changes) is ready! 🎉

vbraun pushed a commit to vbraun/sage that referenced this pull request Dec 21, 2023
sagemathgh-36229: Fixed grammatical errors at multiple points in English documentation
    
There were various grammatical errors, mostly pertaining to the use of
English articles "a" and "an" with corresponding nouns, all of which
have now exhaustively been fixed.

This also fixes Issue sagemath#35642.
This fix makes the documentation in English more readable and improves
developer experience. All the changes for article-noun agreement are in
accordance to American English standards.
I used VSCode's regular expression search to find out all the instances
of erroneous article usage and changed them manually.

Some examples are given below.

`src\sage\schemes\toric\library.py:          * This is an example of an
non-polyhedral fan.`
`src\sage\schemes\hyperelliptic_curves\jacobian_generic.py: An more
extended example, demonstrating arithmetic...
src\sage\rings\number_field\S_unit_solver.py: # Note that l is the an
lower bound on the square of the magnitude...`

The lines above have respectively been changed to:

`src\sage\schemes\toric\library.py:          * This is an example of a
non-polyhedral fan.`
`src\sage\schemes\hyperelliptic_curves\jacobian_generic.py: A more
extended example, demonstrating arithmetic...
src\sage\rings\number_field\S_unit_solver.py: # Note that l is the lower
bound on the square of the magnitude...`

All the changes are only in the documentation/comments at various places
in the project. There were some instances where "an" had to be changed
to "and" or some other word, but they were very few. Most required
changing it to "a" or completely removing the article.

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->
<!-- If your change requires a documentation PR, please link it
appropriately -->
<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
<!-- Feel free to remove irrelevant items. -->

- [x] The title is concise, informative, and self-explanatory.
- [x] The description explains in detail what this PR is about.
- [x] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [x] I have updated the documentation accordingly.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on
- sagemath#12345: short description why this is a dependency
- sagemath#34567: ...
-->

<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
    
URL: sagemath#36229
Reported by: MedantSharan
Reviewer(s): John H. Palmieri, Matthias Köppe, MedantSharan
vbraun pushed a commit to vbraun/sage that referenced this pull request Dec 22, 2023
sagemathgh-36229: Fixed grammatical errors at multiple points in English documentation
    
There were various grammatical errors, mostly pertaining to the use of
English articles "a" and "an" with corresponding nouns, all of which
have now exhaustively been fixed.

This also fixes Issue sagemath#35642.
This fix makes the documentation in English more readable and improves
developer experience. All the changes for article-noun agreement are in
accordance to American English standards.
I used VSCode's regular expression search to find out all the instances
of erroneous article usage and changed them manually.

Some examples are given below.

`src\sage\schemes\toric\library.py:          * This is an example of an
non-polyhedral fan.`
`src\sage\schemes\hyperelliptic_curves\jacobian_generic.py: An more
extended example, demonstrating arithmetic...
src\sage\rings\number_field\S_unit_solver.py: # Note that l is the an
lower bound on the square of the magnitude...`

The lines above have respectively been changed to:

`src\sage\schemes\toric\library.py:          * This is an example of a
non-polyhedral fan.`
`src\sage\schemes\hyperelliptic_curves\jacobian_generic.py: A more
extended example, demonstrating arithmetic...
src\sage\rings\number_field\S_unit_solver.py: # Note that l is the lower
bound on the square of the magnitude...`

All the changes are only in the documentation/comments at various places
in the project. There were some instances where "an" had to be changed
to "and" or some other word, but they were very few. Most required
changing it to "a" or completely removing the article.

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->
<!-- If your change requires a documentation PR, please link it
appropriately -->
<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
<!-- Feel free to remove irrelevant items. -->

- [x] The title is concise, informative, and self-explanatory.
- [x] The description explains in detail what this PR is about.
- [x] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [x] I have updated the documentation accordingly.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on
- sagemath#12345: short description why this is a dependency
- sagemath#34567: ...
-->

<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
    
URL: sagemath#36229
Reported by: MedantSharan
Reviewer(s): John H. Palmieri, Matthias Köppe, MedantSharan
vbraun pushed a commit to vbraun/sage that referenced this pull request Dec 23, 2023
sagemathgh-36229: Fixed grammatical errors at multiple points in English documentation
    
There were various grammatical errors, mostly pertaining to the use of
English articles "a" and "an" with corresponding nouns, all of which
have now exhaustively been fixed.

This also fixes Issue sagemath#35642.
This fix makes the documentation in English more readable and improves
developer experience. All the changes for article-noun agreement are in
accordance to American English standards.
I used VSCode's regular expression search to find out all the instances
of erroneous article usage and changed them manually.

Some examples are given below.

`src\sage\schemes\toric\library.py:          * This is an example of an
non-polyhedral fan.`
`src\sage\schemes\hyperelliptic_curves\jacobian_generic.py: An more
extended example, demonstrating arithmetic...
src\sage\rings\number_field\S_unit_solver.py: # Note that l is the an
lower bound on the square of the magnitude...`

The lines above have respectively been changed to:

`src\sage\schemes\toric\library.py:          * This is an example of a
non-polyhedral fan.`
`src\sage\schemes\hyperelliptic_curves\jacobian_generic.py: A more
extended example, demonstrating arithmetic...
src\sage\rings\number_field\S_unit_solver.py: # Note that l is the lower
bound on the square of the magnitude...`

All the changes are only in the documentation/comments at various places
in the project. There were some instances where "an" had to be changed
to "and" or some other word, but they were very few. Most required
changing it to "a" or completely removing the article.

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->
<!-- If your change requires a documentation PR, please link it
appropriately -->
<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
<!-- Feel free to remove irrelevant items. -->

- [x] The title is concise, informative, and self-explanatory.
- [x] The description explains in detail what this PR is about.
- [x] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [x] I have updated the documentation accordingly.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on
- sagemath#12345: short description why this is a dependency
- sagemath#34567: ...
-->

<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
    
URL: sagemath#36229
Reported by: MedantSharan
Reviewer(s): John H. Palmieri, Matthias Köppe, MedantSharan
vbraun pushed a commit to vbraun/sage that referenced this pull request Dec 24, 2023
sagemathgh-36229: Fixed grammatical errors at multiple points in English documentation
    
There were various grammatical errors, mostly pertaining to the use of
English articles "a" and "an" with corresponding nouns, all of which
have now exhaustively been fixed.

This also fixes Issue sagemath#35642.
This fix makes the documentation in English more readable and improves
developer experience. All the changes for article-noun agreement are in
accordance to American English standards.
I used VSCode's regular expression search to find out all the instances
of erroneous article usage and changed them manually.

Some examples are given below.

`src\sage\schemes\toric\library.py:          * This is an example of an
non-polyhedral fan.`
`src\sage\schemes\hyperelliptic_curves\jacobian_generic.py: An more
extended example, demonstrating arithmetic...
src\sage\rings\number_field\S_unit_solver.py: # Note that l is the an
lower bound on the square of the magnitude...`

The lines above have respectively been changed to:

`src\sage\schemes\toric\library.py:          * This is an example of a
non-polyhedral fan.`
`src\sage\schemes\hyperelliptic_curves\jacobian_generic.py: A more
extended example, demonstrating arithmetic...
src\sage\rings\number_field\S_unit_solver.py: # Note that l is the lower
bound on the square of the magnitude...`

All the changes are only in the documentation/comments at various places
in the project. There were some instances where "an" had to be changed
to "and" or some other word, but they were very few. Most required
changing it to "a" or completely removing the article.

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->
<!-- If your change requires a documentation PR, please link it
appropriately -->
<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
<!-- Feel free to remove irrelevant items. -->

- [x] The title is concise, informative, and self-explanatory.
- [x] The description explains in detail what this PR is about.
- [x] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [x] I have updated the documentation accordingly.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on
- sagemath#12345: short description why this is a dependency
- sagemath#34567: ...
-->

<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
    
URL: sagemath#36229
Reported by: MedantSharan
Reviewer(s): John H. Palmieri, Matthias Köppe, MedantSharan
@vbraun vbraun merged commit 5185f1f into sagemath:develop Dec 26, 2023
@mkoeppe mkoeppe added this to the sage-10.3 milestone Dec 26, 2023
@sakshi4719
Copy link

hello, has this issue been resolved completely?

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

Successfully merging this pull request may close these issues.

6 participants