Add a direct link to the big table (#8850)

This commit is contained in:
Sylvain Gugger
2020-11-30 10:29:23 -05:00
committed by GitHub
parent cc983cd9cd
commit 75f8100fc7
3 changed files with 5 additions and 1 deletions

View File

@@ -282,7 +282,7 @@ def check_model_list_copy(overwrite=False, max_per_line=119):
rst_list, start_index, end_index, lines = _find_text_in_file(
filename=os.path.join(PATH_TO_DOCS, "index.rst"),
start_prompt=" This list is updated automatically from the README",
end_prompt="The table below represents the current support",
end_prompt=".. _bigtable:",
)
md_list = get_model_list()
converted_list = convert_to_rst(md_list, max_per_line=max_per_line)