Bad title, because I don't know what this feature is called (or how to search for a solution). Prior to RStudio Server 1.2, I could preview Jekyll pages that use the relative_url filter by passing the argument --baseurl=/p/4321 to jekyll build in the terminal, and then calling servr::httd('_site', port = 4321 from the R console. This worked, because RStudio Server would proxy the port to my.rstudio.server.com/p/4321/.
Now, RStudio Server uses some alpha-numeric code rather than a port number, so the address looks like my.rstudio.server.com/p/ef22a9ac/. Without knowing the ef22a9ac in advance, I cannot pass the baseurl to jekyll at build time.
Tips on a solution, or where the change is documented, would be greatly appreciated.
Thanks so much! I think this will help, although I don't immediately see how to get the translation where it needs to go. I use a Makefile to build my GitHub pages site for a local preview before pushing to GitHub. It contains this recipe: