Skip to content

Commit da1a739

Browse files
authored
website: use new highlight class (#1920)
* highlight * not here
1 parent 26859fc commit da1a739

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

opendbc/car/docs_definitions.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -381,15 +381,15 @@ def get_detail_sentence(self, CP):
381381
sentence_builder += " This car may not be able to take tight turns on its own."
382382

383383
# experimental mode
384-
exp_link = "<a href='https://blog.comma.ai/090release/#experimental-mode' target='_blank' class='link-light-new-regular-text'>Experimental mode</a>"
384+
exp_link = "<a href='https://blog.comma.ai/090release/#experimental-mode' target='_blank' class='highlight'>Experimental mode</a>"
385385
if CP.openpilotLongitudinalControl and not CP.experimentalLongitudinalAvailable:
386386
sentence_builder += f" Traffic light and stop sign handling is also available in {exp_link}."
387387

388388
return sentence_builder.format(car_model=f"{self.make} {self.model}", alc=alc, acc=acc)
389389

390390
else:
391391
if CP.carFingerprint == "COMMA_BODY":
392-
return "The body is a robotics dev kit that can run openpilot. <a href='https://www.commabody.com'>Learn more.</a>"
392+
return "The body is a robotics dev kit that can run openpilot. <a href='https://www.commabody.com' target='_blank' class='highlight'>Learn more.</a>"
393393
else:
394394
raise Exception(f"This notCar does not have a detail sentence: {CP.carFingerprint}")
395395

0 commit comments

Comments
 (0)