car docs: keep similar naming (#28262)

better name
pull/28265/head
Maxime Desroches 2 years ago committed by GitHub
parent ea1e0a16dd
commit 715d7f9e3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      selfdrive/car/docs.py

@ -61,8 +61,8 @@ def generate_cars_md(all_car_info: List[CarInfo], template_fn: str) -> str:
template = jinja2.Template(f.read(), trim_blocks=True, lstrip_blocks=True) template = jinja2.Template(f.read(), trim_blocks=True, lstrip_blocks=True)
footnotes = [fn.value.text for fn in get_all_footnotes()] footnotes = [fn.value.text for fn in get_all_footnotes()]
cars_md: str = template.render(all_car_info=all_car_info, car_parts=CarPart, cars_md: str = template.render(all_car_info=all_car_info, CarPart=CarPart,
part_types=PartType, group_by_make=group_by_make, PartType=PartType, group_by_make=group_by_make,
footnotes=footnotes, Column=Column) footnotes=footnotes, Column=Column)
return cars_md return cars_md

Loading…
Cancel
Save