diff --git a/tools/doc/html.js b/tools/doc/html.js index 10b04a1b9887e4..185a6660047eb4 100644 --- a/tools/doc/html.js +++ b/tools/doc/html.js @@ -352,9 +352,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; }