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

Clean up doc/dev documentation files #6195

Merged
merged 6 commits into from
Nov 5, 2024

Conversation

sam-k
Copy link
Contributor

@sam-k sam-k commented Oct 24, 2024

Summary

Cleans up miscellaneous typos, grammatical errors, style inconsistencies, etc. in documentation. This will improve readability for those accessing and referencing the docs, especially for new contributors.

There doesn't appear to be a formatter-enforced line length, so this PR uses 80 characters as that seems to be the loose consensus across other Markdown files in this directory. For stylistic choices like list indents or Oxford commas, this PR makes no decision and preserves existing usage. In general, this PR always favors consistency with existing choices over any standardization of style.

For now, I've touched only the doc/dev Markdown files. I can clean up the Markdown files for other docs as well in the future.

@sam-k sam-k requested a review from a team as a code owner October 24, 2024 21:22
Comment on lines -126 to +132
9. getter and setters
8. `private`/package methods
10. `private` enums (avoid `public`)
11. interfaces
12. `private static` classes (avoid `public`)
13. instance classes (avoid)
9. Getter and setters
10. `private`/package methods
11. `private` enums (avoid `public`)
12. Interfaces
13. `private static` classes (avoid `public`)
14. Instance classes (avoid)
Copy link
Member

Choose a reason for hiding this comment

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

Looks like when I applied #6125 (comment), it somehow messed up the order numbers.

@optionsome
Copy link
Member

Thanks a lot for reading through the documentation and fixing all sorts of mistakes. I added a few comments after reading your suggestions.

@abyrd abyrd self-assigned this Oct 29, 2024
optionsome
optionsome previously approved these changes Oct 29, 2024
Copy link

codecov bot commented Oct 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.92%. Comparing base (953e4a4) to head (cb73bff).
Report is 102 commits behind head on dev-2.x.

Additional details and impacted files
@@              Coverage Diff              @@
##             dev-2.x    #6195      +/-   ##
=============================================
+ Coverage      69.91%   69.92%   +0.01%     
- Complexity     17727    17732       +5     
=============================================
  Files           1998     2000       +2     
  Lines          75452    75487      +35     
  Branches        7723     7727       +4     
=============================================
+ Hits           52751    52788      +37     
+ Misses         20022    20015       -7     
- Partials        2679     2684       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@abyrd abyrd left a comment

Choose a reason for hiding this comment

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

Looks good overall. Thanks for taking the time to fix all these details, it makes the documentation easier to read. I just had a few concerns about the use of em-dashes. I think we should probably just not use them at all in the documentation for clarity.

@leonardehrenfried leonardehrenfried merged commit c6b7ef9 into opentripplanner:dev-2.x Nov 5, 2024
5 checks passed
@sam-k sam-k deleted the docs-dev branch November 5, 2024 21:31
@t2gran t2gran added this to the 2.7 (next release) milestone Jan 29, 2025
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.

5 participants