diff --git a/selfdrive/car/docs.py b/selfdrive/car/docs.py index eb2f1923c8..26f8949e8f 100755 --- a/selfdrive/car/docs.py +++ b/selfdrive/car/docs.py @@ -58,7 +58,7 @@ def generate_cars_md(all_car_info: List[CarInfo], template_fn: str, only_tier_co for c in hide_cols: del car.row[c] - footnotes = [fn.value.text for fn in ALL_FOOTNOTES] + footnotes = [fn.value.text for fn in ALL_FOOTNOTES if fn.value.column in cols] cars_md: str = template.render(all_car_info=all_car_info, footnotes=footnotes, Star=Star, Column=cols, star_descriptions=STAR_DESCRIPTIONS) return cars_md