Skip to content

Commit 0e6c9a1

Browse files
authored
feature: add llms.txt pipeline (#795)
* add llms.txt pipeline * update remark format * update prettier ignore * make config multilevel * remove llms associated files from source * update gitignore * update ignore, delete all files * update gitignore
1 parent d7906a1 commit 0e6c9a1

File tree

10 files changed

+828
-537
lines changed

10 files changed

+828
-537
lines changed

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,9 @@ yarn-error.log*
3232

3333
# vercel
3434
.vercel
35+
36+
37+
# llms.txt
38+
/public/llms.txt
39+
/public/llms-full.txt
40+
/public/**/*.md

.prettierignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
.gitignore
2-
.next/**
2+
.next/**
3+
/public/**/*.md

data/integrationsSidebar.json

Lines changed: 146 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,146 @@
1+
[
2+
{
3+
"title": "Integrations",
4+
"slug": "/integrations",
5+
"pages": [{ "slug": "/overview", "title": "Overview" }]
6+
},
7+
{
8+
"title": "Sources",
9+
"slug": "/integrations/sources",
10+
"pages": [
11+
{ "slug": "/overview", "title": "Overview" },
12+
{ "slug": "/segment", "title": "Segment" },
13+
{ "slug": "/rudderstack", "title": "RudderStack" },
14+
{ "slug": "/hightouch", "title": "Hightouch" },
15+
{ "slug": "/census", "title": "Census" },
16+
{ "slug": "/polytomic", "title": "Polytomic" },
17+
{ "slug": "/jitsu", "title": "Jitsu" },
18+
{ "slug": "/freshpaint", "title": "Freshpaint" },
19+
{ "slug": "/http", "title": "HTTP" }
20+
]
21+
},
22+
{
23+
"title": "Email",
24+
"slug": "/integrations/email",
25+
"pages": [
26+
{ "slug": "/overview", "title": "Overview" },
27+
{ "slug": "/layouts", "title": "Layouts" },
28+
{ "slug": "/settings", "title": "Settings and overrides" },
29+
{ "slug": "/attachments", "title": "Sending attachments" },
30+
{ "slug": "/aws-ses", "title": "AWS SES" },
31+
{ "slug": "/mailersend", "title": "MailerSend" },
32+
{ "slug": "/mailgun", "title": "Mailgun" },
33+
{ "slug": "/mailjet", "title": "Mailjet" },
34+
{ "slug": "/mailtrap", "title": "Mailtrap" },
35+
{ "slug": "/mandrill", "title": "Mandrill" },
36+
{ "slug": "/postmark", "title": "Postmark" },
37+
{ "slug": "/resend", "title": "Resend" },
38+
{ "slug": "/sendgrid", "title": "SendGrid" },
39+
{ "slug": "/smtp", "title": "SMTP" },
40+
{ "slug": "/sparkpost", "title": "SparkPost" }
41+
]
42+
},
43+
{
44+
"title": "Chat",
45+
"slug": "/integrations/chat",
46+
"pages": [
47+
{ "slug": "/overview", "title": "Overview" },
48+
{
49+
"title": "Slack",
50+
"slug": "/slack",
51+
"pages": [
52+
{ "slug": "/overview", "title": "Overview" },
53+
{
54+
"slug": "/sending-an-internal-message",
55+
"title": "Sending an internal message"
56+
},
57+
{
58+
"slug": "/sending-a-direct-message",
59+
"title": "Sending a direct message"
60+
},
61+
{
62+
"slug": "/sending-a-message-to-channels",
63+
"title": "Sending a message to channels"
64+
}
65+
]
66+
},
67+
{
68+
"title": "Microsoft Teams",
69+
"slug": "/microsoft-teams",
70+
"pages": [
71+
{ "slug": "/overview", "title": "Overview" },
72+
{
73+
"slug": "/sending-an-internal-message",
74+
"title": "Sending an internal message"
75+
},
76+
{
77+
"slug": "/sending-a-direct-message",
78+
"title": "Sending a direct message"
79+
},
80+
{
81+
"slug": "/sending-a-message-to-channels",
82+
"title": "Sending a message to channels"
83+
}
84+
]
85+
},
86+
{ "slug": "/discord", "title": "Discord" },
87+
{ "slug": "/whatsapp", "title": "WhatsApp" }
88+
]
89+
},
90+
{
91+
"title": "In-app",
92+
"slug": "/integrations/in-app",
93+
"pages": [
94+
{ "slug": "/overview", "title": "Overview" },
95+
{ "slug": "/knock", "title": "Knock" }
96+
]
97+
},
98+
{
99+
"title": "Push",
100+
"slug": "/integrations/push",
101+
"pages": [
102+
{ "slug": "/overview", "title": "Overview" },
103+
{ "slug": "/token-deregistration", "title": "Token deregistration" },
104+
{ "slug": "/apns", "title": "Apple (APNS)" },
105+
{ "slug": "/firebase", "title": "Firebase (FCM)" },
106+
{ "slug": "/expo", "title": "Expo (React Native)" },
107+
{ "slug": "/one-signal", "title": "OneSignal" }
108+
]
109+
},
110+
{
111+
"title": "SMS",
112+
"slug": "/integrations/sms",
113+
"pages": [
114+
{ "slug": "/overview", "title": "Overview" },
115+
{ "slug": "/settings-and-overrides", "title": "Settings and overrides" },
116+
{ "slug": "/africas-talking", "title": "Africa's Talking" },
117+
{ "slug": "/aws-sns", "title": "AWS SNS" },
118+
{ "slug": "/mailersend", "title": "MailerSend" },
119+
{ "slug": "/messagebird", "title": "MessageBird" },
120+
{ "slug": "/plivo", "title": "Plivo" },
121+
{ "slug": "/sinch", "title": "Sinch" },
122+
{ "slug": "/sinch-message-media", "title": "Sinch MessageMedia" },
123+
{ "slug": "/telnyx", "title": "Telnyx" },
124+
{ "slug": "/twilio", "title": "Twilio" },
125+
{ "slug": "/vonage", "title": "Vonage" }
126+
]
127+
},
128+
{
129+
"title": "Webhook",
130+
"slug": "/integrations/webhook",
131+
"pages": [{ "slug": "/overview", "title": "Overview" }]
132+
},
133+
{
134+
"title": "Extensions",
135+
"slug": "/integrations/extensions",
136+
"pages": [
137+
{ "slug": "/overview", "title": "Overview" },
138+
{ "slug": "/vercel", "title": "Vercel" },
139+
{ "slug": "/datadog", "title": "Datadog" },
140+
{ "slug": "/new-relic", "title": "New Relic" },
141+
{ "slug": "/segment", "title": "Segment" },
142+
{ "slug": "/heap", "title": "Heap" },
143+
{ "slug": "/data-sync", "title": "Data warehouse sync" }
144+
]
145+
}
146+
]

data/integrationsSidebar.ts

Lines changed: 2 additions & 151 deletions
Original file line numberDiff line numberDiff line change
@@ -1,155 +1,6 @@
11
import { SidebarSection } from "./types";
2+
import integrationSidebarJson from "./integrationsSidebar.json";
23

3-
const sidebarContent: SidebarSection[] = [
4-
{
5-
title: "Integrations",
6-
slug: "/integrations",
7-
pages: [{ slug: "/overview", title: "Overview" }],
8-
},
9-
{
10-
title: "Sources",
11-
slug: "/integrations/sources",
12-
pages: [
13-
{ slug: "/overview", title: "Overview" },
14-
{ slug: "/segment", title: "Segment" },
15-
{ slug: "/rudderstack", title: "RudderStack" },
16-
{ slug: "/hightouch", title: "Hightouch" },
17-
{ slug: "/census", title: "Census" },
18-
{ slug: "/polytomic", title: "Polytomic" },
19-
{ slug: "/jitsu", title: "Jitsu" },
20-
{ slug: "/freshpaint", title: "Freshpaint" },
21-
{ slug: "/http", title: "HTTP" },
22-
],
23-
},
24-
{
25-
title: "Email",
26-
slug: "/integrations/email",
27-
pages: [
28-
{ slug: "/overview", title: "Overview" },
29-
{ slug: "/layouts", title: "Layouts" },
30-
{ slug: "/settings", title: "Settings and overrides" },
31-
{ slug: "/attachments", title: "Sending attachments" },
32-
{ slug: "/aws-ses", title: "AWS SES" },
33-
{ slug: "/mailersend", title: "MailerSend" },
34-
{ slug: "/mailgun", title: "Mailgun" },
35-
{ slug: "/mailjet", title: "Mailjet" },
36-
{ slug: "/mailtrap", title: "Mailtrap" },
37-
{ slug: "/mandrill", title: "Mandrill" },
38-
{ slug: "/postmark", title: "Postmark" },
39-
{ slug: "/resend", title: "Resend" },
40-
{ slug: "/sendgrid", title: "SendGrid" },
41-
{ slug: "/smtp", title: "SMTP" },
42-
{ slug: "/sparkpost", title: "SparkPost" },
43-
],
44-
},
45-
46-
{
47-
title: "Chat",
48-
slug: "/integrations/chat",
49-
pages: [
50-
{ slug: "/overview", title: "Overview" },
51-
{
52-
title: "Slack",
53-
slug: "/slack",
54-
pages: [
55-
{ slug: "/overview", title: "Overview" },
56-
{
57-
slug: "/sending-an-internal-message",
58-
title: "Sending an internal message",
59-
},
60-
{
61-
slug: "/sending-a-direct-message",
62-
title: "Sending a direct message",
63-
},
64-
{
65-
slug: "/sending-a-message-to-channels",
66-
title: "Sending a message to channels",
67-
},
68-
],
69-
},
70-
{
71-
title: "Microsoft Teams",
72-
slug: "/microsoft-teams",
73-
pages: [
74-
{ slug: "/overview", title: "Overview" },
75-
{
76-
slug: "/sending-an-internal-message",
77-
title: "Sending an internal message",
78-
},
79-
{
80-
slug: "/sending-a-direct-message",
81-
title: "Sending a direct message",
82-
},
83-
{
84-
slug: "/sending-a-message-to-channels",
85-
title: "Sending a message to channels",
86-
},
87-
],
88-
},
89-
{ slug: "/discord", title: "Discord" },
90-
{ slug: "/whatsapp", title: "WhatsApp" },
91-
],
92-
},
93-
94-
{
95-
title: "In-app",
96-
slug: "/integrations/in-app",
97-
pages: [
98-
{ slug: "/overview", title: "Overview" },
99-
{ slug: "/knock", title: "Knock" },
100-
],
101-
},
102-
103-
{
104-
title: "Push",
105-
slug: "/integrations/push",
106-
pages: [
107-
{ slug: "/overview", title: "Overview" },
108-
{ slug: "/token-deregistration", title: "Token deregistration" },
109-
{ slug: "/apns", title: "Apple (APNS)" },
110-
{ slug: "/firebase", title: "Firebase (FCM)" },
111-
{ slug: "/expo", title: "Expo (React Native)" },
112-
{ slug: "/one-signal", title: "OneSignal" },
113-
],
114-
},
115-
116-
{
117-
title: "SMS",
118-
slug: "/integrations/sms",
119-
pages: [
120-
{ slug: "/overview", title: "Overview" },
121-
{ slug: "/settings-and-overrides", title: "Settings and overrides" },
122-
{ slug: "/africas-talking", title: "Africa's Talking" },
123-
{ slug: "/aws-sns", title: "AWS SNS" },
124-
{ slug: "/mailersend", title: "MailerSend" },
125-
{ slug: "/messagebird", title: "MessageBird" },
126-
{ slug: "/plivo", title: "Plivo" },
127-
{ slug: "/sinch", title: "Sinch" },
128-
{ slug: "/sinch-message-media", title: "Sinch MessageMedia" },
129-
{ slug: "/telnyx", title: "Telnyx" },
130-
{ slug: "/twilio", title: "Twilio" },
131-
{ slug: "/vonage", title: "Vonage" },
132-
],
133-
},
134-
{
135-
title: "Webhook",
136-
slug: "/integrations/webhook",
137-
pages: [{ slug: "/overview", title: "Overview" }],
138-
},
139-
140-
{
141-
title: "Extensions",
142-
slug: "/integrations/extensions",
143-
pages: [
144-
{ slug: "/overview", title: "Overview" },
145-
{ slug: "/vercel", title: "Vercel" },
146-
{ slug: "/datadog", title: "Datadog" },
147-
{ slug: "/new-relic", title: "New Relic" },
148-
{ slug: "/segment", title: "Segment" },
149-
{ slug: "/heap", title: "Heap" },
150-
{ slug: "/data-sync", title: "Data warehouse sync" },
151-
],
152-
},
153-
];
4+
const sidebarContent: SidebarSection[] = integrationSidebarJson;
1545

1556
export default sidebarContent;

0 commit comments

Comments
 (0)