Use internal xrefs in docs code gen script (#1588)

This commit is contained in:
James Rodewig
2021-10-28 04:29:09 -04:00
committed by GitHub
parent a5f48d0962
commit cb7421ecfc
2 changed files with 17 additions and 7 deletions

View File

@ -222,7 +222,7 @@ function generateApiDoc (spec) {
doc += `link:${documentationUrl}[Documentation] +\n`
}
if (codeExamples.includes(name)) {
doc += `{jsclient}/${name.replace(/\./g, '_')}_examples.html[Code Example] +\n`
doc += `<<${name.replace(/\./g, '_')}_examples,Code Example>> +\n`
}
if (params.length !== 0) {