mirror of
https://github.com/gren-lang/compiler.git
synced 2024-10-26 18:00:47 +03:00
fix: hint links
hint links points directly to github file
This commit is contained in:
parent
58ba88c002
commit
e777f77fa4
@ -182,11 +182,15 @@ fancyLink word before fileName after =
|
||||
|
||||
makeLink :: [Char] -> [Char]
|
||||
makeLink fileName =
|
||||
"<https://gren-lang.org/" <> V.toChars V.compiler <> "/" <> fileName <> ">"
|
||||
"<" <> makeNakedLink fileName <> ">"
|
||||
|
||||
makeNakedLink :: [Char] -> [Char]
|
||||
makeNakedLink fileName =
|
||||
"https://gren-lang.org/" <> V.toChars V.compiler <> "/" <> fileName
|
||||
"https://github.com/gren-lang/compiler/blob/"
|
||||
<> V.toChars V.compiler
|
||||
<> "/hints/"
|
||||
<> fileName
|
||||
<> ".md"
|
||||
|
||||
reflowLink :: [Char] -> [Char] -> [Char] -> P.Doc
|
||||
reflowLink before fileName after =
|
||||
|
Loading…
Reference in New Issue
Block a user