Skip to content

Commit cfdb1d8

Browse files
authored
Merge pull request #12071 from hasezoey/removeDocsPrototype
Documentation-Generation remove `.prototype.` fix-up code
2 parents 318f85b + 93317db commit cfdb1d8

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

docs/source/api.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -234,11 +234,6 @@ function parse() {
234234
ctx.string = ctx.string + "()";
235235
}
236236

237-
// fixing up "something.prototypemissingdot" to "something.prototype.missingdot"
238-
if (/\.prototype[^.]/.test(ctx.string)) {
239-
ctx.string = `${ctx.constructor}.prototype.${ctx.name}`;
240-
}
241-
242237
// Backwards compat anchors
243238
if (typeof ctx.constructor === 'string') {
244239
ctx.anchorId = `${ctx.constructor.toLowerCase()}_${ctx.constructor}-${ctx.name}`;

0 commit comments

Comments
 (0)