Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# About CrateDB changelog

## Unreleased
- Bundle: Added outline in Markdown format, which got lost previously

## v0.0.4 - 2025-05-16
- Outline: `cratedb-about outline` now understands `--url` option to use
Expand Down
3 changes: 2 additions & 1 deletion src/cratedb_about/bundle/llmstxt.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@ def run(self):
self.copy_readme()
self.copy_sources()

outline = CrateDbKnowledgeOutline.load(self.outline_url)
Path(self.outdir / "outline.md").write_text(outline.to_markdown())
# TODO: Explore how to optimize this procedure that both steps do not need
# to acquire and process data redundantly.
outline = CrateDbKnowledgeOutline.load(self.outline_url)
Path(self.outdir / "llms.txt").write_text(outline.to_llms_txt())
Path(self.outdir / "llms-full.txt").write_text(outline.to_llms_txt(optional=True))

Expand Down
2 changes: 2 additions & 0 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ def test_cli_bundle_success(caplog, tmp_path):
# Verify that the expected output files have been created.
assert (tmp_path / "readme.md").exists()
assert (tmp_path / "readme.html").exists()
assert (tmp_path / "outline.yaml").exists()
assert (tmp_path / "outline.md").exists()
assert (tmp_path / "llms.txt").exists()
assert (tmp_path / "llms-full.txt").exists()

Expand Down