File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -356,7 +356,9 @@ function generateTableOfContents(
356356 return nodes
357357 . map ( ( node ) => {
358358 const id = `${ parentId } -${ node . name . toLowerCase ( ) } ` ;
359- let output = `${ " " . repeat ( depth ) } - [\`${ node . name } \`](#${ id } )` ;
359+ let output = `${ " " . repeat ( depth ) } - [\`${ node . name } \`](#${ id
360+ . replace ( / \. / g, "" )
361+ . toLowerCase ( ) } )`;
360362 if ( node . children && depth <= 0 ) {
361363 output += "\n" ;
362364 output += generateTableOfContents ( depth + 1 , id , node . children ) ;
@@ -375,7 +377,7 @@ function generateDescriptions(
375377 . map ( ( node ) => {
376378 const name = parentName === undefined ? node . name : `${ parentName } .${ node . name } ` ;
377379 const id = `${ parentId } -${ node . name . toLowerCase ( ) } ` ;
378- let output = `### <a name=" ${ id } "></a> \`${ name } \`
380+ let output = `### \`${ name } \`
379381
380382${ node . type === undefined ? "" : `Type: \`${ node . type } \`` }
381383
Original file line number Diff line number Diff line change @@ -51,8 +51,6 @@ function esbuildDebugIdInjectionPlugin(): UnpluginOptions {
5151 } else {
5252 return {
5353 pluginName,
54- // needs to be an abs path, otherwise esbuild will complain
55- path : path . isAbsolute ( args . path ) ? args . path : path . join ( args . resolveDir , args . path ) ,
5654 pluginData : {
5755 isProxyResolver : true ,
5856 originalPath : args . path ,
You can’t perform that action at this time.
0 commit comments