Skip to content

Commit 314b439

Browse files
Fix links in function page
1 parent 4204324 commit 314b439

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

web/src/pages/reference/[func].astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ let funcSyntaxes = parseFunctionSyntaxes(func.id, func.data);
8585
}}>
8686
<!-- Pair Function Ref -->
8787
{funcPair && (
88-
<p><strong>Pair:</strong> <a href={ `/${funcPair}` }>{ funcPair }</a></p>
88+
<p><strong>Pair:</strong> <a href={`/reference/${funcPair}`}>{ funcPair }</a></p>
8989
)}
9090

9191
<!-- Description -->
@@ -115,14 +115,14 @@ let funcSyntaxes = parseFunctionSyntaxes(func.id, func.data);
115115
{funcInfo.oop.constructorclass ? (
116116
<li>
117117
<strong>Constructor</strong>:
118-
<a href={`/${funcInfo.oop.element}`}>{funcInfo.oop.constructorclass}</a>(...)
118+
<a href={`/reference/${funcInfo.oop.element}`}>{funcInfo.oop.constructorclass}</a>(...)
119119
</li>
120120
) : (
121121
<>
122122
{funcInfo.oop.method && (
123123
<li>
124124
<strong>Method</strong>:
125-
<a href={ `/${funcInfo.oop.element}` }>{funcInfo.oop.static ? getFixedStaticOOPClass(funcInfo.oop.element) : funcInfo.oop.element}</a>{funcInfo.oop.static ? '.' : ':'}{funcInfo.oop.method}(...)
125+
<a href={`/reference/${funcInfo.oop.element}`}>{funcInfo.oop.static ? getFixedStaticOOPClass(funcInfo.oop.element) : funcInfo.oop.element}</a>{funcInfo.oop.static ? '.' : ':'}{funcInfo.oop.method}(...)
126126
</li>
127127
)}
128128

0 commit comments

Comments
 (0)