Skip to content

Commit a49159b

Browse files
committed
Update docs
1 parent 1d71213 commit a49159b

File tree

9 files changed

+40
-61
lines changed

9 files changed

+40
-61
lines changed

docs/about/changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
---
99

10-
## [0.1.0] - 2024-11-21
10+
## [0.1.0] - 2025-11-21
1111

1212
### Added
1313

docs/about/license.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ DSPy Code is released under the **MIT License**.
66

77
## MIT License
88

9-
Copyright (c) 2024 Superagentic AI
9+
Copyright (c) 2025 Superagentic AI
1010

1111
Permission is hereby granted, free of charge, to any person obtaining a copy
1212
of this software and associated documentation files (the "Software"), to deal
@@ -80,6 +80,6 @@ For license questions, please contact:
8080

8181
---
8282

83-
**Copyright © 2024 Superagentic AI. All rights reserved.**
83+
**Copyright © 2025 Superagentic AI. All rights reserved.**
8484

8585
*DSPy Code is built by [Superagentic AI](https://super-agentic.ai) - The Home of Agentic AI*

docs/guide/creating-gold-data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ Add metadata file:
718718
```yaml
719719
# data/sentiment_metadata.yaml
720720
dataset: sentiment_v3
721-
created: 2024-01-15
721+
created: 2025-01-15
722722
total_examples: 150
723723
source: AI-generated + manual review + user feedback
724724
distribution:

docs/guide/interactive-mode.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -411,18 +411,18 @@ See all saved sessions:
411411
Saved Sessions:
412412
413413
1. my-rag-project
414-
Created: 2024-01-15 14:30
415-
Last modified: 2024-01-15 16:45
414+
Created: 2025-01-15 14:30
415+
Last modified: 2025-01-15 16:45
416416
Size: 45 KB
417417
418418
2. sentiment-analyzer
419-
Created: 2024-01-14 10:20
420-
Last modified: 2024-01-14 12:30
419+
Created: 2025-01-14 10:20
420+
Last modified: 2025-01-14 12:30
421421
Size: 23 KB
422422
423423
3. email-classifier
424-
Created: 2024-01-13 09:15
425-
Last modified: 2024-01-13 11:00
424+
Created: 2025-01-13 09:15
425+
Last modified: 2025-01-13 11:00
426426
Size: 31 KB
427427
```
428428

docs/guide/project-management.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ Active configuration for your project:
176176
# Project Information
177177
project_name: customer-support-ai
178178
dspy_version: "3.0.4"
179-
created_at: "2024-01-15T10:30:00"
179+
created_at: "2025-01-15T10:30:00"
180180

181181
# Model Configuration
182182
models:
@@ -645,7 +645,7 @@ Project Context:
645645
646646
Name: customer-support-ai
647647
DSPy Version: 3.0.4
648-
Created: 2024-01-15
648+
Created: 2025-01-15
649649
650650
Components:
651651
- 5 Signatures

docs/reference/commands.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Connect to a language model for code generation and execution.
8484
```
8585
/connect ollama llama3.1:8b
8686
/connect openai gpt-4o
87-
/connect anthropic claude-3-5-sonnet-20241022
87+
/connect anthropic claude-3-5-sonnet-20251022
8888
/connect gemini gemini-pro
8989
```
9090

docs/reference/configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ models:
3535

3636
- name: anthropic-claude
3737
type: anthropic
38-
model: claude-3-5-sonnet-20241022
38+
model: claude-3-5-sonnet-20251022
3939
api_key: ${ANTHROPIC_API_KEY}
4040

4141
mcp_servers:
@@ -152,7 +152,7 @@ Each provider has the following structure:
152152
```yaml
153153
- name: claude
154154
type: anthropic
155-
model: claude-3-5-sonnet-20241022
155+
model: claude-3-5-sonnet-20251022
156156
api_key: ${ANTHROPIC_API_KEY}
157157
```
158158

docs/stylesheets/extra.css

Lines changed: 12 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,8 @@
194194
margin-left: 0.4rem;
195195
}
196196

