Welcome to the Speakeasy documentation repository! This guide will help you contribute to our open-source documentation.
The documentation is organized into several content hubs:
api-design/
- API design guidelines and best practicesdocs/
- Core product documentationguides/
- Step-by-step product guidesmcp/
- MCP hubopenapi/
- OpenAPI hub
The documentation files in this repository directly map to the URLs on our website. To find the file you want to edit:
- Take the URL path after
speakeasy.com/
- Add
.mdx
to the end - That's your file path in the repository
For example:
- Website URL:
https://www.speakeasy.com/docs/prep-openapi/linting
- File path:
docs/prep-openapi/linting.mdx
- File path:
- Use MDX (
.mdx
) when you need React components, or Markdown (.md
) for simple content - Follow our content style guide
- Include proper meta descriptions for SEO
- Optimize images using Next.js Image component
- Create a new branch for your changes
- Commit with a descriptive message following Conventional Commits
- Example:
chore: update authentication guide
- Example:
- Create a pull request
- Wait for the build to complete
- Check the preview build visually
- Once approved, your changes will be merged
- Use clear, concise language
- Write in active voice
- Keep explanations brief and direct
- Use American English
- Use code blocks for code snippets
- Add language specification to code blocks
- Use relative URLs:
[link](/docs/create-client-sdks)
- Place code references in backticks
- Use sentence case for headings
- Use proper heading hierarchy
- Include code examples where relevant
- Add proper meta descriptions for SEO
-
Fork the repository
-
Clone your fork:
git clone https://github.com/YOUR_USERNAME/developer-docs.git
-
Create a new branch:
git checkout -b docs/your-change
-
Make your changes
-
Submit a pull request
- Open an issue for general questions
- Join our Slack community for real-time help
- Check existing issues and pull requests for similar questions
Thank you for contributing to our documentation! Your help makes our documentation better for everyone.