Comments (6)
If one changes the base url in _config.yml to "/mysite/" it works, but I believe that this is not correct (jekyll serve now says Server address: http://127.0.0.1:4000/mysite//
from servr.
You didn't bring a minimal reproducible example, so all I can do is guess, and my guess is you didn't set the option correctly, e.g. you should
knitr::opts_knit$set(base.url = '/mysite/')
and for some reason, you probably ended up with
knitr::opts_knit$set(base.url = '/mysite')
from servr.
i specify the base url in the _config.yml file, which is read by build.R
according to the example supplied by jekyll, the baseurl in _config.yml should not include the final /
#baseurl: /path/to/blog
not
#baseurl: /path/to/blog/
however I believe that this issue may be with the build.R script in your other repo here, and not in this repo. sorry.
from servr.
Okay, I'll fix the _config.yml in the other repo. Thanks!
from servr.
I don't know much about servr, knitr, jekyll, etc., but this problem is preventing me from publishing my blog, so I tried the following and it didn't help:
on line 91 of dynamic.R, pass in argument paste0(baseurl, '/')
as the baseurl
parameter, instead of local variable baseurl
.
Just mentioning this in case it is helpful to those who know more about the situation than I do.
I also noticed the build_jekyll
function is never called.
from servr.
OK, I made a very kludgey patch, but it does work....
https://github.com/rcorty/CortyKit/blob/master/R/servr_patch.R
from servr.
Related Issues (20)
- nginx and initpath and baseurl, oh my HOT 2
- URLs on RStudio Server HOT 1
- superfluous warning from random_port HOT 1
- View server logs? HOT 1
- servr does not reclaim daemonised servers after deamon_stop() HOT 1
- "auto_ptr" deprecation warning on installation HOT 4
- single quote doesn't work for Rscript on Windows 10 HOT 5
- servr::rmdv2 is blocking ? HOT 1
- Malformed Accept-Ranges Header
- Could we set the files being rendered with rmdv2 ? HOT 1
- How to run server inside docker HOT 13
- Use Perl-like regex for file matching HOT 1
- Start a server without launching browser HOT 7
- Unsafe ports list needs to be updated
- Periodic refresh HOT 1
- How to use handler? HOT 1
- inf_mr() opening new instances when saving .Rmd file in R Studio HOT 3
- Unicode not working in inf_mr() HOT 3
- Authentication HOT 5
- Documentation unclear that deamon=TRUE will hang on requests from the same process
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from servr.