Repository navigation
Fix bug where api-documenter was incorrectly escaping certain special characters - #393
Conversation
…iles, which will not be added to Git
| @@ -115,12 +115,12 @@ export class MarkdownRenderer { | |||
|
|
|||
| private static _getEscapedText(text: string): string { | |||
There was a problem hiding this comment.
_getEscapedText [](start = 17, length = 15)
It would be nice to have a test case for it. #Resolved
There was a problem hiding this comment.
Good suggestion. I added this case to the existing unit test, and found a couple bugs in doing so. :-)
In reply to: 144613075 [](ancestors = 144613075)
| const docItemSet: DocItemSet = new DocItemSet(); | ||
|
|
||
| const dataFolder: string = path.join(__dirname, '../files'); | ||
| const dataFolder: string = path.join(__dirname, '../local'); |
There was a problem hiding this comment.
local [](start = 52, length = 5)
Is this folder only used by api-doc or for general usage? #Resolved
There was a problem hiding this comment.
General usage. I'm planning to update the sp-client .gitignore as well, and document our standardized folder names on the wiki.
In reply to: 144613385 [](ancestors = 144613385)
…om accidentally modifying it (believing it's the real file)
I thought I did, but actually I was updating the informational copy of the file. :-) I improved FileDiffTest to mark the copy as read-only to avoid this confusion In reply to: 336529032 [](ancestors = 336529032) Refers to: libraries/api-documenter/src/test/MarkdownPageRenderer.test.ts:69 in 1ce0c6c. [](commit_id = 1ce0c6c, deletion_comment = False) |
string.replace("x", "y") only replaces the first match.