mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
help: remove http doc server options (#8839)
This commit is contained in:
@ -8,19 +8,6 @@ fn slug(title string) string {
|
||||
return title.replace(' ', '-')
|
||||
}
|
||||
|
||||
[inline]
|
||||
fn open_url(url string) {
|
||||
$if windows {
|
||||
os.system('start $url')
|
||||
}
|
||||
$if macos {
|
||||
os.system('open $url')
|
||||
}
|
||||
$if linux {
|
||||
os.system('xdg-open $url')
|
||||
}
|
||||
}
|
||||
|
||||
fn escape(str string) string {
|
||||
return str.replace_each(['"', '\\"', '\r\n', '\\n', '\n', '\\n', '\t', '\\t'])
|
||||
}
|
||||
|
Reference in New Issue
Block a user