@@ -117,40 +117,17 @@ others in the future.
117117 This is the prefix that the docs pages will render to, including the index
118118 page at the exact path.
119119
120+ - sentry: boolean
121+
122+ Default: true
123+
124+ If true, this theme will instantiate ` @sentry/gatsby ` with a default
125+ configuration. This configuration can be imported from ` sentry-config.js ` and
126+ overridden by creating a
127+ [ Sentry configuration file] ( https://docs.sentry.io/platforms/javascript/guides/gatsby/#sentry-configuration-file )
128+ in your project's root.
129+
120130### Examples
121131
122- See this example from
123- [ the example website's ` gatsby-config.js ` ] ( https://github.com/iterative/gatsby-theme-iterative/blob/main/packages/example/gatsby-config.js ) .
124-
125- ``` js
126- const path = require (' path' )
127- const {
128- name: themePackageName
129- } = require (' ../gatsby-theme-iterative/package.json' )
130-
131- module .exports = {
132- trailingSlash: ' never' ,
133- siteMetadata: {
134- title: ' Example website' ,
135- description: ' Example website description' ,
136- keywords: [' docs' , ' test' ],
137- siteUrl: ' http://localhost:8000'
138- },
139- plugins: [
140- {
141- resolve: themePackageName,
142- options: {
143- simpleLinkerTerms: require (' ./content/linked-terms' )
144- }
145- },
146- {
147- resolve: ' gatsby-source-filesystem' ,
148- options: {
149- name: ' images' ,
150- path: path .join (__dirname , ' static' , ' img' )
151- }
152- },
153- ' @sentry/gatsby'
154- ]
155- }
156- ```
132+ Check out the example project in this project's monorepo, particularly
133+ [ ` gatsby-config.js ` ] ( https://github.com/iterative/gatsby-theme-iterative/blob/main/packages/example/gatsby-config.js ) .
0 commit comments