Skip to content

Commit b92a5f3

Browse files
authored
Merge branch 'main' into config-docs
2 parents ee520f7 + fce1917 commit b92a5f3

File tree

102 files changed

+3559
-1112
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+3559
-1112
lines changed

.github/workflows/build_and_check.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313

1414
steps:
1515
- name: Checkout code
16-
uses: actions/checkout@v2
16+
uses: actions/checkout@v4
1717

1818
- name: Set up Node.js
19-
uses: actions/setup-node@v2
19+
uses: actions/setup-node@v5
2020
with:
21-
node-version: 18.0.0
21+
node-version: 20.0.0
2222

2323
- name: Install Dependencies
2424
run: npm install

docusaurus.config.js

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ module.exports = {
121121
items: [
122122
{
123123
label: "Integration Testing",
124-
to: "/keploy-explained/introduction",
124+
to: "server/installation",
125125
},
126126
{
127127
label: "API Testing (AI)",
@@ -184,6 +184,7 @@ module.exports = {
184184
</g>
185185
</svg></a>
186186
<a href="https://www.youtube.com/channel/UC6OTg7F4o0WkmNtSoob34lg" aria-label="YouTube"><svg class="footer__svg" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19.615 3.184c-3.604-.246-11.631-.245-15.23 0-3.897.266-4.356 2.62-4.385 8.816.029 6.185.484 8.549 4.385 8.816 3.6.245 11.626.246 15.23 0 3.897-.266 4.356-2.62 4.385-8.816-.029-6.185-.484-8.549-4.385-8.816zm-10.615 12.816v-8l8 3.993-8 4.007z"/></svg></a>
187+
<a href="https://www.instagram.com/keploy.io/" aria-label="Instagram"><svg class="footer__svg" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z"/></svg></a>
187188
<a href="https://join.slack.com/t/keploy/shared_invite/zt-357qqm9b5-PbZRVu3Yt2rJIa6ofrwWNg" aria-label="Slack"><svg class="footer__svg" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 2447.6 2452.5">
188189
<path d="m897.4 0c-135.3.1-244.8 109.9-244.7 245.2-.1 135.3 109.5 245.1 244.8 245.2h244.8v-245.1c.1-135.3-109.5-245.1-244.9-245.3.1 0 .1 0 0 0m0 654h-652.6c-135.3.1-244.9 109.9-244.8 245.2-.2 135.3 109.4 245.1 244.7 245.3h652.7c135.3-.1 244.9-109.9 244.8-245.2.1-135.4-109.5-245.2-244.8-245.3z" /><path d="m2447.6 899.2c.1-135.3-109.5-245.1-244.8-245.2-135.3.1-244.9 109.9-244.8 245.2v245.3h244.8c135.3-.1 244.9-109.9 244.8-245.3zm-652.7 0v-654c.1-135.2-109.4-245-244.7-245.2-135.3.1-244.9 109.9-244.8 245.2v654c-.2 135.3 109.4 245.1 244.7 245.3 135.3-.1 244.9-109.9 244.8-245.3z" /><path d="m1550.1 2452.5c135.3-.1 244.9-109.9 244.8-245.2.1-135.3-109.5-245.1-244.8-245.2h-244.8v245.2c-.1 135.2 109.5 245 244.8 245.2zm0-654.1h652.7c135.3-.1 244.9-109.9 244.8-245.2.2-135.3-109.4-245.1-244.7-245.3h-652.7c-135.3.1-244.9 109.9-244.8 245.2-.1 135.4 109.4 245.2 244.7 245.3z" /><path d="m0 1553.2c-.1 135.3 109.5 245.1 244.8 245.2 135.3-.1 244.9-109.9 244.8-245.2v-245.2h-244.8c-135.3.1-244.9 109.9-244.8 245.2zm652.7 0v654c-.2 135.3 109.4 245.1 244.7 245.3 135.3-.1 244.9-109.9 244.8-245.2v-653.9c.2-135.3-109.4-245.1-244.7-245.3-135.4 0-244.9 109.8-244.8 245.1 0 0 0 .1 0 0"/>
189190
</svg></a>
@@ -339,16 +340,16 @@ module.exports = {
339340
async: true,
340341
defer: true,
341342
},
342-
{
343+
/*{
343344
src: "/docs/scripts/chat.js",
344345
async: true,
345346
defer: true,
346347
},
347-
// {
348-
// src: "/scripts/fullstory.js",
349-
// async: true,
350-
// defer: true,
351-
// },
348+
{
349+
src: "/scripts/fullstory.js",
350+
async: true,
351+
defer: true,
352+
},*/
352353
],
353354
};
354355

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,11 @@
2828
"ajv-keywords": "^3.5.2",
2929
"clsx": "^2.0.0",
3030
"lint": "^0.8.19",
31+
"lucide-react": "^0.544.0",
3132
"prism-react-renderer": "^2.1.0",
3233
"react": "^18.2.0",
3334
"react-dom": "^18.2.0",
35+
"react-icons": "^5.5.0",
3436
"react-player": "^2.6.0",
3537
"remark-typescript-tools": "1.0.9",
3638
"typescript": "5",

src/components/Community.js

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -64,31 +64,33 @@ export const Community = () => {
6464
</a>
6565
</li>
6666
<li>
67-
<a href="https://lu.ma/keploy" className="flex items-start space-x-4">
67+
<a
68+
href="https://testgpt.substack.com/"
69+
className="flex items-start space-x-4"
70+
target="_blank"
71+
rel="noopener noreferrer"
72+
>
6873
<svg
69-
width="512"
70-
height="512"
71-
viewBox="0 0 512 512"
72-
className="h-12 w-12 flex-none rounded-lg text-black"
73-
fill="none"
7474
xmlns="http://www.w3.org/2000/svg"
75+
viewBox="0 0 512 512"
76+
className="h-12 w-12 flex-none"
7577
>
78+
<rect width="512" height="512" fill="white" />
79+
<rect x="96" y="128" width="320" height="42.7" fill="#FF6719" />
80+
<rect x="96" y="213.3" width="320" height="42.7" fill="#FF6719" />
7681
<path
77-
d="M384 0H128C57.3076 0 0 57.3076 0 128V384C0 454.692 57.3076 512 128 512H384C454.692 512 512 454.692 512 384V128C512 57.3076 454.692 0 384 0Z"
78-
fill="#2D8CFF"
79-
/>
80-
<path
81-
d="M402.164 342.205C408.958 343.904 414.904 340.507 418.301 335.411C420 332.863 420 328.616 420 319.274V191.027C420 181.685 420 178.288 418.301 174.89C415.753 168.096 408.958 165.548 402.164 168.096C384.327 179.986 345.257 214.808 344.408 229.247C343.728 231.795 343.728 236.041 343.728 241.986V274.26C343.728 281.055 343.728 283.603 344.408 287C345.257 293.795 347.805 299.74 351.203 303.137C361.395 310.781 395.369 341.356 403.013 341.356L402.164 342.205ZM93 197.822C93 185.082 93 178.288 95.5481 174.89C97.2468 171.493 102.343 168.096 104.891 165.548C108.288 163 114.234 163 127.823 163H237.39C269.665 163 285.803 163 298.543 169.795C307.886 176.589 318.078 182.534 324.023 195.274C330.818 208.014 330.818 224.151 330.818 256.425V314.178C330.818 326.918 330.818 333.712 328.27 337.11C326.571 340.507 321.475 343.904 318.927 346.452C315.53 349 309.584 349 295.995 349H186.429C154.153 349 138.016 349 125.275 342.205C115.932 335.411 105.74 329.466 99.7948 316.726C93 303.986 93 287.849 93 255.575V197.822Z"
82-
fill="white"
82+
d="M96 298.6h320V448L256 362.7 96 448V298.6Z"
83+
fill="#FF6719"
8384
/>
8485
</svg>
8586

8687
<div className="flex-auto">
87-
<h3 className="font-bold">Meetup</h3>
88-
<p>Join our monthly meetup and ask questions!</p>
88+
<h3 className="font-bold">Substack</h3>
89+
<p>Ideas worth reading — delivered directly to you.</p>
8990
</div>
9091
</a>
9192
</li>
93+
9294
<li>
9395
<a
9496
href="https://github.com/keploy"
@@ -270,20 +272,21 @@ export const Community = () => {
270272
</li>
271273
</ul>
272274
<p className="mt-8">
273-
We are happy to help you with your 🎤 talks, 📝 blogposts (whether on
274-
our blog or yours) or anything else you want to try. Just {/*<a*/}
275+
Want to present your case study on Keploy? Just get in touch for any
276+
resources you may need. Use the following link to
277+
{/*<a*/}
275278
{/* className="text-blue-400 hover:underline"*/}
276279
{/* href="https://keploy.io/careers"*/}
277280
{/*>*/}
278281
{/* job listings,*/}
279282
{/*</a>*/}
280283
<a
281284
className="text-blue-400 hover:underline"
282-
href="mailto:[email protected]"
285+
href="https://calendar.google.com/calendar/u/0/appointments/schedules/AcZssZ2l-psdTCNCLYAJ-Jt5ESyGP7gi1_U70ySTjtFNr0Kmx5UagNJnyzg7lNjA3NKnaP6qFfpAgcdZ"
283286
>
284-
get in touch
287+
{" "}
288+
book a slot
285289
</a>
286-
!
287290
</p>
288291
{/*TODO : Early adopters and contributors*/}
289292
</section>
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
import React from "react";
2+
import Link from "@docusaurus/Link";
3+
import {useColorMode} from "@docusaurus/theme-common";
4+
5+
export default function EnterpriseInstallReminder() {
6+
const {colorMode} = useColorMode();
7+
const isDark = colorMode === "dark";
8+
9+
const containerStyle = {
10+
padding: "1rem",
11+
border: isDark ? "1px solid #333" : "1px solid #eee",
12+
borderRadius: "10px",
13+
background: isDark ? "#23272f" : "#fff8f5",
14+
margin: "2rem 0",
15+
color: isDark ? "#fff" : "#222",
16+
boxShadow: isDark
17+
? "0 2px 10px rgba(0,0,0,0.6)"
18+
: "0 2px 6px rgba(0, 0, 0, 0.08)",
19+
};
20+
21+
return (
22+
<div style={containerStyle}>
23+
<h3 style={{marginTop: 0, color: isDark ? "#fff" : "#222"}}>
24+
Don’t have Keploy installed yet?
25+
</h3>
26+
<p style={{color: isDark ? "#ccc" : undefined}}>
27+
Before running this sample, make sure Keploy Enterprise version is
28+
installed on your system.
29+
</p>
30+
<Link
31+
to="/docs/keploy-cloud/cloud-installation/"
32+
style={{
33+
display: "inline-block",
34+
marginTop: "0.5rem",
35+
padding: "0.6rem 1rem",
36+
background: "#e67e22",
37+
color: "#fff",
38+
borderRadius: "6px",
39+
fontWeight: "bold",
40+
textDecoration: "none",
41+
}}
42+
>
43+
👉 Go to Installation Guide
44+
</Link>
45+
</div>
46+
);
47+
}

src/components/InstallReminder.js

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
import React from "react";
2+
import Link from "@docusaurus/Link";
3+
import {useColorMode} from "@docusaurus/theme-common";
4+
5+
export default function InstallReminder() {
6+
const {colorMode} = useColorMode();
7+
const isDark = colorMode === "dark";
8+
9+
const containerStyle = {
10+
padding: "1rem",
11+
border: isDark ? "1px solid #333" : "1px solid #eee",
12+
borderRadius: "10px",
13+
background: isDark ? "#23272f" : "#fff8f5",
14+
margin: "2rem 0",
15+
color: isDark ? "#fff" : "#222",
16+
boxShadow: isDark
17+
? "0 2px 10px rgba(0,0,0,0.6)"
18+
: "0 2px 6px rgba(0, 0, 0, 0.08)",
19+
};
20+
21+
return (
22+
<div style={containerStyle}>
23+
<h3 style={{marginTop: 0, color: isDark ? "#fff" : "#222"}}>
24+
Don’t have Keploy installed yet?
25+
</h3>
26+
<p style={{color: isDark ? "#ccc" : undefined}}>
27+
Before running this sample, make sure Keploy is installed on your
28+
system.
29+
</p>
30+
<Link
31+
to="/docs/server/installation/"
32+
style={{
33+
display: "inline-block",
34+
marginTop: "0.5rem",
35+
padding: "0.6rem 1rem",
36+
background: "#e67e22",
37+
color: "#fff",
38+
borderRadius: "6px",
39+
fontWeight: "bold",
40+
textDecoration: "none",
41+
}}
42+
>
43+
👉 Go to Installation Guide
44+
</Link>
45+
</div>
46+
);
47+
}

src/components/KeployCloud.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ export const KeployCloud = () => {
44
return (
55
<section
66
id="cloud"
7-
className="mb-8 mt-12 flex max-w-7xl items-center space-x-5 rounded-lg bg-[color:var(--ifm-card-background-color)] p-5"
7+
className="mb-8 mt-12 flex max-w-7xl items-center space-x-6 rounded-lg bg-[color:var(--ifm-card-background-color)] p-6 shadow-md"
88
>
9-
<div className="prose prose-orange mx-auto max-w-3xl">
10-
<h1> Question? 🤔💭</h1>
11-
<p className="my-3 block">
9+
<div className="prose prose-orange max-w-3xl text-left">
10+
<h1 className="text-left">Questions? 🤔💭</h1>
11+
<p className="my-3 block text-left">
1212
For any support please{" "}
1313
<a
1414
href="https://join.slack.com/t/keploy/shared_invite/zt-357qqm9b5-PbZRVu3Yt2rJIa6ofrwWNg"

src/components/QuickStart.js

Lines changed: 43 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import React from "react";
22
import Link from "@docusaurus/Link";
33
import useBaseUrl from "@docusaurus/useBaseUrl";
4-
4+
import {FaBook} from "react-icons/fa";
5+
import {FaRobot} from "react-icons/fa";
6+
import {FaWindows, FaLinux, FaApple} from "react-icons/fa";
57
export const QuickStart = () => {
68
return (
79
<section className="mt-1">
@@ -54,48 +56,47 @@ export const QuickStart = () => {
5456
{/* </a>*/}
5557
{/*</p>*/}
5658

57-
<h2 className="mt-8 text-2xl font-semibold tracking-wide md:text-3xl">
58-
Installation Guide 📗
59-
</h2>
60-
<p className="text-l mb-8 mt-4 max-w-4xl">
61-
Let's get Keploy up and running on your Windows, Linux, or macOS
62-
machine, so you can start crafting test cases in minutes. ⏱️
63-
</p>
59+
<div className="mt-8">
60+
<h2 className="mb-4 text-2xl font-semibold tracking-wide md:text-3xl">
61+
Get Started 🚀
62+
</h2>
63+
<p className="text-l mb-8 max-w-4xl">
64+
Get started with installation, quickstart, or dive into AI-powered API
65+
testing.
66+
</p>
67+
68+
<div className="grid grid-cols-1 gap-6 md:grid-cols-3 lg:gap-8">
69+
{/* Installation Card */}
70+
<Link
71+
className="flex flex-col items-center justify-center space-y-3 rounded-lg bg-[color:var(--ifm-card-background-color)] p-6 text-center shadow-lg transition-transform duration-200 hover:scale-105"
72+
to={useBaseUrl("/server/installation")}
73+
>
74+
<div class="flex gap-3">
75+
<FaWindows className="h-12 w-12 text-orange-500" />
76+
<FaLinux className="h-12 w-12 text-orange-500" />
77+
<FaApple className="h-12 w-12 text-orange-500" />
78+
</div>
79+
<p className="pt-4 text-lg font-semibold">Installation</p>
80+
</Link>
81+
82+
{/* Quickstart Card */}
83+
<Link
84+
className="flex flex-col items-center justify-center space-y-3 rounded-lg bg-[color:var(--ifm-card-background-color)] p-6 text-center shadow-lg transition-transform duration-200 hover:scale-105"
85+
to={useBaseUrl("/docs/quickstart/quickstart-filter/")}
86+
>
87+
<FaBook className="h-12 w-12 text-orange-500" />
88+
<p className="pt-4 text-lg font-semibold">Quickstart Guide</p>
89+
</Link>
6490

65-
<div className="grid grid-cols-1 gap-6 md:grid-cols-3 lg:gap-8">
66-
<Link
67-
className="scale flex flex-col items-center justify-center space-y-3 rounded-lg bg-[color:var(--ifm-card-background-color)] p-6 text-center shadow-lg"
68-
to={useBaseUrl("/server/installation/")}
69-
>
70-
<img
71-
className="h-16 w-16"
72-
src="/docs/img/os/windows-logo.svg"
73-
alt="Windows logo"
74-
/>
75-
<p className="text-lg font-semibold">Windows</p>
76-
</Link>
77-
<Link
78-
className="scale flex flex-col items-center justify-center space-y-3 rounded-lg bg-[color:var(--ifm-card-background-color)] p-6 text-center shadow-lg"
79-
to={useBaseUrl("/server/installation/")}
80-
>
81-
<img
82-
className="h-16 w-16"
83-
src="/docs/img/os/linux-logo.svg"
84-
alt="Linux logo"
85-
/>
86-
<p className="text-lg font-semibold">Linux</p>
87-
</Link>
88-
<Link
89-
className="scale flex flex-col items-center justify-center space-y-3 rounded-lg bg-[color:var(--ifm-card-background-color)] p-6 text-center shadow-lg"
90-
to={useBaseUrl("/server/installation/")}
91-
>
92-
<img
93-
className="h-16 w-16"
94-
src="/docs/img/os/apple-logo.svg"
95-
alt="Mac logo"
96-
/>
97-
<p className="text-lg font-semibold">MacOS</p>
98-
</Link>
91+
{/* AI-powered API Testing Card */}
92+
<Link
93+
className="flex flex-col items-center justify-center space-y-3 rounded-lg bg-[color:var(--ifm-card-background-color)] p-6 text-center shadow-lg transition-transform duration-200 hover:scale-105"
94+
to={useBaseUrl("/docs/running-keploy/generate-api-tests-using-ai/")}
95+
>
96+
<FaRobot className="h-12 w-12 text-orange-500" />
97+
<p className="pt-4 text-lg font-semibold">AI-powered API Testing</p>
98+
</Link>
99+
</div>
99100
</div>
100101
</section>
101102
);

0 commit comments

Comments
 (0)