diff --git a/tools/doc/html.js b/tools/doc/html.js index 3dd6f83da503df..f7c7b46c540e66 100644 --- a/tools/doc/html.js +++ b/tools/doc/html.js @@ -322,9 +322,12 @@ function linkJsTypeDocs(text) { } function parseAPIHeader(text) { + const classNames = 'api_stability api_stability_$2'; + const docsUrl = 'documentation.html#documentation_stability_index'; + text = text.replace( STABILITY_TEXT_REG_EXP, - '
$1 $2$3
' + `
$1 $2$3
` ); return text; }