File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 33// This is the base URL of the MDN Web documentation
44export const DOC_MDN_BASE_URL = 'https://developer.mozilla.org/en-US/docs/Web/' ;
55
6- // The is the base URL of the Man7 documentation
6+ // This is the base URL of the Man7 documentation
77export const DOC_MAN_BASE_URL = 'http://man7.org/linux/man-pages/man' ;
88
99// This is the base URL for the MDN JavaScript documentation
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ export const transformUnixManualToLink = (
5555 text ,
5656 command ,
5757 sectionNumber ,
58- sectionLetter
58+ sectionLetter = ''
5959) => {
6060 return `[\`${ text } \`](${ DOC_MAN_BASE_URL } ${ sectionNumber } /${ command } .${ sectionNumber } ${ sectionLetter } .html)` ;
6161} ;
Original file line number Diff line number Diff line change @@ -208,8 +208,8 @@ createQueries.QUERIES = {
208208 stabilityIndexPrefix : / S t a b i l i t y : ( [ 0 - 5 ] ) / ,
209209 // ReGeX for retrieving the inner content from a YAML block
210210 yamlInnerContent : / ^ < ! - - [ ] ? (?: Y A M L ( [ \s \S ] * ?) | ( [ \S ] * ?) ) ? [ ] ? - - > / ,
211- // RegEX for finding references to Unix manuals
212- unixManualPage : / \b ( [ a - z . ] + ) \( ( \d ) ( [ a - z ] ? ) \) / gm ,
211+ // ReGeX for finding references to Unix manuals
212+ unixManualPage : / \b ( [ a - z . ] + ) \( ( \d ) ( [ a - z ] ? ) \) / g ,
213213} ;
214214
215215createQueries . UNIST = {
You can’t perform that action at this time.
0 commit comments