Skip to content

Commit ecee88c

Browse files
authored
Merge branch 'main' into fix-broken-url
2 parents cd63126 + 943eb6c commit ecee88c

File tree

244 files changed

+20180
-838
lines changed

Some content is hidden

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

244 files changed

+20180
-838
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ Repository for the Keploy documentation website.
1010
</p>
1111
</div>
1212

13-
**Note** :- Issue Creation is disabled on this Repository, please visit [here](https://github.com/keploy/keploy/issues/new/choose) to submit Issue.
13+
> ⚠️ **Note:** Issue creation is disabled in this repository.
14+
> To submit a new issue, please visit the [Keploy community forum](https://github.com/keploy/dashboard/issues) or the main repo’s issue tracker.
1415
1516
<p align="center">
1617
<a href="https://github.com/keploy/docs" alt="GitHub contributors">
@@ -53,7 +54,7 @@ We use a variety of technologies to build the web interface and support the comm
5354
- [Yarn package manager](https://yarnpkg.com/)
5455
- [React](https://reactjs.org/)
5556
- [GitHub Actions](https://github.com/features/actions)
56-
- Docusaurus
57+
- [Docusaurus](https://docusaurus.io/)
5758

5859
We use NodeJS and Yarn to install, test, and build the website. Docusaurus has been used as a static site generator to build the website. React is being utilized to build our custom component-based user interface to provide a modern look to the website. GitHub Actions manages our CI/CD pipelines and issue triage.
5960

@@ -75,6 +76,8 @@ npm start
7576

7677
The command starts a local development server and opens a browser window.
7778

79+
> 💡 **Tip:** After running `npm install`, use `npm start` to preview changes live at `http://localhost:3000/`.
80+
7881
## Running Vale Locally for Documentation Linting
7982

8083
To help maintain consistency in our documentation, we use Vale, a syntax-aware linter that checks for spelling, grammar, and style issues.

STYLE.md

Lines changed: 115 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,133 @@
1-
# Style guidance
1+
# Style Guidance
22

3-
In general, Keploy content follows the [Google developer documentation style guide](https://developers.google.com/style).
4-
When the Google guide is silent about an issue, we follow the [Microsoft Writing Style Guide](https://docs.microsoft.com/en-us/style-guide/welcome/).
3+
Keploy documentation generally follows the [Google Developer Documentation Style Guide](https://developers.google.com/style).
54

6-
## Keploy-specific style guidance
5+
When the Google guide does not address a specific topic, we defer to the [Microsoft Writing Style Guide](https://docs.microsoft.com/en-us/style-guide/welcome/).
76

8-
We have a few Keploy-specific style guidelines that override the Google and Microsoft guides.
7+
---
98

10-
### Capitalization of core terms
9+
## 🛠️ Keploy-Specific Style Guidelines
1110

12-
Many of Keploy's core terms can be used in a generic way.
13-
To differentiate one of Keploy's core terms from a generic instance of a term, always treat the Keploy term as a proper noun in documentation.
14-
Generic versions of the same term should not be capitalized and should be used sparingly to avoid confusion.
11+
The following are Keploy-specific rules that override or expand on the Google and Microsoft guides.
1512

16-
- Correct: "Next, Normalise the Test case on the Test run details."
17-
- Incorrect: "Next, normalise the test case on the test run details"
13+
---
1814

19-
### En dashes in ranges
15+
### 📌 Capitalization of Core Terms
2016

21-
Using an en dash (`&ndash;` or the character ``) in a range of numbers is acceptable.
22-
Even better is to use words such as _from_, _to_, and _through_.
17+
Some of Keploy’s core terms may also exist as generic terms in software or technical contexts.
18+
To reduce confusion, **always capitalize Keploy-specific terms** when referring to features or platform components. Generic usage should be lowercase and used sparingly.
2319

24-
Be consistent.
25-
If you use an en dash in one range, use en dashes in all ranges.
26-
Do not mix words and en dashes (or hyphens, for that matter).
20+
**Correct:**
2721

28-
- Correct: "5 to 10 GB"
29-
- Correct: "5–10 GB"
30-
- Correct: "5-10 GB"
31-
- Incorrect: "from 5-10 GB"
22+
> “Next, Normalise the Test case on the Test run details page.”
3223
33-
## Headings
24+
**Incorrect:**
3425

35-
Although the following guidance is provided by both the Google and Microsoft guides, we want to emphasize how we style headings.
26+
> “Next, normalise the test case on the test run details.”
3627
37-
### Infinitive verb forms in headings
28+
---
3829

39-
Titles and headings should use infinitive verb forms whenever possible. People tend to search by using infinitive verb forms, so using them helps SEO.
30+
### 🔤 Sentence Case in Headings
4031

41-
- Correct: "Install Keploy"
42-
- Incorrect: "Installing Keploy"
32+
Use **sentence case** for all titles and headings. This means only the **first word** and **proper nouns** are capitalized.
4333

44-
### Sentence casing in headings
34+
✅ Correct:
4535

46-
Use sentence casing for titles and headings.
47-
Sentence casing means that only the first letter of the first word and proper nouns are capitalized.
36+
> How to get started with Keploy
4837
49-
- Correct: "How to get started with Keploy"
50-
- Incorrect: "How To Get Started With Keploy"
38+
❌ Incorrect:
39+
40+
> How To Get Started With Keploy
41+
42+
---
43+
44+
### 🧾 Infinitive Verb Forms in Headings
45+
46+
Use **infinitive verb forms** (e.g., "to install", "to create", "to configure") in titles and headings.
47+
This improves searchability and aligns with common SEO practices.
48+
49+
✅ Correct:
50+
51+
> Install Keploy
52+
> Create test cases
53+
54+
❌ Incorrect:
55+
56+
> Installing Keploy
57+
> Creating test cases
58+
59+
---
60+
61+
### 🧮 En Dashes in Ranges
62+
63+
Use **en dashes (–)** to indicate numeric ranges. Do **not** mix styles or use hyphens inconsistently.
64+
You may also use words like _from_, _to_, or _through_ — but be consistent throughout the doc.
65+
66+
✅ Correct:
67+
68+
- 5–10 GB
69+
- 5 to 10 GB
70+
71+
❌ Incorrect:
72+
73+
- from 5-10 GB
74+
- 5–10 GB and 10 to 20 MB (mixed style)
75+
76+
---
77+
78+
### 🧠 Use Active Voice
79+
80+
Use **active voice** instead of passive voice to improve clarity and readability.
81+
82+
✅ Correct:
83+
84+
> Keploy records the API calls and generates test cases.
85+
86+
❌ Incorrect:
87+
88+
> The API calls are recorded and test cases are generated by Keploy.
89+
90+
---
91+
92+
### 🌍 Write for Global Readability
93+
94+
Use clear, simple, and **inclusive language**:
95+
96+
- Avoid jargon or unexplained acronyms.
97+
- Provide context for technical terms.
98+
- Prefer short, direct sentences.
99+
100+
✅ Better:
101+
102+
> After installing Go, use the following command to run Keploy.
103+
104+
❌ Confusing:
105+
106+
> Assuming GOPATH is set and your binaries are globally linked, execute Keploy.
107+
108+
---
109+
110+
### 🔧 Code Formatting
111+
112+
- Wrap inline code using backticks: \`like this\`
113+
- Use triple backticks for multi-line code blocks:
114+
\`\`\`bash
115+
npm install
116+
npm run serve
117+
\`\`\`
118+
- Add comments in code examples where needed for clarity.
119+
120+
---
121+
122+
## ✅ Summary Checklist for Writers
123+
124+
- [ ] Are headings in sentence case and infinitive form?
125+
- [ ] Are core terms capitalized correctly?
126+
- [ ] Did I use active voice wherever possible?
127+
- [ ] Are numeric ranges formatted consistently?
128+
- [ ] Is my language clear and globally understandable?
129+
- [ ] Are code examples formatted properly?
130+
131+
---
132+
133+
> _Consistency leads to clarity. Let’s keep Keploy documentation clean, helpful, and easy to follow._

docusaurus.config.js

Lines changed: 54 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,17 @@ module.exports = {
3030
};
3131
},
3232
"docusaurus-tailwindcss-loader",
33+
[
34+
"@docusaurus/plugin-client-redirects",
35+
{
36+
redirects: [
37+
{
38+
to: "quickstart/sample-redis/",
39+
from: ["/2.0.0/quickstart/samples-redis/"],
40+
},
41+
],
42+
},
43+
],
3344
],
3445
themeConfig: {
3546
canonicalBase: "https://www.keploy.io/",
@@ -116,32 +127,45 @@ module.exports = {
116127
},
117128
items: [
118129
{
119-
to: "/server/installation",
120-
activeBasePath: "none",
121-
label: "Installation",
130+
label: "Products",
131+
position: "left",
132+
items: [
133+
{
134+
label: "Integration Testing",
135+
to: "/keploy-explained/introduction",
136+
},
137+
{
138+
label: "API Testing (AI)",
139+
to: "/running-keploy/api-test-generator",
140+
},
141+
{
142+
label: "Unit Testing",
143+
to: "/running-keploy/utg-pr-agent",
144+
},
145+
],
122146
},
123-
// {
124-
// to: "/server/installation/",
125-
// label: "Installation",
126-
// },
127-
// {
128-
// to: "/docs/operation/web-ui-operations/",
129-
// activeBasePath: "(/docs/operation)",
130-
// label: "Operations",
131-
// },
132-
// {
133-
// to: "/docs/go/quickstart/run-your-first-app-tutorial/",
134-
// activeBaseRegex:
135-
// "(/application-development)|(/docs/(go|java|php|node))",
136-
// label: "test SDKs",
137-
// },
138147
{
139-
to: "/keploy-explained/contribution-guide",
140-
label: "Contribution Guide",
148+
label: "Blog",
149+
items: [
150+
{
151+
label: "Tech Blogs",
152+
href: "https://keploy.io/blog/technology",
153+
},
154+
{
155+
label: "Community Articles",
156+
href: "https://keploy.io/blog/community",
157+
},
158+
{
159+
label: "Glossary",
160+
href: "/concepts/reference/glossary/",
161+
},
162+
],
163+
position: "left",
141164
},
142165
{
143-
to: "https://keploy.io/blog",
144-
label: "Blog",
166+
to: "/keploy-explained/contribution-guide",
167+
label: "Contribution Guide",
168+
position: "left",
145169
},
146170
{
147171
type: "docsVersionDropdown",
@@ -154,12 +178,6 @@ module.exports = {
154178
className: "header-github-link",
155179
"aria-label": "GitHub repository",
156180
},
157-
// TODO : Add Blogging Section
158-
// {
159-
// to: "/blog",
160-
// activeBasePath: "/blog",
161-
// label: "Blog",
162-
// },
163181
],
164182
},
165183
footer: {
@@ -220,15 +238,20 @@ module.exports = {
220238
* in `/docs/next` directory, only versioned docs.
221239
*/
222240
// excludeNextVersionDocs: false,
223-
lastVersion: "2.0.0",
241+
lastVersion: "3.0.0",
224242
versions: {
225243
"1.0.0": {
226244
label: "1.0.0",
227245
path: "1.0.0",
228246
banner: "unmaintained",
229247
},
248+
"2.0.0": {
249+
label: "2.0.0",
250+
path: "2.0.0",
251+
banner: "unmaintained",
252+
},
230253
},
231-
onlyIncludeVersions: ["1.0.0", "2.0.0"],
254+
onlyIncludeVersions: ["1.0.0", "2.0.0", "3.0.0"],
232255
includeCurrentVersion: true, // excludeNextVersionDocs is now deprecated
233256
// // below remark plugin disabled until we can figure out why it is not transpiling to ESNext properly - swyx
234257
remarkPlugins: [
@@ -309,6 +332,7 @@ module.exports = {
309332
},
310333
],
311334
],
335+
312336
scripts: [
313337
{
314338
src: "/docs/scripts/feedback.js",

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
"@docusaurus/plugin-sitemap": "^3.2.1",
2525
"@docusaurus/preset-classic": "^3.2.1",
2626
"@mdx-js/react": "^3.0.0",
27+
"ajv": "^6.12.6",
28+
"ajv-keywords": "^3.5.2",
2729
"clsx": "^2.0.0",
2830
"lint": "^0.8.19",
2931
"prism-react-renderer": "^2.1.0",
@@ -48,7 +50,7 @@
4850
]
4951
},
5052
"devDependencies": {
51-
"@docusaurus/plugin-client-redirects": "^3.2.1",
53+
"@docusaurus/plugin-client-redirects": "^3.8.1",
5254
"@tailwindcss/typography": "^0.5.0",
5355
"autoprefixer": "^10.4.0",
5456
"docusaurus": "^1.14.7",

0 commit comments

Comments
 (0)