File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
repo-scripts/api-documenter Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @firebase/api-documenter" ,
3- "version" : " 0.2.0 " ,
3+ "version" : " 0.2.1 " ,
44 "description" : " Read JSON files from api-extractor, generate documentation pages" ,
55 "repository" : {
66 "directory" : " repo-scripts/documenter" ,
Original file line number Diff line number Diff line change @@ -975,13 +975,14 @@ page_type: reference
975975 // Header for each group of functions grouped by first param.
976976 // Doesn't make sense if there's only one group.
977977 const headerText = paramKey ? `function(${ paramKey } ...)` : 'function()' ;
978- const formattedHeaderText = `<strong>${ headerText } </strong>` ;
979978 if ( sortedFunctionsFirstParamKeys . length > 1 ) {
980979 finalFunctionsTable . addRow (
981980 new DocTableRow ( { configuration } , [
982981 new DocTableCell ( { configuration } , [
983982 new DocParagraph ( { configuration } , [
984- new DocPlainText ( { configuration, text : formattedHeaderText } )
983+ new DocEmphasisSpan ( { configuration, bold : true } , [
984+ new DocPlainText ( { configuration, text : headerText } )
985+ ] )
985986 ] )
986987 ] )
987988 ] )
Original file line number Diff line number Diff line change @@ -48,8 +48,7 @@ export function generateToc({
4848 if ( jsSdk ) {
4949 const firebaseToc : ITocItem = {
5050 title : 'firebase' ,
51- path : `${ g3Path } /index` ,
52- section : [ ]
51+ path : `${ g3Path } /index`
5352 } ;
5453 toc . push ( firebaseToc ) ;
5554 }
You can’t perform that action at this time.
0 commit comments