Skip to content

Commit 1020762

Browse files
Kirill BolotskyPepe Cano
authored andcommitted
fix(algolia): added cloud rest api section back to algolia indexing since it has been released
1 parent 79eddcc commit 1020762

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/utils/algolia.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,6 @@ const processMdxEntry = ({ children: [entry] }) => {
2323
// avoid pushing empty records
2424
return [];
2525
}
26-
// @TODO: remove after cloud rest api docs will be ported ,
27-
// avoid indexing this section for a while to avoid
28-
// search user's confusion
29-
if (/cloud rest api/i.test(fileAbsolutePath)) {
30-
// eslint-disable-next-line no-console
31-
console.log('exluded from algolia indecies pages:', fileAbsolutePath);
32-
return [];
33-
}
3426
const strippedDirectory = stripDirectoryPath(fileAbsolutePath, 'docs');
3527
// cut the last piece (the actual name of a file) to match the generation
3628
// in node

0 commit comments

Comments
 (0)