Skip to content

Commit

Permalink
fix: Two members differing only by case produced broken links
Browse files Browse the repository at this point in the history
Resolves #1585

Co-Authored-By: Andrew Bradley <cspotcode@gmail.com>
  • Loading branch information
Gerrit0 and cspotcode committed Jun 27, 2021
1 parent 9be9e36 commit f909281
Show file tree
Hide file tree
Showing 40 changed files with 951 additions and 951 deletions.
2 changes: 1 addition & 1 deletion src/lib/models/reflections/abstract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ export abstract class Reflection {
*/
getAlias(): string {
if (!this._alias) {
let alias = this.name.replace(/[^a-z0-9]/gi, "_").toLowerCase();
let alias = this.name.replace(/[^a-z0-9]/gi, "_");
if (alias === "") {
alias = "reflection-" + this.id;
}
Expand Down
48 changes: 24 additions & 24 deletions src/test/renderer/specs/classes/access.privateclass.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<a href="../modules/access.html">access</a>
</li>
<li>
<a href="access.privateclass.html">PrivateClass</a>
<a href="access.PrivateClass.html">PrivateClass</a>
</li>
</ul>
<h1>Class PrivateClass</h1>
Expand Down Expand Up @@ -90,21 +90,21 @@ <h2>Index</h2>
<section class="tsd-index-section ">
<h3>Constructors</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="access.privateclass.html#constructor" class="tsd-kind-icon">constructor</a></li>
<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="access.PrivateClass.html#constructor" class="tsd-kind-icon">constructor</a></li>
</ul>
</section>
<section class="tsd-index-section tsd-is-private-protected">
<h3>Properties</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="access.privateclass.html#fakeprivatevariable" class="tsd-kind-icon">fake<wbr>Private<wbr>Variable</a></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><a href="access.privateclass.html#fakeprotectedvariable" class="tsd-kind-icon">fake<wbr>Protected<wbr>Variable</a></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="access.PrivateClass.html#fakePrivateVariable" class="tsd-kind-icon">fake<wbr>Private<wbr>Variable</a></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><a href="access.PrivateClass.html#fakeProtectedVariable" class="tsd-kind-icon">fake<wbr>Protected<wbr>Variable</a></li>
</ul>
</section>
<section class="tsd-index-section tsd-is-private-protected">
<h3>Methods</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="access.privateclass.html#fakeprivatefunction" class="tsd-kind-icon">fake<wbr>Private<wbr>Function</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-protected"><a href="access.privateclass.html#fakeprotectedfunction" class="tsd-kind-icon">fake<wbr>Protected<wbr>Function</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="access.PrivateClass.html#fakePrivateFunction" class="tsd-kind-icon">fake<wbr>Private<wbr>Function</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-protected"><a href="access.PrivateClass.html#fakeProtectedFunction" class="tsd-kind-icon">fake<wbr>Protected<wbr>Function</a></li>
</ul>
</section>
</div>
Expand All @@ -116,21 +116,21 @@ <h2>Constructors</h2>
<a name="constructor" class="tsd-anchor"></a>
<h3>constructor</h3>
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">new <wbr>Private<wbr>Class<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="access.privateclass.html" class="tsd-signature-type" data-tsd-kind="Class">PrivateClass</a></li>
<li class="tsd-signature tsd-kind-icon">new <wbr>Private<wbr>Class<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="access.PrivateClass.html" class="tsd-signature-type" data-tsd-kind="Class">PrivateClass</a></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
</aside>
<h4 class="tsd-returns-title">Returns <a href="access.privateclass.html" class="tsd-signature-type" data-tsd-kind="Class">PrivateClass</a></h4>
<h4 class="tsd-returns-title">Returns <a href="access.PrivateClass.html" class="tsd-signature-type" data-tsd-kind="Class">PrivateClass</a></h4>
</li>
</ul>
</section>
</section>
<section class="tsd-panel-group tsd-member-group tsd-is-private-protected">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private">
<a name="fakeprivatevariable" class="tsd-anchor"></a>
<a name="fakePrivateVariable" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagPrivate">Private</span> fake<wbr>Private<wbr>Variable</h3>
<div class="tsd-signature tsd-kind-icon">fake<wbr>Private<wbr>Variable<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
<aside class="tsd-sources">
Expand All @@ -142,7 +142,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> fake<wbr>Private<wbr>Va
</div>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-protected">
<a name="fakeprotectedvariable" class="tsd-anchor"></a>
<a name="fakeProtectedVariable" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagProtected">Protected</span> fake<wbr>Protected<wbr>Variable</h3>
<div class="tsd-signature tsd-kind-icon">fake<wbr>Protected<wbr>Variable<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
<aside class="tsd-sources">
Expand All @@ -157,7 +157,7 @@ <h3><span class="tsd-flag ts-flagProtected">Protected</span> fake<wbr>Protected<
<section class="tsd-panel-group tsd-member-group tsd-is-private-protected">
<h2>Methods</h2>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private">
<a name="fakeprivatefunction" class="tsd-anchor"></a>
<a name="fakePrivateFunction" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagPrivate">Private</span> fake<wbr>Private<wbr>Function</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
<li class="tsd-signature tsd-kind-icon">fake<wbr>Private<wbr>Function<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
Expand All @@ -176,7 +176,7 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</spa
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-protected">
<a name="fakeprotectedfunction" class="tsd-anchor"></a>
<a name="fakeProtectedFunction" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagProtected">Protected</span> fake<wbr>Protected<wbr>Function</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-protected">
<li class="tsd-signature tsd-kind-icon">fake<wbr>Protected<wbr>Function<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
Expand Down Expand Up @@ -206,7 +206,7 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</spa
<a href="../modules/access.html">access</a>
<ul>
<li class=" tsd-kind-namespace tsd-parent-kind-module tsd-is-private">
<a href="../modules/access.privatemodule.html">Private<wbr>Module</a>
<a href="../modules/access.PrivateModule.html">Private<wbr>Module</a>
</li>
</ul>
</li>
Expand Down Expand Up @@ -256,41 +256,41 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</spa
</ul>
<ul class="current">
<li class="current tsd-kind-class tsd-parent-kind-module tsd-is-private">
<a href="access.privateclass.html" class="tsd-kind-icon">Private<wbr>Class</a>
<a href="access.PrivateClass.html" class="tsd-kind-icon">Private<wbr>Class</a>
<ul>
<li class=" tsd-kind-constructor tsd-parent-kind-class">
<a href="access.privateclass.html#constructor" class="tsd-kind-icon">constructor</a>
<a href="access.PrivateClass.html#constructor" class="tsd-kind-icon">constructor</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-private">
<a href="access.privateclass.html#fakeprivatevariable" class="tsd-kind-icon">fake<wbr>Private<wbr>Variable</a>
<a href="access.PrivateClass.html#fakePrivateVariable" class="tsd-kind-icon">fake<wbr>Private<wbr>Variable</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-protected">
<a href="access.privateclass.html#fakeprotectedvariable" class="tsd-kind-icon">fake<wbr>Protected<wbr>Variable</a>
<a href="access.PrivateClass.html#fakeProtectedVariable" class="tsd-kind-icon">fake<wbr>Protected<wbr>Variable</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-private">
<a href="access.privateclass.html#fakeprivatefunction" class="tsd-kind-icon">fake<wbr>Private<wbr>Function</a>
<a href="access.PrivateClass.html#fakePrivateFunction" class="tsd-kind-icon">fake<wbr>Private<wbr>Function</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-protected">
<a href="access.privateclass.html#fakeprotectedfunction" class="tsd-kind-icon">fake<wbr>Protected<wbr>Function</a>
<a href="access.PrivateClass.html#fakeProtectedFunction" class="tsd-kind-icon">fake<wbr>Protected<wbr>Function</a>
</li>
</ul>
</li>
</ul>
<ul class="after-current">
<li class=" tsd-kind-type-alias tsd-parent-kind-module">
<a href="../modules/access.html#bigintliteral" class="tsd-kind-icon">Big<wbr>Int<wbr>Literal</a>
<a href="../modules/access.html#BigIntLiteral" class="tsd-kind-icon">Big<wbr>Int<wbr>Literal</a>
</li>
<li class=" tsd-kind-variable tsd-parent-kind-module tsd-is-private">
<a href="../modules/access.html#fakeprivatevariable" class="tsd-kind-icon">fake<wbr>Private<wbr>Variable</a>
<a href="../modules/access.html#fakePrivateVariable" class="tsd-kind-icon">fake<wbr>Private<wbr>Variable</a>
</li>
<li class=" tsd-kind-variable tsd-parent-kind-module tsd-is-protected">
<a href="../modules/access.html#fakeprotectedvariable" class="tsd-kind-icon">fake<wbr>Protected<wbr>Variable</a>
<a href="../modules/access.html#fakeProtectedVariable" class="tsd-kind-icon">fake<wbr>Protected<wbr>Variable</a>
</li>
<li class=" tsd-kind-function tsd-parent-kind-module tsd-is-private">
<a href="../modules/access.html#fakeprivatefunction" class="tsd-kind-icon">fake<wbr>Private<wbr>Function</a>
<a href="../modules/access.html#fakePrivateFunction" class="tsd-kind-icon">fake<wbr>Private<wbr>Function</a>
</li>
<li class=" tsd-kind-function tsd-parent-kind-module tsd-is-protected">
<a href="../modules/access.html#fakeprotectedfunction" class="tsd-kind-icon">fake<wbr>Protected<wbr>Function</a>
<a href="../modules/access.html#fakeProtectedFunction" class="tsd-kind-icon">fake<wbr>Protected<wbr>Function</a>
</li>
</ul>
</nav>
Expand Down
Loading

0 comments on commit f909281

Please sign in to comment.