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
2 changes: 1 addition & 1 deletion context7.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://context7.com/schema/context7.json",
"url": "https://context7.com/sonilo-ai/sonilo-python",
"public_key": "pk_h4BOrwVwv5CF9NJ5BIwvC",
"projectTitle": "Sonilo",
"projectTitle": "Sonilo Python SDK",
"description": "Official Python client and CLI for the Sonilo API — generate music, sound effects, and combined soundtracks from text or video.",
"excludeFolders": [
"**/dist/**",
Expand Down
4 changes: 3 additions & 1 deletion sonilo-cli/tests/test_context7.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

def test_context7_json_is_valid_and_complete():
data = json.loads((ROOT / "context7.json").read_text())
assert data["projectTitle"] == "Sonilo"
# Names the language: sonilo-js publishes to Context7 too, and a title of
# just "Sonilo" on both left the two indistinguishable in search.
assert data["projectTitle"] == "Sonilo Python SDK"
assert data["$schema"] == "https://context7.com/schema/context7.json"
assert "**/__pycache__/**" in data["excludeFolders"]
assert isinstance(data["rules"], list) and len(data["rules"]) >= 5
Expand Down
Loading