doc: Fix configurations for images in the doc of newrelic.

The screenshot generating mechanism doesn't work for newrelic and
causes error because its configuration file doesn't exist. This
commit fixes the configuration and re-generate the screenshots.
This commit is contained in:
PIG208
2021-03-30 03:08:05 +08:00
committed by Tim Abbott
parent 9b48a36b91
commit d8db797798
8 changed files with 8 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

View File

@@ -746,7 +746,11 @@ DOC_SCREENSHOT_CONFIG: Dict[str, List[BaseScreenshotConfig]] = {
"mention": [ScreenshotConfig("webfeeds.json")],
"nagios": [BaseScreenshotConfig("service_notify.json")],
"netlify": [ScreenshotConfig("deploy_building.json")],
"newrelic": [ScreenshotConfig("alert.txt", "002.png")],
"newrelic": [
ScreenshotConfig("incident_opened.json", "001.png"),
ScreenshotConfig("incident_acknowledged.json", "002.png"),
ScreenshotConfig("incident_closed.json", "003.png"),
],
"opbeat": [ScreenshotConfig("error_reopen.json")],
"opsgenie": [ScreenshotConfig("addrecipient.json", image_name="000.png")],
"pagerduty": [ScreenshotConfig("trigger_v2.json")],

View File

@@ -20,6 +20,6 @@ New Relic can send messages to a Zulip stream for incidents.
{!congrats.md!}
![](/static/images/integrations/newrelic/opened.png)
![](/static/images/integrations/newrelic/ack.png)
![](/static/images/integrations/newrelic/closed.png)
![](/static/images/integrations/newrelic/001.png)
![](/static/images/integrations/newrelic/002.png)
![](/static/images/integrations/newrelic/003.png)