Bad software is everywhere, and we're tired of it. Sentry is on a mission to help developers write better software faster, so we can get back to enjoying technology. If you want to join us Check out our open positions
Take a look at our Contributing to Docs documentation to get started.
Note: The documentation for this repository is self-hosted via src/docs/contributing/
.
This is the Next.js version of our docs.
Sentry Documentation is a comprehensive resource for developers to understand and utilize Sentry's error tracking and performance monitoring tools. The documentation covers various aspects of Sentry, including setup, configuration, and usage across different platforms and frameworks.
- Detailed guides and tutorials for integrating Sentry with various platforms and frameworks.
- Comprehensive API documentation.
- Best practices for error tracking and performance monitoring.
- Troubleshooting and debugging tips.
To set up the project locally, follow these steps:
-
Prerequisites: Ensure you have the following installed:
-
Clone the repository:
git clone https://github.com/getsentry/sentry-docs.git cd sentry-docs
-
Install dependencies:
yarn install
-
Set up environment variables:
cp .env.example .env.development
-
Start the local database:
docker-compose up -d
-
Run database migrations:
yarn migrate:dev
-
Start the development server:
yarn dev
You can now access the documentation locally at http://localhost:3000
.
Here are some examples to help you understand how to use the project:
To run the development server, use the following command:
yarn dev
This will start the server and you can access the documentation at http://localhost:3000
.
To build the project for production, use the following command:
yarn build
This will create an optimized production build of the documentation.
We welcome contributions to improve the Sentry Documentation. To contribute, follow these guidelines:
- Fork the repository and create a new branch for your changes.
- Make your changes and ensure they are well-documented.
- Submit a pull request with a clear description of your changes.
For more detailed information, refer to the CONTRIBUTING.md file.
Here is a list of available scripts and their descriptions:
yarn dev
: Starts the development server.yarn build
: Builds the project for production.yarn start
: Starts the production server.yarn migrate:dev
: Runs database migrations for the development environment.yarn lint
: Runs all linting checks.yarn lint:ts
: Runs TypeScript linting checks.yarn lint:docs
: Runs documentation linting checks.yarn lint:eslint
: Runs ESLint checks.yarn lint:eslint:fix
: Fixes ESLint issues.yarn lint:prettier
: Runs Prettier checks.yarn lint:prettier:fix
: Fixes Prettier issues.yarn lint:fix
: Fixes all linting issues.yarn sidecar
: Runs the Spotlight sidecar.yarn test
: Runs all tests.yarn test:ci
: Runs tests in CI mode.yarn enforce-redirects
: Enforces redirects.