You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

20 lines
393 B

/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* @emails react-core
*/
'use strict';
module.exports = async ({page, actions}) => {
const {createPage} = actions;
return new Promise(resolvePromise => {
if (page.path.includes('docs/error-decoder.html')) {
page.context.slug = 'docs/error-decoder.html';
createPage(page);
}
resolvePromise();
});
};