chore: remove BrowserFetcher namespace (#10107)

This commit is contained in:
Alex Rudenko 2023-05-02 09:48:18 +02:00 committed by GitHub
parent 7405d6585a
commit ec191c25e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,7 +109,9 @@ const config = {
function addNamespace(namespace, target) { function addNamespace(namespace, target) {
let items = categories.get(namespace); let items = categories.get(namespace);
if (!items) { if (!items) {
throw new Error(`Namespace ${namespace} not found`); throw new Error(
`Namespace ${namespace} not found. Did you update the list of sidebar namespaces below?`
);
} }
items.sort((a, b) => { items.sort((a, b) => {
return a.label.localeCompare(b.label); return a.label.localeCompare(b.label);
@ -172,7 +174,6 @@ const config = {
// the Puppeteer API. // the Puppeteer API.
'PuppeteerNode', 'PuppeteerNode',
'Puppeteer', 'Puppeteer',
'BrowserFetcher',
'Browser', 'Browser',
'BrowserContext', 'BrowserContext',
'Page', 'Page',