diff --git a/src/documentation/ideas/content.ts b/src/documentation/ideas/content.ts index 6721735c1..3b2537bff 100644 --- a/src/documentation/ideas/content.ts +++ b/src/documentation/ideas/content.ts @@ -11,7 +11,7 @@ export const fetchIdeas = async (languageId: string): Promise => const ideasQuery = (languageId: string): string => { return ` - *[_type == "pythonIdeasConfig" && language == "${languageId}" && !(_id in path("drafts.**"))][0]{ + *[_type == "pythonIdeasConfig" && language == "${languageId}"][0]{ pythonIdeasOrder[]->{ _id, name, language, compatibility, image, slug, content[] { diff --git a/src/documentation/mapping/content.ts b/src/documentation/mapping/content.ts index 914250bbe..7fe43ab45 100644 --- a/src/documentation/mapping/content.ts +++ b/src/documentation/mapping/content.ts @@ -11,7 +11,7 @@ export const fetchMappingData = async (): Promise => const mappingQuery = (): string => { return ` - *[_type == "pythonModule" && !(_id in path("drafts.**"))]{ + *[_type == "pythonModule"]{ pythonModuleName, pythonModuleItem[] { pythonAlternativeContentLink, diff --git a/src/documentation/reference/content.ts b/src/documentation/reference/content.ts index 015b77e92..20780d089 100644 --- a/src/documentation/reference/content.ts +++ b/src/documentation/reference/content.ts @@ -33,7 +33,7 @@ export const getTopicAndEntry = ( // This is necessary for the client-side search index. const toolkitQuery = (languageId: string): string => { return ` - *[_type == "toolkit" && language == "${languageId}" && (slug.current == "explore" || slug.current == "reference") && !(_id in path("drafts.**"))]{ + *[_type == "toolkit" && language == "${languageId}" && (slug.current == "explore" || slug.current == "reference")]{ id, name, description, language, contents[]->{ name, slug, compatibility, subtitle, image, diff --git a/src/workbench/WelcomeDialog.tsx b/src/workbench/WelcomeDialog.tsx index 4de16c5ea..b03b0771c 100644 --- a/src/workbench/WelcomeDialog.tsx +++ b/src/workbench/WelcomeDialog.tsx @@ -42,7 +42,7 @@ const WelcomeDialog = ({ isOpen, onClose }: WelcomeDialogProps) => { }; const query = (): string => { return ` - *[_id == "pythonEditorConfig" && !(_id in path("drafts.**"))]{ + *[_id == "pythonEditorConfig"]{ welcomeVideo }`; };