Thank you for your interest in contributing to the Superwall documentation! This document provides guidelines and instructions for contributing.
- Fork the repository and clone your fork locally
- Set up the development environment:
bun install bun run build bun run dev
- Create a branch for your changes:
git checkout -b your-branch-name
bun run devThe docs will be available at http://localhost:8293
- Documentation content is located in
/content/docs/ - Source files use
.mdxformat - Changes to content are automatically rebuilt in development mode
- Some changes (like redirects or remark plugins) may require restarting the dev server
Before submitting a pull request, please ensure the build succeeds:
bun run buildAnd the site works in local development mode:
bun run dev- Follow existing code patterns and conventions
- Ensure all code examples are accurate and tested
- Use clear, concise language in documentation
- Commit your changes with clear, descriptive commit messages
- Push to your fork and create a pull request
- Describe your changes in the PR description, including:
- What changed and why
- Any relevant context or screenshots
- Testing performed
Your pull request will be reviewed by the maintainers and merged if approved.
Thank you for contributing! 🎉