Skip to content

Commit dbc83b9

Browse files
docs: improve README formatting and clarity (#544)
* docs:Improved README formatting and tips * Full rewrite and expansion of style guide --------- Co-authored-by: Neha Gupta <[email protected]>
1 parent 7201b5b commit dbc83b9

File tree

2 files changed

+108
-33
lines changed

2 files changed

+108
-33
lines changed

README.md

Lines changed: 5 additions & 1 deletion
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">
@@ -75,6 +76,9 @@ 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+
81+
7882
## Running Vale Locally for Documentation Linting
7983

8084
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: 103 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,121 @@
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:**
21+
> “Next, Normalise the Test case on the Test run details page.”
2722
28-
- Correct: "5 to 10 GB"
29-
- Correct: "5–10 GB"
30-
- Correct: "5-10 GB"
31-
- Incorrect: "from 5-10 GB"
23+
**Incorrect:**
24+
> “Next, normalise the test case on the test run details.”
3225
33-
## Headings
26+
---
3427

35-
Although the following guidance is provided by both the Google and Microsoft guides, we want to emphasize how we style headings.
28+
### 🔤 Sentence Case in Headings
3629

37-
### Infinitive verb forms in headings
30+
Use **sentence case** for all titles and headings. This means only the **first word** and **proper nouns** are capitalized.
3831

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.
32+
✅ Correct:
33+
> How to get started with Keploy
4034
41-
- Correct: "Install Keploy"
42-
- Incorrect: "Installing Keploy"
35+
❌ Incorrect:
36+
> How To Get Started With Keploy
4337
44-
### Sentence casing in headings
38+
---
4539

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

0 commit comments

Comments
 (0)