How do I upload documentation?

46 views
Skip to first unread message

cust...@gmail.com

unread,
Sep 4, 2014, 2:02:31 PM9/4/14
to shinyap...@googlegroups.com
Hello everyone!

I'm a little confused about how the function "deployApp()" understands the borders of the app to upload. In my ui.R file, I have a link to help/index.html (my slidified doc file), made with

tags$a(href="help/index.html", "Read the Documentation!"),

But, when I try and click, the link is broken, because the html file is missing on the Shinyapp server.

How should that work?
Or I'm just not supposed to upload on shinyapp any non-shinyapp file?

Thank you in advance.

Yihui Xie

unread,
Sep 4, 2014, 2:20:12 PM9/4/14
to cust...@gmail.com, shinyap...@googlegroups.com
I think the easiest thing for you to do is to put help/index.html
under the www directory of your app. This file is probably not missing
on ShinyApps, but the link does not work because shiny does not allow
arbitrary links without pre-registering the URL prefix (see
?shiny::addResourcePath).

Regards,
Yihui
--
Yihui Xie <xiey...@gmail.com>
Web: http://yihui.name

cust...@gmail.com

unread,
Sep 4, 2014, 2:36:10 PM9/4/14
to shinyap...@googlegroups.com, cust...@gmail.com
Thank you Yihui.

The solution worked and the helpfile was really helpful too.

Mohd Azahari Yaakub

unread,
Jan 25, 2016, 3:48:45 AM1/25/16
to ShinyApps Users
Hi,

I was searching for solution to include readme/documentation as link in my shinyapp.  I have deployed one in shinyapp.io but now want to add the href to the doc.html supposedly at the same level with ui.r and server.r

also, since i'm developing using rstudio on windows, how do I make the code work in windows and shinyapps.io

thanx for helping.

Tareef Kawaf

unread,
Jan 25, 2016, 9:29:51 AM1/25/16
to Mohd Azahari Yaakub, ShinyApps Users
I believe you want to put the doc.html under a www directory that you create below the ui.R/server.R files.  



--
You received this message because you are subscribed to the Google Groups "ShinyApps Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shinyapps-use...@googlegroups.com.
To post to this group, send email to shinyap...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shinyapps-users/24fe99f2-99ba-4426-811e-1d6ef78e8c52%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages