Skip to content

Commit c6cb19f

Browse files
committed
📝 where should the caption come from?
1 parent ba55251 commit c6cb19f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/vuegen/config_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def _create_component_config_fromfile(self, file_path: Path) -> Dict[str, str]:
6969
file_path.resolve().as_posix()
7070
) # ! needs to be posix for all OS support
7171
component_config["description"] = ""
72-
component_config["caption"] = ""
72+
component_config["caption"] = "" # ? It is not populated here
7373

7474
# Infer component config
7575
if file_ext in [

src/vuegen/quarto_reportview.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -697,6 +697,7 @@ def _generate_dataframe_content(
697697
)
698698
raise
699699
# Add caption if available
700+
# ? Where should this come from?
700701
if dataframe.caption:
701702
dataframe_content.append(f">{dataframe.caption}\n")
702703

0 commit comments

Comments
 (0)