-
I’m trying to update the url for the Edit Me button (above) on a Jekyll site I’m building, by entering the basepath URL in the config.yml file. I tried using the full URL: https://github.com/[profilename]/[reponame].git And all kinds of combinations of /[profilename]/[reponame] I have published the site using a cname record to <docs.mysitename.com> But every combination produces a 404 error. Any tips or guidance appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
Hi @texterity, Is your repository public? If so, could you share a link to it so that we can check out the code you’re working with? I think that will help for troubleshooting this. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Actually no - which might be part of the problem, now you mention it! I will create a public version and try and again, and if that doesn’t solve the problem, then I will post it. |
Beta Was this translation helpful? Give feedback.
-
OK I’ve made that repo public at http://docs.texterity.com.au (It’s a copy of the Jekyll Documentation template from the idratherbewriting blog.) There are currently two branches, Master and Review. I had the idea that I could point the Edit Me link to the Review branch. But the desired effect is that, anonymous users (i.e. not signed in to Github) can propose edits. |
Beta Was this translation helpful? Give feedback.
-
Incidentally in the idratherbewriting template the basepath url is tomjoht/documentation-theme-jekyll/blob/gh-pages/ Is the term ‘blob’ required for this expression? |
Beta Was this translation helpful? Give feedback.
-
Answered my own question! Open the repo and branch that you want to be the destination for the edit path, then copy the URL between /yourid and the file name. That becomes the base path for the config.yml. |
Beta Was this translation helpful? Give feedback.
-
Hey @texterity, Thank you for coming back and sharing what worked for you! |
Beta Was this translation helpful? Give feedback.
Answered my own question! Open the repo and branch that you want to be the destination for the edit path, then copy the URL between /yourid and the file name. That becomes the base path for the config.yml.