mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 10:30:15 +02:00
Docs: include more relevant content in search index
This commit is contained in:
parent
ec26c8aa49
commit
83fe65b9e9
File diff suppressed because one or more lines are too long
@ -8,7 +8,7 @@ const extractDescription = (str) =>
|
|||||||
.replace(/\s+/g, ' ')
|
.replace(/\s+/g, ' ')
|
||||||
.replace(/[^A-Za-z0-9_/\-,. ]/g, '')
|
.replace(/[^A-Za-z0-9_/\-,. ]/g, '')
|
||||||
.replace(/\s+/g, ' ')
|
.replace(/\s+/g, ' ')
|
||||||
.substr(0, 140)
|
.substr(0, 180)
|
||||||
.trim();
|
.trim();
|
||||||
|
|
||||||
const extractKeywords = (str) =>
|
const extractKeywords = (str) =>
|
||||||
|
@ -4,14 +4,19 @@ module.exports = [
|
|||||||
'about',
|
'about',
|
||||||
'after',
|
'after',
|
||||||
'all',
|
'all',
|
||||||
|
'allows',
|
||||||
'already',
|
'already',
|
||||||
|
'also',
|
||||||
'alternative',
|
'alternative',
|
||||||
'always',
|
'always',
|
||||||
'and',
|
'and',
|
||||||
'any',
|
'any',
|
||||||
'are',
|
'are',
|
||||||
|
'based',
|
||||||
'been',
|
'been',
|
||||||
'before',
|
'before',
|
||||||
|
'both',
|
||||||
|
'call',
|
||||||
'can',
|
'can',
|
||||||
'containing',
|
'containing',
|
||||||
'default',
|
'default',
|
||||||
@ -30,7 +35,10 @@ module.exports = [
|
|||||||
'have',
|
'have',
|
||||||
'how',
|
'how',
|
||||||
'image',
|
'image',
|
||||||
|
'involve',
|
||||||
'its',
|
'its',
|
||||||
|
'least',
|
||||||
|
'lots',
|
||||||
'may',
|
'may',
|
||||||
'more',
|
'more',
|
||||||
'most',
|
'most',
|
||||||
@ -40,17 +48,24 @@ module.exports = [
|
|||||||
'not',
|
'not',
|
||||||
'occur',
|
'occur',
|
||||||
'occurs',
|
'occurs',
|
||||||
|
'options',
|
||||||
'over',
|
'over',
|
||||||
'perform',
|
'perform',
|
||||||
'performs',
|
'performs',
|
||||||
'provide',
|
'provide',
|
||||||
'provided',
|
'provided',
|
||||||
|
'ready',
|
||||||
|
'same',
|
||||||
|
'see',
|
||||||
'set',
|
'set',
|
||||||
'sets',
|
'sets',
|
||||||
'should',
|
'should',
|
||||||
|
'since',
|
||||||
'spelling',
|
'spelling',
|
||||||
|
'such',
|
||||||
'support',
|
'support',
|
||||||
'supported',
|
'supported',
|
||||||
|
'sure',
|
||||||
'take',
|
'take',
|
||||||
'that',
|
'that',
|
||||||
'the',
|
'the',
|
||||||
@ -59,6 +74,9 @@ module.exports = [
|
|||||||
'therefore',
|
'therefore',
|
||||||
'these',
|
'these',
|
||||||
'this',
|
'this',
|
||||||
|
'under',
|
||||||
|
'unless',
|
||||||
|
'until',
|
||||||
'use',
|
'use',
|
||||||
'used',
|
'used',
|
||||||
'using',
|
'using',
|
||||||
@ -69,5 +87,6 @@ module.exports = [
|
|||||||
'while',
|
'while',
|
||||||
'will',
|
'will',
|
||||||
'with',
|
'with',
|
||||||
'without'
|
'without',
|
||||||
|
'you'
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user