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 3
3
// This is the base URL of the MDN Web documentation
4
4
export const DOC_MDN_BASE_URL = 'https://developer.mozilla.org/en-US/docs/Web/' ;
5
5
6
- // The is the base URL of the Man7 documentation
6
+ // This is the base URL of the Man7 documentation
7
7
export const DOC_MAN_BASE_URL = 'http://man7.org/linux/man-pages/man' ;
8
8
9
9
// 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 = (
55
55
text ,
56
56
command ,
57
57
sectionNumber ,
58
- sectionLetter
58
+ sectionLetter = ''
59
59
) => {
60
60
return `[\`${ text } \`](${ DOC_MAN_BASE_URL } ${ sectionNumber } /${ command } .${ sectionNumber } ${ sectionLetter } .html)` ;
61
61
} ;
Original file line number Diff line number Diff line change @@ -208,8 +208,8 @@ createQueries.QUERIES = {
208
208
stabilityIndexPrefix : / S t a b i l i t y : ( [ 0 - 5 ] ) / ,
209
209
// ReGeX for retrieving the inner content from a YAML block
210
210
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 ,
213
213
} ;
214
214
215
215
createQueries . UNIST = {
You can’t perform that action at this time.
0 commit comments