File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
packages/typedoc-plugin-markdown Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 43
43
"excludeGroups" : {
44
44
"type" : " boolean" ,
45
45
"deprecated" : " This option has been renamed hideGroupHeadings to better reflect its purpose." ,
46
- "description" : " [typedoc-plugin-markdown] undefined "
46
+ "description" : " [typedoc-plugin-markdown] This option has been renamed hideGroupHeadings to better reflect its purpose. "
47
47
},
48
48
"excludeScopesInPaths" : {
49
49
"type" : " boolean" ,
86
86
"type" : " string" ,
87
87
"enum" : [
88
88
" list" ,
89
- " table"
89
+ " table" ,
90
+ " htmlTable"
90
91
],
91
92
"description" : " [typedoc-plugin-markdown] Sets the format of index items." ,
92
93
"default" : " list"
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ async function main() {
11
11
for ( const key in schema . properties ) {
12
12
const property = schema . properties [ key ] ;
13
13
if ( typeof property === 'object' && property !== null ) {
14
- property . description = `[typedoc-plugin-markdown] ${ property . description } ` ;
14
+ property . description = `[typedoc-plugin-markdown] ${ property . description || ( property as any ) ?. deprecated } ` ;
15
15
property . default =
16
16
declarations [ key ] . defaultValue || declarations [ key ] . defaults ;
17
17
if ( property . required ) {
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ You would typically use this event to modify urls or navigation structure.
48
48
*/
49
49
export function load(app ) {
50
50
app .renderer .on (MarkdownRendererEvent .BEGIN , (renderer ) => {
51
- renderer .urls = event .urls .map ((urlMapping ) => {
51
+ renderer .urls = renderer .urls ? .map ((urlMapping ) => {
52
52
const newUrl = urlMapping .url .replace (' foo' , ' bar' );
53
53
urlMapping .url = newUrl ;
54
54
urlMapping .model .url = newUrl ; // also required
You can’t perform that action at this time.
0 commit comments