This is the source project for the official WireMock OSS documentation, now hosting both the Java and .Net edition docs.
This site is build on Starlight - a static documentation site builder based on Astro.
We welcome contributions to improve the WireMock documentation! Here's how to get started:
This project uses pnpm as its package manager. If you don't have pnpm installed, follow the installation instructions.
-
Install dependencies:
pnpm install
-
Start the development server:
pnpm dev
The site will be available at
http://localhost:4321
-
Make your changes:
- Edit markdown files in
src/content/docs/
- The dev server will automatically reload as you save changes
- Edit markdown files in
-
Preview your changes:
- Check your changes in the browser to ensure they look correct
- Test any links or navigation you've modified
Once you're happy with your changes:
- Commit your changes with a descriptive commit message
- Push your changes to your fork (or create a new branch if you have write access)
- Open a Pull Request against the
main
branch - Provide a clear description of what you've changed and why
Your PR will be reviewed by the maintainers. Thank you for contributing to WireMock!
All commands are run from the root of the project (wiremock.org-starlight/
):
Command | Action |
---|---|
pnpm install |
Install dependencies |
pnpm dev |
Start dev server at localhost:4321 |
pnpm build |
Build production site to ./dist/ |
pnpm preview |
Preview production build locally |
- Edit markdown files in
src/content/docs/
- Use
.md
for standard pages,.mdx
for pages with components - Add entries to sidebar in
astro.config.mjs
if needed
- WireMock Slack: https://slack.wiremock.org/
- Starlight Discord: https://astro.build/chat