Skip to content
Prev Previous commit
Next Next commit
[codex] revert Search Console config changes for isolation
  • Loading branch information
basit3407 committed Apr 21, 2026
commit 3c5cefa6817c8a302e2a7e6d1528f6b6e860b302
18 changes: 8 additions & 10 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ const config = {
// Set the production url of your site here
url: "https://api-docs.quran.foundation",
baseUrl: "/",
trailingSlash: true,
// Load a tiny client script to suppress noisy ResizeObserver errors in dev
scripts: [
{ src: "/js/ignore-resizeobserver-error.js", async: true },
Expand Down Expand Up @@ -51,7 +50,6 @@ const config = {
changefreq: "monthly",
priority: 0.5,
filename: "sitemap.xml",
ignorePatterns: ["/search", "/request-scopes"],
},
...(enableGtag
? {
Expand Down Expand Up @@ -242,23 +240,23 @@ const config = {
items: [
{
label: "Content APIs",
to: "/docs/content_apis_versioned/4.0.0/content-apis/",
to: "/docs/content_apis_versioned/content-apis",
},
{
label: "Search APIs",
to: "/docs/search_apis_versioned/1.0.0/quran-foundation-search-api/",
to: "/docs/search_apis_versioned/quran-foundation-search-api",
},
{
label: "User-related APIs",
to: "/docs/user_related_apis_versioned/1.0.0/user-related-apis/",
to: "/docs/user_related_apis_versioned/user-related-apis",
},
{
label: "User-related APIs (Pre-live)",
to: "docs/category/user-related-apis-pre-live",
},
{
label: "OAuth2 APIs",
to: "/docs/oauth2_apis_versioned/1.0.0/oauth-2-apis/",
to: "/docs/oauth2_apis_versioned/oauth-2-apis",
},
],
},
Expand All @@ -284,23 +282,23 @@ const config = {
items: [
{
label: "Content APIs",
to: "/docs/content_apis_versioned/4.0.0/content-apis/",
to: "/docs/content_apis_versioned/content-apis",
},
{
label: "OAuth2 / OIDC APIs",
to: "/docs/oauth2_apis_versioned/1.0.0/oauth-2-apis/",
to: "/docs/oauth2_apis_versioned/oauth-2-apis",
},
{
label: "User-related APIs",
to: "/docs/user_related_apis_versioned/1.0.0/user-related-apis/",
to: "/docs/user_related_apis_versioned/user-related-apis",
},
{
label: "User-related APIs (Pre-live)",
to: "/docs/category/user-related-apis-pre-live",
},
{
label: "Search APIs",
to: "/docs/search_apis_versioned/1.0.0/quran-foundation-search-api/",
to: "/docs/search_apis_versioned/quran-foundation-search-api",
},
],
},
Expand Down