Git Product home page Git Product logo

Comments (4)

jhollist avatar jhollist commented on August 28, 2024

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.

cboettig avatar cboettig commented on August 28, 2024

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.

iamciera avatar iamciera commented on August 28, 2024

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.

jhollist avatar jhollist commented on August 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.