197-
/* Theme Toggle Button - Single toggle icon that switches between dark/light */
198-
/* Material creates one button that changes icon based on current theme */
199-
.md-header__button[for="__palette"],
200-
.md-header__button[for="__palette_1"],
201-
.md-header__button[for="__palette_2"] {
197+
/* Theme Toggle Button - Visible and styled */
198+
.md-header__button[for^="__palette"] {
202199
display: flex !important;
203200
align-items: center !important;
204201
justify-content: center !important;
@@ -208,37 +205,23 @@
208205
margin: 0 0.2rem !important;
209206
border-radius: 0.25rem !important;
210207
transition: all 0.2s ease !important;
208+
visibility: visible !important;
209+
opacity: 1 !important;
211210
}
212211

213-
/* Hide ALL duplicate theme toggle buttons - only show the FIRST one */
214-
.md-header__button[for="__palette"]:not(:first-of-type),
215-
.md-header__button[for="__palette_1"]:not(:first-of-type),
216-
.md-header__button[for="__palette_2"],
217-
.md-header__inner > .md-header__button[for="__palette"]:not(:first-of-type),
218-
.md-header__inner > .md-header__button[for="__palette_1"]:not(:first-of-type),
219-
.md-header__button[for="__palette"] ~ .md-header__button[for="__palette"],
220-
.md-header__button[for="__palette"] ~ .md-header__button[for="__palette_1"],
221-
.md-header__button[for="__palette"] ~ .md-header__button[for="__palette_2"] {
222-
display: none !important;
223-
visibility: hidden !important;
224-
opacity: 0 !important;
225-
width: 0 !important;
226-
height: 0 !important;
227-
padding: 0 !important;
228-
margin: 0 !important;
229-
}
230-
231-
/* Ensure only ONE theme toggle is visible in the header */
232-
.md-header__inner .md-header__button[for^="__palette"]:nth-of-type(n+2) {
233-
display: none !important;
212+
/* Show ONLY the first theme toggle button - hide all others */
213+
.md-header__button[for^="__palette"] {
214+
display: flex !important;
215+
visibility: visible !important;
216+
opacity: 1 !important;
234217
}
235218

236-
/* Count all palette buttons and hide all but first */
237-
.md-header__inner .md-header__button[for^="__palette"]:nth-child(n+2) {
219+
/* Hide the second palette toggle (Material creates one per palette) */
220+
.md-header__button[for="__palette_1"] {
238221
display: none !important;
239222
}
240223

241-
/* Hide theme toggle in any other location (drawer, sidebar, etc.) */
224+
/* Hide theme toggle in drawer/sidebar only (not in header) */
242225
.md-drawer .md-header__button[for^="__palette"],
243226
.md-sidebar .md-header__button[for^="__palette"],
244227
.md-nav .md-header__button[for^="__palette"] {

mkdocs.yml

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,28 +13,24 @@ theme:
1313
favicon: resource/dspy-code.png
1414
palette:
1515
# Light mode
16-
- media: "(prefers-color-scheme: light)"
17-
scheme: default
16+
- scheme: default
1817
primary: deep purple
1918
accent: indigo
2019
toggle:
2120
icon: material/brightness-7
2221
name: Switch to dark mode
23-
background: white
2422
# Dark mode
25-
- media: "(prefers-color-scheme: dark)"
26-
scheme: slate
23+
- scheme: slate
2724
primary: deep purple
2825
accent: indigo
2926
toggle:
3027
icon: material/brightness-4
3128
name: Switch to light mode
32-
background: black
33-
29+
3430
font:
3531
text: Roboto
3632
code: Roboto Mono
37-
33+
3834
features:
3935
- navigation.instant
4036
- navigation.tracking
@@ -46,7 +42,7 @@ theme:
4642
- search.highlight
4743
- content.code.copy
4844
- content.code.annotate
49-
45+
5046
icon:
5147
repo: fontawesome/brands/github
5248
admonition:
@@ -99,13 +95,13 @@ extra:
9995
link: https://github.com/superagentic-ai/dspy-code
10096
- icon: fontawesome/brands/python
10197
link: https://pypi.org/project/dspy-code/
102-
98+
10399
generator: false
104-
100+
105101
version:
106102
provider: mike
107103

108-
copyright: Copyright © 2024 Superagentic AI. All rights reserved.
104+
copyright: Copyright © 2025 Superagentic AI. All rights reserved.
109105

110106
nav:
111107
- 🏠 Home: index.md
@@ -114,7 +110,7 @@ nav:
114110
- ⚡ Quick Start: getting-started/quick-start.md
115111
- 🎯 First Program: getting-started/first-program.md
116112
- 💡 Understanding DSPy Code: getting-started/understanding.md
117-
113+
118114
- 📚 User Guide:
119115
- 💬 Interactive Mode: guide/interactive-mode.md
120116
- 🗣️ Natural Language Commands: guide/natural-language-commands.md
@@ -130,26 +126,26 @@ nav:
130126
- 🎯 Optimization: guide/optimization.md
131127
- 📁 Project Management: guide/project-management.md
132128
- 📊 Creating Gold Data: guide/creating-gold-data.md
133-
129+
134130
- 🎓 Tutorials:
135131
- 😊 Build a Sentiment Analyzer: tutorials/sentiment-analyzer.md
136132
- 🔍 Create a RAG System: tutorials/rag-system.md
137133
- ❓ Question Answering: tutorials/question-answering.md
138134
- 🧬 Optimize with GEPA: tutorials/gepa-optimization.md
139-
135+
140136
- 📖 Reference:
141137
- 📝 Command Reference: reference/commands.md
142138
- ⚙️ Configuration: reference/configuration.md
143139
- 📋 Templates: reference/templates.md
144140
- 🔧 Troubleshooting: reference/troubleshooting.md
145141
- ❓ FAQ: reference/faq.md
146-
142+
147143
- 🚀 Advanced:
148144
- 🔗 MCP Integration: advanced/mcp-integration.md
149145
- 🧩 Custom Modules: advanced/custom-modules.md
150146
- 🚢 Deployment: advanced/deployment.md
151147
- 🔄 CI/CD Integration: advanced/cicd.md
152-
148+
153149
- ℹ️ About:
154150
- 📖 About DSPy Code: about/index.md
155151
- 💡 Why DSPy Code?: about/why-dspy-code.md

0 commit comments

Comments
 (0)