Closed vincentarelbundock closed 7 months ago
urlBrowser() is a useless call with docsify and docute, because we need a live server to display the website, so that just launches an empty browser.
urlBrowser()
But it turns out that servr::httw works perfectly fine, even in weird setups like mine: WSL Ubuntu on Windows.
servr::httw
This removes the rstudioapi check and calls this immediately.
rstudioapi
This is actually pretty nice. I have to admit that I never really got the need for preview_docs(), but now that I can use it in my own workflow, it's super fun.
preview_docs()
urlBrowser()
is a useless call with docsify and docute, because we need a live server to display the website, so that just launches an empty browser.But it turns out that
servr::httw
works perfectly fine, even in weird setups like mine: WSL Ubuntu on Windows.This removes the
rstudioapi
check and calls this immediately.