Skip to content

Commit ad756d9

Browse files
committed
feat: prepare v2 for website docs integration
I'm removing all the learn/*.mdx files because they are pretty outdated and have broken links. I'll reference them when re-writing them to reflect the finalized interface.
1 parent c3b839b commit ad756d9

File tree

14 files changed

+112
-2492
lines changed

14 files changed

+112
-2492
lines changed

docs/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
node_modules
22
dist
33
.docs-content
4+
.build-cache

docs/bun.lock

Lines changed: 0 additions & 1259 deletions
This file was deleted.

docs/content/_meta.json

Lines changed: 0 additions & 44 deletions
This file was deleted.

docs/content/_meta.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import type { ProductSpec } from "@/src/lib/content/spec";
2+
3+
const docsSection = {
4+
label: "Docs",
5+
slug: "index",
6+
weight: 2,
7+
children: [
8+
{
9+
slug: "index",
10+
label: "Welcome",
11+
},
12+
{
13+
slug: "examples",
14+
label: "Examples (For LLMs)",
15+
},
16+
],
17+
};
18+
19+
const mirascopeV2Spec: ProductSpec = {
20+
product: "mirascope-v2",
21+
sections: [docsSection],
22+
};
23+
24+
export default mirascopeV2Spec;

docs/content/examples.mdx

Lines changed: 1 addition & 125 deletions
Original file line numberDiff line numberDiff line change
@@ -6,132 +6,8 @@ description: Unified doc with diverse examples, intended as a primer for LLMs on
66
# Mirascope: Progressive Examples
77

88
Progressive examples of Mirascope: LLM Abstractions that Aren't Obstructions.
9-
These are intended to give LLMs an extensive primer on Mirascope's interface.
9+
These are intended to give LLMs a primer on Mirascope's interface.
1010

1111
## `sazed/sazed.py`
1212

1313
<CodeExample file="examples/sazed/sazed.py" />
14-
15-
## `sazed/sazed_async.py`
16-
17-
<CodeExample file="examples/sazed/sazed_async.py" />
18-
19-
## `sazed/sazed_stream.py`
20-
21-
<CodeExample file="examples/sazed/sazed_stream.py" />
22-
23-
## `sazed/sazed_async_stream.py`
24-
25-
<CodeExample file="examples/sazed/sazed_async_stream.py" />
26-
27-
## `sazed/sazed_tools.py`
28-
29-
<CodeExample file="examples/sazed/sazed_tools.py" />
30-
31-
## `sazed/sazed_async_tools.py`
32-
33-
<CodeExample file="examples/sazed/sazed_async_tools.py" />
34-
35-
## `sazed/sazed_stream_tools.py`
36-
37-
<CodeExample file="examples/sazed/sazed_stream_tools.py" />
38-
39-
## `sazed/sazed_async_stream_tools.py`
40-
41-
<CodeExample file="examples/sazed/sazed_async_stream_tools.py" />
42-
43-
## `sazed/sazed_structured.py`
44-
45-
<CodeExample file="examples/sazed/sazed_structured.py" />
46-
47-
## `sazed/sazed_async_structured.py`
48-
49-
<CodeExample file="examples/sazed/sazed_async_structured.py" />
50-
51-
## `sazed/sazed_stream_structured.py`
52-
53-
<CodeExample file="examples/sazed/sazed_stream_structured.py" />
54-
55-
## `sazed/sazed_async_stream_structured.py`
56-
57-
<CodeExample file="examples/sazed/sazed_async_stream_structured.py" />
58-
59-
## `sazed/sazed_tools_structured.py`
60-
61-
<CodeExample file="examples/sazed/sazed_tools_structured.py" />
62-
63-
## `sazed/sazed_async_tools_structured.py`
64-
65-
<CodeExample file="examples/sazed/sazed_async_tools_structured.py" />
66-
67-
## `sazed/sazed_stream_tools_structured.py`
68-
69-
<CodeExample file="examples/sazed/sazed_stream_tools_structured.py" />
70-
71-
## `sazed/sazed_async_stream_tools_structured.py`
72-
73-
<CodeExample file="examples/sazed/sazed_async_stream_tools_structured.py" />
74-
75-
## `sazed/sazed_context.py`
76-
77-
<CodeExample file="examples/sazed/sazed_context.py" />
78-
79-
## `sazed/sazed_async_context.py`
80-
81-
<CodeExample file="examples/sazed/sazed_async_context.py" />
82-
83-
## `sazed/sazed_stream_context.py`
84-
85-
<CodeExample file="examples/sazed/sazed_stream_context.py" />
86-
87-
## `sazed/sazed_async_stream_context.py`
88-
89-
<CodeExample file="examples/sazed/sazed_async_stream_context.py" />
90-
91-
## `sazed/sazed_tools_context.py`
92-
93-
<CodeExample file="examples/sazed/sazed_tools_context.py" />
94-
95-
## `sazed/sazed_async_tools_context.py`
96-
97-
<CodeExample file="examples/sazed/sazed_async_tools_context.py" />
98-
99-
## `sazed/sazed_stream_tools_context.py`
100-
101-
<CodeExample file="examples/sazed/sazed_stream_tools_context.py" />
102-
103-
## `sazed/sazed_async_stream_tools_context.py`
104-
105-
<CodeExample file="examples/sazed/sazed_async_stream_tools_context.py" />
106-
107-
## `sazed/sazed_context_structured.py`
108-
109-
<CodeExample file="examples/sazed/sazed_context_structured.py" />
110-
111-
## `sazed/sazed_async_context_structured.py`
112-
113-
<CodeExample file="examples/sazed/sazed_async_context_structured.py" />
114-
115-
## `sazed/sazed_stream_context_structured.py`
116-
117-
<CodeExample file="examples/sazed/sazed_stream_context_structured.py" />
118-
119-
## `sazed/sazed_async_stream_context_structured.py`
120-
121-
<CodeExample file="examples/sazed/sazed_async_stream_context_structured.py" />
122-
123-
## `sazed/sazed_tools_context_structured.py`
124-
125-
<CodeExample file="examples/sazed/sazed_tools_context_structured.py" />
126-
127-
## `sazed/sazed_async_tools_context_structured.py`
128-
129-
<CodeExample file="examples/sazed/sazed_async_tools_context_structured.py" />
130-
131-
## `sazed/sazed_stream_tools_context_structured.py`
132-
133-
<CodeExample file="examples/sazed/sazed_stream_tools_context_structured.py" />
134-
135-
## `sazed/sazed_async_stream_tools_context_structured.py`
136-
137-
<CodeExample file="examples/sazed/sazed_async_stream_tools_context_structured.py" />

0 commit comments

Comments
 (0)