From 6b4ff2dc89699ee916051b3326ee174953a6ea43 Mon Sep 17 00:00:00 2001 From: Nilu Date: Tue, 22 Sep 2020 16:27:59 +0200 Subject: [PATCH 1/2] some --- content/01-getting-started/01-quickstart.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/01-getting-started/01-quickstart.mdx b/content/01-getting-started/01-quickstart.mdx index 3497e532d8..ae0da9e885 100644 --- a/content/01-getting-started/01-quickstart.mdx +++ b/content/01-getting-started/01-quickstart.mdx @@ -18,6 +18,8 @@ techMetaDescriptions: [ +

Hello

+ This page explains how to get started with Prisma in five minutes. You will learn how to send queries to a **SQLite database** in a plain **TypeScript** script using Prisma Client.
From 62220021f20dfe1c064543ff135c2259374a184b Mon Sep 17 00:00:00 2001 From: Nilu Date: Mon, 26 Oct 2020 11:59:19 +0100 Subject: [PATCH 2/2] fix: table content to be indexed --- src/utils/algolia.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/utils/algolia.js b/src/utils/algolia.js index 4a2e2397bb..2646604cca 100644 --- a/src/utils/algolia.js +++ b/src/utils/algolia.js @@ -37,7 +37,6 @@ const handleRawBody = node => { !section.includes('CodeWithResult>') && !section.includes('CodeBlock') && !section.includes('tab>') && - !section.includes('| **') && !section.includes('```') && !section.includes('block>') && !section.includes('ParallelBlocks>') && @@ -65,10 +64,10 @@ const handleRawBody = node => { slug: rest.modSlug, apiReference: fSection.heading.includes('inlinecode') ? removeInlineCode(fSection.heading): null, heading: removeInlineCode(fSection.heading), - content: fSection.para.replace(/[\*\/\n/{\}\|\-\`\<\>\[\]]+/g, ' ').trim(), + content: fSection.para.replace(/[\*\/\n/{\}\|\-\`\/|:\<\>\[\]]+/g, ' ').trim(), path: `${rest.modSlug.replace(/\d{2,}-/g, '')}${getTitlePath(fSection)}`, })) - + return records }