speakeasy-api / developer-docs
This documentation is open source. We welcome feedback, suggestions, and PRs
README
Contributing to Speakeasy Documentation
Welcome to the Speakeasy documentation repository! This guide will help you contribute to our open-source documentation.
๐ Repository Structure
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 hubpublic/- Shared static assets (images, downloads, etc.) served on the site
โ๏ธ How to Edit Content
1. Locate the File
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
.mdxto 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:
2. Make Your Changes
- Use MDX (
.mdx) when you need React components, or Markdown (.md) for simple content - Follow our quick style guide below
- Include proper meta descriptions for SEO
- Optimize images using Next.js Image component
- Store any public/static assets in
public/ - Update
_meta.global.tsxto adjust sidebar ordering where needed
3. Submit Your Changes
- 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
- Once approved, your changes will be merged
๐ Quick Style Guide
Writing Style
- Use clear, concise language
- Write in active voice
- Keep explanations brief and direct
- Use American English
Code and Links
- 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
Formatting
- Use sentence case for headings
- Use proper heading hierarchy
- Include code examples where relevant
- Add proper meta descriptions for SEO
๐ Getting Started
-
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
๐ค Need Help?
- 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.
