File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,10 @@ exports.buildReadme = function(pkg) {
11
11
let sibling = type . typeSource && core . find ( name => type . typeSource . startsWith ( "../" + name + "/" ) )
12
12
if ( sibling ) return "https://codemirror.net/docs/ref#" + sibling + "." + type . type
13
13
} , type => {
14
- if ( / \b l e z e r [ \/ - ] t r e e \b / . test ( type . typeSource ) ) return `https://lezer.codemirror.net/docs/ref/#tree.${ type . type } `
15
- if ( / \b l e z e r \b / . test ( type . typeSource ) ) return `https://lezer.codemirror.net/docs/ref/#lezer.${ type . type } `
14
+ if ( / \b l e z e r \/ t r e e \b / . test ( type . typeSource ) ) return `https://lezer.codemirror.net/docs/ref/#tree.${ type . type } `
15
+ if ( / \b l e z e r \/ c o m m o n \b / . test ( type . typeSource ) ) return `https://lezer.codemirror.net/docs/ref/#common.${ type . type } `
16
+ if ( / \b l e z e r \/ l r \b / . test ( type . typeSource ) ) return `https://lezer.codemirror.net/docs/ref/#lr.${ type . type } `
17
+ if ( / \b l e z e r \/ m a r k d o w n \b / . test ( type . typeSource ) ) return `https://github.com/lezer-parser/markdown#user-content-${ type . type . toLowerCase ( ) } `
16
18
if ( / \b s t y l e - m o d \b / . test ( type . typeSource ) ) return "https://github.com/marijnh/style-mod#documentation"
17
19
} , browserImports ]
18
20
You can’t perform that action at this time.
0 commit comments