mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-08 23:22:04 +08:00
car docs: docs-only footnote flag (#26335)
docs-only footnotes old-commit-hash: 735af656a034ea960ece8e346227225adfd6d4b2
This commit is contained in:
@@ -68,14 +68,14 @@ class Harness(Enum):
|
||||
none = "None"
|
||||
|
||||
|
||||
CarFootnote = namedtuple("CarFootnote", ["text", "column"], defaults=[None])
|
||||
CarFootnote = namedtuple("CarFootnote", ["text", "column", "docs_only"], defaults=(None, False))
|
||||
|
||||
|
||||
class CommonFootnote(Enum):
|
||||
EXP_LONG_AVAIL = CarFootnote(
|
||||
"Experimental openpilot longitudinal control is available behind a toggle; the toggle is only available in non-release branches such as `master-ci`. " +
|
||||
"Using openpilot longitudinal may disable Automatic Emergency Braking (AEB).",
|
||||
Column.LONGITUDINAL)
|
||||
Column.LONGITUDINAL, docs_only=True)
|
||||
|
||||
|
||||
def get_footnotes(footnotes: List[Enum], column: Column) -> List[Enum]:
|
||||
|
||||
Reference in New Issue
Block a user