File: typedoc-plugin-markdown%2B3.14.0.patch

package info (click to toggle)
node-jose 4.11.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 4,264 kB
  • sloc: javascript: 16,258; sh: 111; makefile: 4
file content (162 lines) | stat: -rw-r--r-- 5,093 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
diff --git a/node_modules/typedoc-plugin-markdown/dist/resources/helpers/comments.js b/node_modules/typedoc-plugin-markdown/dist/resources/helpers/comments.js
index 4af3202..892533a 100644
--- a/node_modules/typedoc-plugin-markdown/dist/resources/helpers/comments.js
+++ b/node_modules/typedoc-plugin-markdown/dist/resources/helpers/comments.js
@@ -12,7 +12,7 @@ function default_1() {
         if ((_a = comment.blockTags) === null || _a === void 0 ? void 0 : _a.length) {
             const tags = comment.blockTags
                 .filter((tag) => tag.tag !== '@returns')
-                .map((tag) => `**\`${(0, utils_1.camelToTitleCase)(tag.tag.substring(1))}\`**\n\n${Handlebars.helpers.comment(tag.content)}`);
+                .map((tag) => `**\`${tag.tag.substring(1)}\`** ${Handlebars.helpers.comment(tag.content)}`);
             md.push(tags.join('\n\n'));
         }
         return md.join('\n\n');
diff --git a/node_modules/typedoc-plugin-markdown/dist/resources/helpers/toc.js b/node_modules/typedoc-plugin-markdown/dist/resources/helpers/toc.js
index ca0cf27..bd4fc68 100644
--- a/node_modules/typedoc-plugin-markdown/dist/resources/helpers/toc.js
+++ b/node_modules/typedoc-plugin-markdown/dist/resources/helpers/toc.js
@@ -17,7 +17,15 @@ function default_1(theme) {
                 md.push(`## Table of contents\n\n`);
             }
             const headingLevel = hideInPageTOC ? `##` : `###`;
-            (_b = this.groups) === null || _b === void 0 ? void 0 : _b.forEach((group) => {
+            function functionsOrConstructorsFirst(ary) {
+                const idx = ary.findIndex((group) => group.title === 'Functions' || group.title === 'Constructors')
+                if (idx) {
+                    const [functions] = ary.splice(idx, 1)
+                    ary.unshift(functions)
+                }
+                return ary
+            }
+            (_b = this.groups) === null || _b === void 0 ? void 0 : functionsOrConstructorsFirst(_b).forEach((group) => {
                 const groupTitle = group.title;
                 if (group.categories) {
                     group.categories.forEach((category) => {
diff --git a/node_modules/typedoc-plugin-markdown/dist/resources/partials/member.declaration.hbs b/node_modules/typedoc-plugin-markdown/dist/resources/partials/member.declaration.hbs
index 32c9e62..03a30b0 100644
--- a/node_modules/typedoc-plugin-markdown/dist/resources/partials/member.declaration.hbs
+++ b/node_modules/typedoc-plugin-markdown/dist/resources/partials/member.declaration.hbs
@@ -16,20 +16,6 @@
 
 {{#if type.declaration}}
 
-{{#if type.declaration.indexSignature}}
-
-{{#with type.declaration.indexSignature}}
-
-#### Index signature
-
-{{{indexSignatureTitle}}}
-
-{{> comment}}
-
-{{/with}}
-
-{{/if}}
-
 {{#if type.declaration.signatures}}
 
 {{#if type.declaration.children}}
diff --git a/node_modules/typedoc-plugin-markdown/dist/resources/partials/member.sources.hbs b/node_modules/typedoc-plugin-markdown/dist/resources/partials/member.sources.hbs
index f642b49..89d6772 100644
--- a/node_modules/typedoc-plugin-markdown/dist/resources/partials/member.sources.hbs
+++ b/node_modules/typedoc-plugin-markdown/dist/resources/partials/member.sources.hbs
@@ -1,39 +1,3 @@
-{{#if implementationOf}}
-
-#### Implementation of
-
-{{#with implementationOf}}
-
-{{typeAndParent}}
-
-{{/with}}
-
-{{/if}}
-
-{{#if inheritedFrom}}
-
-#### Inherited from
-
-{{#with inheritedFrom}}
-
-{{{typeAndParent}}}
-
-{{/with}}
-
-{{/if}}
-
-{{#if overwrites}}
-
-#### Overrides
-
-{{#with overwrites}}
-
-{{typeAndParent}}
-
-{{/with}}
-
-{{/if}}
-
 {{#if sources}}
 
 #### Defined in
diff --git a/node_modules/typedoc-plugin-markdown/dist/resources/partials/title.hbs b/node_modules/typedoc-plugin-markdown/dist/resources/partials/title.hbs
index 68b4dba..ece55a4 100644
--- a/node_modules/typedoc-plugin-markdown/dist/resources/partials/title.hbs
+++ b/node_modules/typedoc-plugin-markdown/dist/resources/partials/title.hbs
@@ -4,4 +4,4 @@
 
 {{/ifShowPageTitle}}
 
-{{{reflectionPath}}}
\ No newline at end of file
+[💗 Help the project](https://github.com/sponsors/panva)
diff --git a/node_modules/typedoc-plugin-markdown/dist/resources/templates/reflection.hbs b/node_modules/typedoc-plugin-markdown/dist/resources/templates/reflection.hbs
index 6a29bf7..f9dcbc4 100644
--- a/node_modules/typedoc-plugin-markdown/dist/resources/templates/reflection.hbs
+++ b/node_modules/typedoc-plugin-markdown/dist/resources/templates/reflection.hbs
@@ -24,18 +24,6 @@
 
 {{/if}}
 
-{{#ifShowTypeHierarchy}}
-
-## Hierarchy
-
-{{#with model.typeHierarchy}}
-
-{{{hierarchy 0}}}
-
-{{/with}}
-
-{{/ifShowTypeHierarchy}}
-
 {{#if model.implementedTypes}}
 
 ## Implements
@@ -74,24 +62,6 @@
 
 {{/if}}
 
-{{#if model.indexSignature}}
-
-## Indexable
-
-{{#with model}}
-
-{{#with indexSignature}}
-
-{{{indexSignatureTitle}}}
-
-{{> comment}}
-
-{{/with}}
-
-{{/with}}
-
-{{/if}}
-
 {{#with model}}
 
 {{> main}}