Skip to content

Commit 60fd032

Browse files
chore: remove Ask Fern Discord integration from docs (#4574)
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
1 parent a85bf10 commit 60fd032

13 files changed

Lines changed: 14 additions & 286 deletions

File tree

fern/apis/fai/openapi.json

Lines changed: 4 additions & 148 deletions
Original file line numberDiff line numberDiff line change
@@ -1104,78 +1104,6 @@
11041104
]
11051105
}
11061106
},
1107-
"/discord/install": {
1108-
"post": {
1109-
"tags": [
1110-
"Discord"
1111-
],
1112-
"summary": "Create Discord Integration",
1113-
"operationId": "create_discord_integration",
1114-
"parameters": [
1115-
{
1116-
"name": "domain",
1117-
"in": "query",
1118-
"required": true,
1119-
"schema": {
1120-
"type": "string",
1121-
"title": "Domain"
1122-
}
1123-
}
1124-
],
1125-
"responses": {
1126-
"200": {
1127-
"description": "Successful Response",
1128-
"content": {
1129-
"application/json": {
1130-
"schema": {
1131-
"$ref": "#/components/schemas/DiscordIntegrationResponse"
1132-
}
1133-
}
1134-
}
1135-
},
1136-
"422": {
1137-
"description": "Validation Error",
1138-
"content": {
1139-
"application/json": {
1140-
"schema": {
1141-
"$ref": "#/components/schemas/HTTPValidationError"
1142-
}
1143-
}
1144-
}
1145-
}
1146-
},
1147-
"x-fern-audiences": [
1148-
"customers"
1149-
],
1150-
"security": [
1151-
{
1152-
"bearerAuth": []
1153-
}
1154-
]
1155-
}
1156-
},
1157-
"/discord/install/callback": {
1158-
"get": {
1159-
"tags": [
1160-
"Discord"
1161-
],
1162-
"summary": "Handle Discord Install Callback",
1163-
"operationId": "handle_discord_install_callback",
1164-
"responses": {
1165-
"200": {
1166-
"description": "Successful Response",
1167-
"content": {
1168-
"application/json": {
1169-
"schema": {}
1170-
}
1171-
}
1172-
}
1173-
},
1174-
"x-fern-audiences": [
1175-
"internal"
1176-
]
1177-
}
1178-
},
11791107
"/document/{domain}/create": {
11801108
"post": {
11811109
"tags": [
@@ -3169,52 +3097,6 @@
31693097
]
31703098
}
31713099
},
3172-
"/settings/ask-ai/discord": {
3173-
"get": {
3174-
"tags": [
3175-
"Settings"
3176-
],
3177-
"summary": "Get Discord Settings",
3178-
"description": "Get settings for a domain and organization.",
3179-
"operationId": "get_discord_settings",
3180-
"parameters": [
3181-
{
3182-
"name": "domain",
3183-
"in": "query",
3184-
"required": true,
3185-
"schema": {
3186-
"type": "string",
3187-
"title": "Domain"
3188-
}
3189-
}
3190-
],
3191-
"responses": {
3192-
"200": {
3193-
"description": "Successful Response",
3194-
"content": {
3195-
"application/json": {
3196-
"schema": {
3197-
"$ref": "#/components/schemas/GetSettingsResponse"
3198-
}
3199-
}
3200-
}
3201-
},
3202-
"422": {
3203-
"description": "Validation Error",
3204-
"content": {
3205-
"application/json": {
3206-
"schema": {
3207-
"$ref": "#/components/schemas/HTTPValidationError"
3208-
}
3209-
}
3210-
}
3211-
}
3212-
},
3213-
"x-fern-audiences": [
3214-
"internal"
3215-
]
3216-
}
3217-
},
32183100
"/settings/ask-ai/enable": {
32193101
"post": {
32203102
"tags": [
@@ -3266,7 +3148,7 @@
32663148
"Settings"
32673149
],
32683150
"summary": "Toggle Ask Ai",
3269-
"description": "Toggle Ask AI setting and return job_id for tracking.\n\nArgs:\n domain: Domain to toggle Ask AI for\n org_name: Organization name\n preview: Whether this is a preview deployment\n locations: Optional list of locations to enable. Valid values: docs, slack, discord",
3151+
"description": "Toggle Ask AI setting and return job_id for tracking.\n\nArgs:\n domain: Domain to toggle Ask AI for\n org_name: Organization name\n preview: Whether this is a preview deployment\n locations: Optional list of locations to enable. Valid values: docs, slack",
32703152
"operationId": "toggle_ask_ai",
32713153
"parameters": [
32723154
{
@@ -3308,8 +3190,7 @@
33083190
"items": {
33093191
"enum": [
33103192
"docs",
3311-
"slack",
3312-
"discord"
3193+
"slack"
33133194
],
33143195
"type": "string"
33153196
}
@@ -5480,19 +5361,6 @@
54805361
],
54815362
"title": "DeleteWebsiteResponse"
54825363
},
5483-
"DiscordIntegrationResponse": {
5484-
"properties": {
5485-
"integration_url": {
5486-
"type": "string",
5487-
"title": "Integration Url"
5488-
}
5489-
},
5490-
"type": "object",
5491-
"required": [
5492-
"integration_url"
5493-
],
5494-
"title": "DiscordIntegrationResponse"
5495-
},
54965364
"Document": {
54975365
"properties": {
54985366
"document_id": {
@@ -5623,7 +5491,7 @@
56235491
},
56245492
"type": "array",
56255493
"title": "Locations",
5626-
"description": "List of locations to enable (docs, slack, discord)"
5494+
"description": "List of locations to enable (docs, slack)"
56275495
},
56285496
"preview": {
56295497
"type": "boolean",
@@ -5996,7 +5864,7 @@
59965864
"ask_ai_enabled": {
59975865
"type": "boolean",
59985866
"title": "Ask Ai Enabled",
5999-
"description": "Whether Ask AI is enabled (requires one of docs, slack, or discord to be enabled as well as the content to be indexed)"
5867+
"description": "Whether Ask AI is enabled (requires one of docs or slack to be enabled as well as the content to be indexed)"
60005868
},
60015869
"job_id": {
60025870
"anyOf": [
@@ -6034,18 +5902,6 @@
60345902
"title": "Slack Enabled",
60355903
"description": "Whether Ask AI is enabled for slack"
60365904
},
6037-
"discord_enabled": {
6038-
"anyOf": [
6039-
{
6040-
"type": "boolean"
6041-
},
6042-
{
6043-
"type": "null"
6044-
}
6045-
],
6046-
"title": "Discord Enabled",
6047-
"description": "Whether Ask AI is enabled for discord"
6048-
},
60495905
"decompose_queries": {
60505906
"anyOf": [
60515907
{

fern/docs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -818,6 +818,10 @@ redirects:
818818
- source: /learn/api/api-reference/:slug*
819819
destination: /learn/cli-api-reference/cli-reference/overview
820820

821+
# Discord bot redirect (removed)
822+
- source: /learn/docs/ai-features/ask-fern/discord-bot
823+
destination: /learn/docs/ai-features/ask-fern/overview
824+
821825
# Ask Fern redirects (additional)
822826
- source: /learn/ask-fern/features/custom-fa-qs
823827
destination: /learn/docs/ai-features/ask-fern/overview

fern/products/docs/docs.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,6 @@ navigation:
193193
- page: Slack app
194194
path: ./pages/ask-fern/slack-app.mdx
195195
slug: slack-app
196-
- page: Discord bot
197-
path: ./pages/ask-fern/discord-bot.mdx
198-
slug: discord-bot
199196
- page: Custom guidance
200197
path: ./pages/ask-fern/guidance.mdx
201198
slug: guidance
@@ -431,8 +428,6 @@ navigation:
431428
hidden: true
432429
- conversation:
433430
hidden: true
434-
- discord:
435-
hidden: true
436431
- document:
437432
hidden: true
438433
- feedback:

fern/products/docs/pages/ai/overview.mdx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,11 @@ Your documentation site comes with automatic optimizations for AI tools, plus fe
2121

2222
## Find answers
2323

24-
Users can chat with Ask Fern to get instant answers from your documentation. It's available as an embedded chat widget, via the [API](/learn/docs/ai-features/ask-fern/api-reference/overview) for custom integrations, and as a [Slack app](/learn/docs/ai-features/ask-fern/slack-app) or [Discord bot](/learn/docs/ai-features/ask-fern/discord-bot) for your community workspace. Ask Fern understands context and provides citations so users can verify information and explore further.
24+
Users can chat with Ask Fern to get instant answers from your documentation. It's available as an embedded chat widget, via the [API](/learn/docs/ai-features/ask-fern/api-reference/overview) for custom integrations, and as a [Slack app](/learn/docs/ai-features/ask-fern/slack-app) for your community workspace. Ask Fern understands context and provides citations so users can verify information and explore further.
2525

26-
<CardGroup cols={3}>
26+
<CardGroup cols={2}>
2727
<Card title="Ask Fern overview" icon="sparkles" href="/learn/docs/ai-features/ask-fern/overview" />
2828
<Card title="Ask Fern Slack app" icon="fa-brands fa-slack" href="/learn/docs/ai-features/ask-fern/slack-app" />
29-
<Card title="Ask Fern Discord bot" icon="fa-brands fa-discord" href="/learn/docs/ai-features/ask-fern/discord-bot" />
3029
</CardGroup>
3130

3231

Binary file not shown.
-175 KB
Binary file not shown.
-24.9 KB
Binary file not shown.
Binary file not shown.
-63.6 KB
Binary file not shown.

fern/products/docs/pages/ask-fern/discord-bot.mdx

Lines changed: 0 additions & 122 deletions
This file was deleted.

0 commit comments

Comments
 (0)