Comments (4)
Not exactly sure, but in _config.yml
it is currently set to /test
. My fork didn't work until I set it to root (i.e. baseurl: /
). I believe that since this is being served out of the gh-pages branch, the root would resolve at http://ropensci.github.io/reproducibility-guide
, which is what we want.
I am sure there are others with a lot more expertise than I who can weigh in.
from reproducibility-guide.
Yup, the github repo name (i.e. the local path) would be sufficient for hosting via gh-pages, baseurl: /reproducibility-guide
, so that you could build the site locally and view it at (using the default build port) localhost:4000/reproducibility-guide/index.html
, as well as online as @jhollist indicates.
A quick glance shows that index.html
isn't using {{base.url}}
to link the posts though, and has hardwired reproducibility-guide
before {{post.url}}
. Guess we should fix that too.
from reproducibility-guide.
Yeah. I couldn't seem to get it to work in another repo so I hardwired all the links. I changed it back to how I believe it should work, which I believe is what you guys are talking about, but now the links don't work.
from reproducibility-guide.
I think I've got it. I'll submit a PR shortly with
set baseurl: /reproducibility-guide
index.html with {{ site.baseurl }}
instead of hardwired
default.html layout with home link pointing to the baseurl as well.
from reproducibility-guide.
Related Issues (20)
- References page links HOT 1
- Add Karl's reproducibility stuff HOT 5
- Readability of Text HOT 1
- Change Meta Data to Metadata HOT 1
- Change Meta Data to Metadata
- Possible framework for rendering to html HOT 10
- Collaborators Section HOT 2
- References Highlight HOT 1
- improving readability HOT 7
- suggestion for collaborationGuide
- Sections Buttons : Response Behavior
- Workflow Contribution
- About text: suggested edits HOT 1
- Reproducibility Guide Future? HOT 3
- Fix page build problems HOT 11
- Broken link in Writing code section HOT 2
- _site/ redundant?
- Grammar error in fourth section’s title
- Spelling error in fourth section, first paragraph
- Scheduled archival
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 reproducibility-guide.