Skip to content

Commit cb8de19

Browse files
committed
doc(engines): fix callout and typos
1 parent 9d09f3b commit cb8de19

File tree

3 files changed

+34
-34
lines changed

3 files changed

+34
-34
lines changed

src/documentation/doc-util/doc-types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ export function shortLink(name: string, hierarchy: TypeElementInSource[], codeSt
434434
return '';
435435
}
436436
const [pkg, mainName, node] = res;
437-
const comments = node.comments?.join('\n').replace(/\\?\n|```[a-zA-Z]*|\s\s*/g, ' ').replace(/<\/?code>|`/g, '') ?? '';
437+
const comments = node.comments?.join('\n').replace(/\\?\n|```[a-zA-Z]*|\s\s*/g, ' ').replace(/<\/?code>|`/g, '').replace(/"/g, '\'') ?? '';
438438
return `[${codeStyle ? '<code>' : ''}${
439439
(node.comments?.length ?? 0) > 0 ?
440440
textWithTooltip(pkg ? `${pkg}::<b>${mainName}</b>` : mainName, comments.length > 400 ? comments.slice(0, 400) + '...' : comments) : node.name

src/documentation/print-engines-wiki.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ are exposed with some command line options (e.g., when using the docker image of
4949
5050
${
5151
block({
52-
type: 'INFO',
53-
content: 'AS the tree-sitter engine is only for parsing, it cannot execute R code.'
52+
type: 'WARNING',
53+
content: 'As the tree-sitter engine is only for parsing, it cannot execute R code.'
5454
})
5555
}
5656

0 commit comments

Comments
 (0)