docIntegration.js 993 B

12345678910111213141516171819202122232425262728293031
  1. export function DocIntegration(params = {}) {
  2. return {
  3. name: 'Sample Doc',
  4. slug: 'sample-doc',
  5. author: 'The Sentry Team',
  6. url: 'https://example.com/sentry',
  7. popularity: '10',
  8. description: 'A helpful tutorial on how to setup this integration with Sentry',
  9. isDraft: 'false',
  10. features: [
  11. {
  12. featureId: 5,
  13. featureGate: 'incident-management',
  14. description:
  15. 'Manage incidents and outages by sending Sentry notifications to Sample Doc.',
  16. },
  17. {
  18. featureId: 7,
  19. featureGate: 'alert-rule',
  20. description:
  21. 'Configure Sentry rules to trigger notifications based on conditions you set through the Sentry webhook integration.',
  22. },
  23. ],
  24. resources: [
  25. {title: 'Documentation', url: 'https://example.com/sentry/docs'},
  26. {title: 'Support', url: 'https://example.com/sentry/support'},
  27. {title: 'Demo', url: 'https://example.com/sentry/demo'},
  28. ],
  29. ...params,
  30. };
  31. }