chore(docs): stop generating devtools-protocol docs (#7464)
This CL changes our docs generation to not include automatic docs from devtools-protocol. Long term we probably want this, but for now it's generating a vast amount of documentation and it's making setting up the new website and docs harder. Let's focus just on the pptr docs for now and revisit this once the foundations have been laid.
This commit is contained in:
parent
8781cfb30d
commit
547699545a
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
|
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
|
||||||
"mainEntryPointFilePath": "<projectFolder>/lib/cjs/puppeteer/api-docs-entry.d.ts",
|
"mainEntryPointFilePath": "<projectFolder>/lib/cjs/puppeteer/api-docs-entry.d.ts",
|
||||||
"bundledPackages": ["devtools-protocol"],
|
"bundledPackages": [],
|
||||||
|
|
||||||
"apiReport": {
|
"apiReport": {
|
||||||
"enabled": false
|
"enabled": false
|
||||||
|
@ -813,8 +813,7 @@ function compareDocumentations(actual, expected) {
|
|||||||
'Method Page.emulateVisionDeficiency() type',
|
'Method Page.emulateVisionDeficiency() type',
|
||||||
{
|
{
|
||||||
actualName: 'string',
|
actualName: 'string',
|
||||||
expectedName:
|
expectedName: 'Object',
|
||||||
'"none"|"achromatopsia"|"blurredVision"|"deuteranopia"|"protanopia"|"tritanopia"',
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
@ -1072,6 +1071,7 @@ function compareDocumentations(actual, expected) {
|
|||||||
'Method Page.deleteCookie() ...cookies',
|
'Method Page.deleteCookie() ...cookies',
|
||||||
'Method Page.setCookie() ...cookies',
|
'Method Page.setCookie() ...cookies',
|
||||||
'Method Puppeteer.connect() options',
|
'Method Puppeteer.connect() options',
|
||||||
|
'Method Page.setUserAgent() userAgentMetadata',
|
||||||
]);
|
]);
|
||||||
if (skipPropertyChecksOnMethods.has(source)) return;
|
if (skipPropertyChecksOnMethods.has(source)) return;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user