-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
docs: glossary, keyword matching and tool-tips #34155
Conversation
Creating a draft since there are a few issues I need to fix. And I want to review the whole doc. |
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.
Thanks for contributing to openpilot! In order for us to review your PR as quickly as possible, check the following:
- Convert your PR to a draft unless it's ready to review
- Read the contributing docs
- Before marking as "ready for review", ensure:
- the goal is clearly stated in the description
- all the tests are passing
- the change is something we merge
- include a route or your device' dongle ID if relevant
@maxime-desroches is it ok if I add some flags for the linter to ignore the problem code? Or I'm open to other suggestions. See |
No we have to fix the code. ruff offers nice descriptions for each errors: |
@maxime-desroches That was very helpful, thank you. Code fixed, latest static analysis run |
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.
Nice work! TODOs
- split out anything that's not related to the glossary infra
- can you also split out the new terms added to the glossary?
@@ -18,7 +18,7 @@ concurrency: | |||
jobs: | |||
docs: | |||
name: build docs | |||
runs-on: ubuntu-latest | |||
runs-on: ubuntu-24.04 |
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.
revert this
@@ -14,23 +14,24 @@ Development is coordinated through [Discord](https://discord.comma.ai) and GitHu | |||
## What contributions are we looking for? | |||
|
|||
**openpilot's priorities are [safety](SAFETY.md), stability, quality, and features, in that order.** | |||
openpilot is part of comma's mission to *solve self-driving cars while delivering shippable intermediaries*, and all development is towards that goal. | |||
openpilot is part of comma's mission to *solve self-driving cars while delivering shippable intermediaries*, and all development is towards that goal. |
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.
this should be its own PR
@@ -2,4 +2,4 @@ | |||
|
|||
A brand port is a port of openpilot to a substantially new car brand or platform within a brand. | |||
|
|||
Here's an example of one: https://github.com/commaai/openpilot/pull/23331. | |||
Here's an example of one: [PR-23331](https://github.com/commaai/openpilot/pull/23331). |
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.
same, this PR shouldn't change any content
import re | ||
import tomllib | ||
|
||
with open("docs/glossary.toml", "rb") as f: |
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.
don't do this at import time
@@ -31,7 +36,7 @@ nav: | |||
- Contributing: | |||
- Roadmap: contributing/roadmap.md | |||
#- Architecture: contributing/architecture.md | |||
- Contributing Guide →: https://github.com/commaai/openpilot/blob/master/docs/CONTRIBUTING.md | |||
- Contributing Guide: CONTRIBUTING.md |
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.
split this out
Just to make sure I understand correctly: 1 PR for infra only 1 PR for the terms additions. 1 PR for the changes in the content files (markdowns). Does this sound correct? |
Yeah, and potentially even split out the content changes per-page. |
@adeebshihadeh , going to close this PR and submit the individuals just to start clean. |
Closes #33117
Replaced by #34231