Skip to content

Commit 9186ec3

Browse files
author
Matt Carey
committed
fix: clean up docs
1 parent 235b5e3 commit 9186ec3

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
# Getting Started with StackOne AI
2+
# Getting Started
33
44
StackOne AI provides a unified interface for accessing various SaaS tools through AI-friendly APIs.
55

mkdocs.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ theme:
1010
palette:
1111
- media: "(prefers-color-scheme: light)"
1212
scheme: default
13-
primary: indigo
14-
accent: indigo
13+
primary: black
14+
accent: teal
1515
toggle:
1616
icon: material/brightness-7
1717
name: Switch to dark mode
1818
- media: "(prefers-color-scheme: dark)"
1919
scheme: slate
20-
primary: indigo
21-
accent: indigo
20+
primary: teal
21+
accent: black
2222
toggle:
2323
icon: material/brightness-4
2424
name: Switch to light mode
@@ -43,7 +43,7 @@ markdown_extensions:
4343
- md_in_html
4444

4545
nav:
46-
- Home: getting-started.md
46+
- Home: index.md
4747
- Examples:
4848
- Basic Tool Usage: basic-tool-usage.md
4949
- Error Handling: error-handling.md

scripts/build_docs.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ def convert_file_to_markdown(py_file: Path) -> str:
1010
content = py_file.read_text()
1111

1212
# Add title from filename
13-
title = py_file.stem.replace("_", " ").title()
13+
if py_file.stem == "index":
14+
title = "StackOne AI SDK"
15+
else:
16+
title = py_file.stem.replace("_", " ").title()
1417
output = [f"# {title}\n"]
1518

1619
# Find all docstrings and their positions

0 commit comments

Comments
 (0)