mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 10:03:55 +08:00
Car docs diff bot: auto-generate column header (#25622)
* Fix bot
* test
* Revert "test"
This reverts commit ba4a67cd8c88f8b7e082fb1fad5a1e10b51012ab.
old-commit-hash: 61c30a95cb
This commit is contained in:
@@ -10,7 +10,7 @@ from selfdrive.car.docs_definitions import Column
|
||||
FOOTNOTE_TAG = "<sup>{}</sup>"
|
||||
STAR_ICON = '<a href="##"><img valign="top" src="https://raw.githubusercontent.com/commaai/openpilot/master/docs/assets/icon-star-{}.svg" width="22" /></a>'
|
||||
COLUMNS = "|" + "|".join([column.value for column in Column]) + "|"
|
||||
COLUMN_HEADER = "|---|---|---|:---:|:---:|:---:|:---:|"
|
||||
COLUMN_HEADER = "|---|---|---|{}|".format("|".join([":---:"] * (len(Column) - 3)))
|
||||
ARROW_SYMBOL = "➡️"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user