docs: doc loader feat table alignment (#22900)

This commit is contained in:
Bagatur 2024-06-14 07:25:01 -07:00 committed by GitHub
parent 984c7a9d42
commit e4279f80cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -53,7 +53,7 @@ def get_document_loader_table() -> str:
header = ["loader", "description", "lazy_loading", "native_async"] header = ["loader", "description", "lazy_loading", "native_async"]
title = ["Document Loader", "Description", "Lazy loading", "Native async support"] title = ["Document Loader", "Description", "Lazy loading", "Native async support"]
rows = [title, [":-"] + [":-:"] * (len(title) - 1)] rows = [title, [":-"] * 2 + [":-:"] * (len(title) - 2)]
for loader, feats in sorted(doc_loaders_feat_table.items()): for loader, feats in sorted(doc_loaders_feat_table.items()):
if not feats: if not feats:
continue continue