Skip to content

Commit 350e8b4

Browse files
committed
fix list and chart
1 parent e1f7980 commit 350e8b4

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

docs/product/dev-toolbar/setup.mdx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@ description: "Get started with Sentry's Dev Toolbar, bringing critical Sentry in
1717

1818
You need to complete two steps to get the toolbar rendered on the page:
1919
1. Add or dynamically inject the following script into your web app:
20-
```html
21-
<script src="https://browser.sentry-cdn.com/sentry-toolbar/latest/toolbar.min.js"></script>
22-
```
23-
It is recommended that you add the script tag at the bottom of the page so it doesn’t block other critical JavaScript.
20+
```html
21+
<script src="https://browser.sentry-cdn.com/sentry-toolbar/latest/toolbar.min.js"></script>
22+
```
23+
It is recommended that you add the script tag at the bottom of the page so it doesn’t block other critical JavaScript.
24+
2425
2. Call `window.SentryToolbar.init(initConfig)` to set up a toolbar instance on each page where you want to see the Dev Toolbar.
2526
```html
2627
<html>
@@ -60,12 +61,13 @@ window.SentryToolbar.init({
6061
environment: 'production'
6162
});
6263
```
64+
And you can include any additional fields from this list:
6365

6466
| Field Name | Type | Description | Default Value |
6567
| ----- | ----- | ----- | ----- |
6668
| `organizationSlug` | `string` | The organization that users should login to. For example \'acme\' | *Required Value* |
6769
| `projectIdOrSlug` | `string \| number` | The project for which this website/webapp is associated. | *Required Value* |
68-
| `environment (optional)` | `string \| string[] \| undefined` | The environment of this deployment. Used to narrow search results in the Toolbar UI. Set to `undefined` or `""` or `\[\]` if you want to see results from all environments. | `undefined` |
70+
| `environment (optional)` | `string \| string[] \| undefined` | The environment of this deployment. Used to narrow search results in the Toolbar UI. Set to `undefined` or `""` or `[]` if you want to see results from all environments. | `undefined` |
6971
| `placement (optional)` | `'right-edge' \| 'bottom-right-corner'` | Where to render the toolbar on the screen. | `'right-edge'` |
7072
| `theme (optional)` | `'system' \| 'dark' \| 'light'` | Whether to use dark or light mode. | `'system'` |
7173
| `featureFlags (optional)` | `FeatureFlagAdapter \| undefined` | See [Implement FeatureFlagAdapter](/product/dev-toolbar/setup//#implement-feature-flag-adapter) below | `undefined` |

0 commit comments

Comments
 (0)