Skip to content
This repository was archived by the owner on Jul 1, 2024. It is now read-only.

Commit e4188f7

Browse files
committed
typedoc: fix internal link replacement
Signed-off-by: Stephan Renatus <stephan@styra.com>
1 parent a02ce04 commit e4188f7

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

typedoc.config.cjs

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ module.exports = {
88
entryPoints: ["src/index.ts"],
99
plugin: ["typedoc-plugin-replace-text"],
1010
replaceText: {
11-
// inCodeCommentText: true,
12-
// inCodeCommentTags: true,
13-
// inIncludedFiles: true,
1411
replacements: [
1512
{
1613
pattern: `> \\[!NOTE\\]`,
@@ -27,12 +24,12 @@ module.exports = {
2724
{
2825
// this captures all links to speakeasy's generated docs
2926
pattern: "docs/sdks/opa/README\\.md",
30-
replace: "classes/sdk.Opa.html",
27+
replace: "classes/Opa-1.html",
3128
},
32-
{ pattern: "#executepolicy", replace: "#executePolicy" },
29+
{ pattern: "#executepolicy\\)", replace: "#executePolicy)" },
3330
{
34-
pattern: "#executepolicywithinput",
35-
replace: "#executePolicyWithInput",
31+
pattern: "#executepolicywithinput\\)",
32+
replace: "#executePolicyWithInput)",
3633
},
3734
{
3835
pattern:

0 commit comments

Comments
 (0)