-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-pages command not working. Showing README.md content #186
Comments
Even creating an orphan branch with |
Hey there. Gonna run through the steps to reproduce, and see if I can find out where the issue is... |
Cool! Thank you so much! I've updated the |
Hey there. Looks like there's been a change in gh-pages, so we will update presidium to accommodate. In the meantime, to get my test working, I used the orphan approach. There's nice instructions here: If you follow the above instructions, replace In short, the rendered site lives in As soon as we have a permanent fix to our gh-pages deploy script, we'll push up and bump up the version. Also remember, you'll have to change your baseurl in _config.yml to reflect the github pages path, so Let me know if you need any other assistance in the meantime. Trav |
@ruaanvds I added you to this thread, will ping you in the morning on status update. |
Ok! I'll try! I realised that when you use the template https://github.com/SPANDigital/presidium-template.git the command Hope It helps |
Alternative solution to gh-pages is to publish public docs to a /docs directory which is simpler than another branch: See: jware-solutions/geophp-documentation#4 (Your baseurl was not set) |
Good point @pacomendes , fairly easy for us to change the deploy dir... Much easier than an orphaned branch on dist/site... Just the rendered files in doc/ |
Thank you really much @pacomendes ! That worked like a charm! I had to remove the It would be very cool to change the default behaviour as @torabisu proposed since we don't need to create another branch to make things work. Thank you again, for the solution, and for this framewok! |
Hi, I've cloned this template repository. I've added my custom documentation content. Now I'm trying to deploy my repo running
npm run gh-pages
, but when I open my github page It's showing the README.md file's content.I'm looking your User documentation repository and I see that on your branch
gh-pages
you only have thedist
folder content. It's an error of thegh-page
command or I should push thedist
content on mygh-pages
banch? The command is pushing all my current branch content to that branch, so I don't understand how It could work.When I do a clean example it puts the
.versions
content folder ingh-pages
branch, but the styles and Scripts seems to be not working.Steps to reproduce the last problem:
Here you can appreciate the result. You can check the code here.
Thanks in advance and sorry about my English.
The text was updated successfully, but these errors were encountered: