Skip to content

Commit c19a235

Browse files
authored
Merge pull request #206 from PySpur-Dev/docs/addevals
Docs/deployment
2 parents c9ba894 + aa5d4f7 commit c19a235

File tree

9 files changed

+34
-12
lines changed

9 files changed

+34
-12
lines changed

docs/essentials/deployment.mdx

Lines changed: 32 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,44 @@ PySpur makes it incredibly easy to deploy your workflows as production-ready API
1313
</Step>
1414
<Step title="Click Deploy">
1515
Click the "Deploy" button in the top navigation bar to open the deployment modal.
16-
17-
<Frame>
18-
<img src="/images/deploy-button.png" alt="Deploy Button" />
19-
</Frame>
16+
<img
17+
className="block dark:hidden"
18+
src="/images/deploy/deploy_header_light.png"
19+
alt="Deploy Modal Light Mode"
20+
/>
21+
<img
22+
className="hidden dark:block"
23+
src="/images/deploy/deploy_header_dark.png"
24+
alt="Deploy Modal Dark Mode"
25+
/>
2026
</Step>
2127
<Step title="Choose deployment options">
2228
In the modal that appears, you can configure:
2329
- **API call type**: Choose between blocking (synchronous) or non-blocking (asynchronous) calls
2430
- **Programming language**: Select your preferred language for the code example
2531

26-
<Frame>
27-
<img src="/images/deploy-modal.png" alt="Deploy Modal" />
28-
</Frame>
32+
For example, in Python:
33+
<img
34+
className="block dark:hidden"
35+
src="/images/deploy/light_deploy_python.png"
36+
alt="Deploy Modal Light Mode"
37+
/>
38+
<img
39+
className="hidden dark:block"
40+
src="/images/deploy/dark_deploy_python.png"
41+
alt="Deploy Modal Dark Mode"
42+
/>
43+
Or in TypeScript:
44+
<img
45+
className="block dark:hidden"
46+
src="/images/deploy/light_deploy_ts.png"
47+
alt="Deploy Modal Light Mode"
48+
/>
49+
<img
50+
className="hidden dark:block"
51+
src="/images/deploy/dark_deploy_ts.png"
52+
alt="Deploy Modal Dark Mode"
53+
/>
2954
</Step>
3055
<Step title="Copy the code">
3156
Copy the generated code example to integrate with your application.
189 KB
Loading
243 KB
Loading
8.08 KB
Loading
7.36 KB
Loading
187 KB
Loading
241 KB
Loading

docs/mint.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,16 +65,13 @@
6565
"group": "Chatbots",
6666
"pages": [
6767
"chatbots/concepts",
68-
"chatbots/example",
6968
"chatbots/slack"
7069
]
7170
},
7271
{
7372
"group": "RAG",
7473
"pages": [
75-
"rag/concepts",
76-
"rag/quickstart",
77-
"rag/examples"
74+
"rag/concepts"
7875
]
7976
},
8077
{

frontend/src/components/modals/DeployModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ int main() {
252252
}
253253

254254
return (
255-
<Modal isOpen={isOpen} onOpenChange={onOpenChange} size="2xl">
255+
<Modal isOpen={isOpen} onOpenChange={onOpenChange} size="full">
256256
<ModalContent>
257257
<ModalHeader>
258258
<div>API Endpoint Information</div>

0 commit comments

Comments
 (0)