File tree 3 files changed +5
-5
lines changed
repo-scripts/api-documenter 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @firebase/api-documenter" ,
3
- "version" : " 0.2.0 " ,
3
+ "version" : " 0.2.1 " ,
4
4
"description" : " Read JSON files from api-extractor, generate documentation pages" ,
5
5
"repository" : {
6
6
"directory" : " repo-scripts/documenter" ,
Original file line number Diff line number Diff line change @@ -975,13 +975,14 @@ page_type: reference
975
975
// Header for each group of functions grouped by first param.
976
976
// Doesn't make sense if there's only one group.
977
977
const headerText = paramKey ? `function(${ paramKey } ...)` : 'function()' ;
978
- const formattedHeaderText = `<strong>${ headerText } </strong>` ;
979
978
if ( sortedFunctionsFirstParamKeys . length > 1 ) {
980
979
finalFunctionsTable . addRow (
981
980
new DocTableRow ( { configuration } , [
982
981
new DocTableCell ( { configuration } , [
983
982
new DocParagraph ( { configuration } , [
984
- new DocPlainText ( { configuration, text : formattedHeaderText } )
983
+ new DocEmphasisSpan ( { configuration, bold : true } , [
984
+ new DocPlainText ( { configuration, text : headerText } )
985
+ ] )
985
986
] )
986
987
] )
987
988
] )
Original file line number Diff line number Diff line change @@ -48,8 +48,7 @@ export function generateToc({
48
48
if ( jsSdk ) {
49
49
const firebaseToc : ITocItem = {
50
50
title : 'firebase' ,
51
- path : `${ g3Path } /index` ,
52
- section : [ ]
51
+ path : `${ g3Path } /index`
53
52
} ;
54
53
toc . push ( firebaseToc ) ;
55
54
}
You can’t perform that action at this time.
0 commit comments