Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
c2ce845
test
osamasayed Apr 15, 2026
036deff
Fix SDK onboarding docs verification
basit3407 Apr 27, 2026
2904811
Restore Cloudflare docs build steps
basit3407 Apr 27, 2026
034aa12
Merge main into SDK docs updates
basit3407 Apr 27, 2026
d5ba29e
Address SDK docs review comments
basit3407 Apr 28, 2026
54e5e85
docs: clarify SDK compatibility path
basit3407 Apr 28, 2026
8bf7f7a
docs: align SDK credential variable names
basit3407 Apr 28, 2026
4329131
docs: add agent prompt onboarding
basit3407 Apr 28, 2026
54a6bde
docs: streamline onboarding journey
basit3407 Apr 29, 2026
f92d97c
docs: fix static prompt resource links
basit3407 Apr 29, 2026
ca8d2b1
docs: clarify word audio CDN usage
basit3407 Apr 29, 2026
eb763e0
docs: add complete API reference entrypoint
basit3407 Apr 29, 2026
82fc11b
docs: remove unpublished OpenAPI spec links
basit3407 Apr 29, 2026
662cd75
docs: address llms url review feedback
basit3407 Apr 29, 2026
2fd715c
docs: simplify onboarding journey ux
basit3407 Apr 29, 2026
8c948e0
docs: reduce onboarding duplication
basit3407 Apr 29, 2026
8030f88
docs: remove duplicate journey guidance
basit3407 Apr 29, 2026
b89b683
docs: clarify starter credentials and journey previews
basit3407 Apr 29, 2026
bcec41a
docs: clarify starter sdk onboarding
basit3407 Apr 29, 2026
6179f2b
docs: refine onboarding journey UX
basit3407 Apr 29, 2026
2f2bf6d
docs: address copilot onboarding comments
basit3407 Apr 30, 2026
563226b
Add starter pointer to OAuth tutorial
basit3407 Apr 30, 2026
bcdd02a
Canonicalize API discovery links
basit3407 Apr 30, 2026
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Address SDK docs review comments
  • Loading branch information
basit3407 committed Apr 28, 2026
commit d5ba29e7a424ebcbc8dca0f6b8d4c827df3d6517
12 changes: 6 additions & 6 deletions docs/sdk/javascript/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ If your app is deployed as an edge frontend, keep the confidential exchange, ref
import { createServerClient } from "@quranjs/api/server";

const client = createServerClient({
clientId: process.env.CLIENT_ID!,
clientSecret: process.env.CLIENT_SECRET!,
clientId: process.env.QF_CLIENT_ID!,
clientSecret: process.env.QF_CLIENT_SECRET!,
});

const chapters = await client.content.v4.chapters.list();
Expand Down Expand Up @@ -160,8 +160,8 @@ import { createServerClient } from "@quranjs/api/server";
import { SearchMode } from "@quranjs/api";

const client = createServerClient({
clientId: process.env.CLIENT_ID!,
clientSecret: process.env.CLIENT_SECRET!,
clientId: process.env.QF_CLIENT_ID!,
clientSecret: process.env.QF_CLIENT_SECRET!,
});

const chapters = await client.content.v4.chapters.list();
Expand Down Expand Up @@ -190,8 +190,8 @@ Backend:
import { createServerClient } from "@quranjs/api/server";

const client = createServerClient({
clientId: process.env.CLIENT_ID!,
clientSecret: process.env.CLIENT_SECRET!,
clientId: process.env.QF_CLIENT_ID!,
clientSecret: process.env.QF_CLIENT_SECRET!,
});
```

Expand Down
4 changes: 2 additions & 2 deletions docs/sdk/javascript/server-quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ import { SearchMode } from "@quranjs/api";
import { createServerClient } from "@quranjs/api/server";

const client = createServerClient({
clientId: process.env.CLIENT_ID!,
clientSecret: process.env.CLIENT_SECRET!,
clientId: process.env.QF_CLIENT_ID!,
clientSecret: process.env.QF_CLIENT_SECRET!,
});

const chapters = await client.content.v4.chapters.list();
Expand Down
1 change: 1 addition & 0 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,7 @@ const buildTutorialsSidebarItems = () => [
collapsed: false,
items: [
"tutorials/oidc/getting-started-with-oauth2",
"tutorials/oidc/starter-with-npx",
"tutorials/oidc/openid-connect",
"tutorials/oidc/example-integration",
"tutorials/oidc/client-setup",
Expand Down