From 609f4be2e24250e66b2cc775bf4fb09f75301313 Mon Sep 17 00:00:00 2001 From: maxbittker Date: Wed, 11 Oct 2017 10:49:07 -0700 Subject: [PATCH 1/3] With Sphinx, the title underlines need to be at least as long as the title --- docs/integrations/react.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/integrations/react.rst b/docs/integrations/react.rst index 6200fd0f60e1..dcc9ba741a9e 100644 --- a/docs/integrations/react.rst +++ b/docs/integrations/react.rst @@ -23,7 +23,7 @@ Next configure Raven.js to use your Sentry DSN: At this point, Raven is ready to capture any uncaught exception. Expanded Usage --------------- +---------------- If you're using React 16 or above, `Error Boundaries `_ are an important tool for defining the behavior of your application in the face of errors. Be sure to send errors they catch to Sentry using ``Raven.captureException``, and optionally this is also a great opportunity to surface `User Feedback `_ @@ -76,7 +76,7 @@ This will result in errors being reported twice to Sentry with the above setup, Read more about error boundaries `in this blog post `_. Redux ----------------- +------------------ If you use `Redux `_ there are some useful community maintained middleware packages for annotating error reports with useful information, such as store state and recent actions: @@ -84,7 +84,7 @@ for annotating error reports with useful information, such as store state and re - `ngokevin/redux-raven-middleware `_ Redux Sagas Middleware ----------------- +------------------- If you're using `Redux Saga `_ be aware that it does not bubble errors up to the browsers uncaught exception handler. From 3a949a30dd043432e13e2fded7e3046dcbe51665 Mon Sep 17 00:00:00 2001 From: maxbittker Date: Wed, 11 Oct 2017 11:03:55 -0700 Subject: [PATCH 2/3] monospace fonts lol --- docs/integrations/react.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/integrations/react.rst b/docs/integrations/react.rst index dcc9ba741a9e..45a2cde8041b 100644 --- a/docs/integrations/react.rst +++ b/docs/integrations/react.rst @@ -84,7 +84,7 @@ for annotating error reports with useful information, such as store state and re - `ngokevin/redux-raven-middleware `_ Redux Sagas Middleware -------------------- +----------------------------- If you're using `Redux Saga `_ be aware that it does not bubble errors up to the browsers uncaught exception handler. From 8c42445fc283f0d6839c2851b1986038182c3a4e Mon Sep 17 00:00:00 2001 From: maxbittker Date: Wed, 11 Oct 2017 11:30:49 -0700 Subject: [PATCH 3/3] match heading lengths --- docs/integrations/react.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/integrations/react.rst b/docs/integrations/react.rst index 45a2cde8041b..6ebbede276bc 100644 --- a/docs/integrations/react.rst +++ b/docs/integrations/react.rst @@ -23,7 +23,7 @@ Next configure Raven.js to use your Sentry DSN: At this point, Raven is ready to capture any uncaught exception. Expanded Usage ----------------- +-------------- If you're using React 16 or above, `Error Boundaries `_ are an important tool for defining the behavior of your application in the face of errors. Be sure to send errors they catch to Sentry using ``Raven.captureException``, and optionally this is also a great opportunity to surface `User Feedback `_ @@ -76,7 +76,7 @@ This will result in errors being reported twice to Sentry with the above setup, Read more about error boundaries `in this blog post `_. Redux ------------------- +----- If you use `Redux `_ there are some useful community maintained middleware packages for annotating error reports with useful information, such as store state and recent actions: @@ -84,7 +84,7 @@ for annotating error reports with useful information, such as store state and re - `ngokevin/redux-raven-middleware `_ Redux Sagas Middleware ------------------------------ +---------------------- If you're using `Redux Saga `_ be aware that it does not bubble errors up to the browsers uncaught exception handler.