Note :- Issue Creation is disabled on this Repository, please visit here to submit Issue.
Keploy is a no-code testing platform that generates tests from API calls.
Keploy is constantly working to improve and expand its documentation. Some components may change without notice. Page slugs (URLs), menu labels, and the location of information are a few of the items you can expect to see altered as we endeavour to give you the best experience possible.
The documentation in this repository is published to https://docs.keploy.io.
If information you are looking for seems to be missing, visit the Keploy community forum for help.
Please read the CONTRIBUTING guide and the STYLE guide before you submit any pull requests.
Maintainers and contributors to this project are expected to conduct themselves in a respectful way. See the CNCF Community Code of Conduct as a reference.
We use a variety of technologies to build the web interface and support the community. They include:
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.
The Keploy documentation site uses Docusaurus 2, which is a static website generator.
You can make changes locally without previewing them in the browser. However, if you want to build the site and preview changes in the browser, you need to have Docusaurus 2 dependencies installed.
Initialize Docusaurus 2 in the repo by running npm
once in the root directory of the repo.
Now you can build and view the site locally:
npm install
npm start
The command starts a local development server and opens a browser window.
To help maintain consistency in our documentation, we use Vale, a syntax-aware linter that checks for spelling, grammar, and style issues.
Step 1: Install Vale
If you're on macOS, you can install Vale using Homebrew:
brew install vale
Alternatively, you can install Vale manually:
-
Download Vale: Visit the Vale Releases page and download the latest version for your operating system.
-
Install Vale:
- On macOS and Linux, extract the binary, move it to /usr/local/bin, and make it executable:
sudo mv vale /usr/local/bin/
sudo chmod +x /usr/local/bin/vale
- On Windows, follow the instructions in the downloaded .zip file.
Step 2: Configure Vale
-
Ensure you have the .vale.ini configuration file in the root directory.
-
Check that StylesPath in .vale.ini points to the vale_styles directory (where custom styles are stored):
StylesPath = vale_styles
MinAlertLevel = error
- Linting Documentation: To check all markdown files in versioned_docs/version-2.0.0/ for errors, run:
vale versioned_docs/version-2.0.0/**/*.md
- Review Errors:
- Vale will output any issues directly in the terminal. Address these issues in the markdown files to maintain style consistency.
Note: Running Vale locally helps catch issues early, ensuring a smooth review process when you submit a pull request.
- Fork the repository
- Clone the repository with the following command. Replace the {'<'}GITHUB_USERNAME{'>'} with your username
git clone https://github.com/<GITHUB_USERNAME>/docs.git
## Go into the directory containing the project
cd docs
- Install all the dependencies
npm install
## Start the development server.
npm start
- To reformat:
npm prettier --write '**/*.{js,md}'
- Check the build status:
npm run build
Note: if the Build is failing, fix the changes before making PR.
When we merge your PR, a new build automatically occurs and your changes publish to https://keploy.io/docs.
Keploy welcomes contributions to the docs website. If you have an idea for a new feature or a bug fix, please submit an issue or pull request. Our planned features can be found on our Issue Tracker.
Reach out to us. We're here to help!
Whether you're a newbie coder or a wizard 🧙♀️, your perspective is golden. Take a peek at our: