Skip to content

Commit

Permalink
fix(docs): remove links after typedoc upgrade (AmadeusITGroup#1086)
Browse files Browse the repository at this point in the history
  • Loading branch information
quentinderoubaix authored Jan 7, 2025
1 parent 863721b commit f5f42f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demo/src/lib/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -254,10 +254,10 @@ async function docsToReadme(
if (line.startsWith('##') || line.startsWith('***')) {
toInclude = true;
}
if (line.match(/^##(#)*\s(Extends|Inherited from|Defined in|Overrides)/)) {
if (line.match(/^##(#)*\s(Extends|Inherited from|Overrides)/)) {
toInclude = false;
}
if (toInclude) {
if (toInclude && !line.startsWith('Defined in')) {
fileContent.push(
line
.replace(/^(#(#+).*)\(\)$/, '$1')
Expand Down

0 comments on commit f5f42f9

Please sign in to comment.