Upgrade Hugo and Docsy #1676
-
Team, I am trying to upgrade Hugo(0.117.0) and Docsy(0.7.1) and getting below error,
PR - googleforgames/agones#3351 Build Log - https://gist.github.com/Kalaiselvi84/013aa9abc8ca883fb4172df7577dab63 Could you please help me fix this issue? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 7 replies
-
I was able to convert your repo and get it up and running again. See my PR on your repo. I could successfully run your site locally. Some conversion work needs to be still done, see this blog post for instructions on this. |
Beta Was this translation helpful? Give feedback.
-
Hi, I have removed the existing docsy folder and I've followed the shared documentation - https://www.docsy.dev/docs/updating/convert-site-to-module/ Hugo-server is succeeded after the necessary modifications - https://gist.github.com/Kalaiselvi84/32e3948bfe66a89df2195f8989856069 Getting below error(sample included) when I executed the
Sample error:
Could you possibly provide any suggestions or leads to assist in resolving this issue? |
Beta Was this translation helpful? Give feedback.
-
You have a file layouts/partials/head.html inside your theme. It has 31 lines. This file overrides the docsy theme file layouts/partials/head.html which has 71 files. Ergo: inside your site, you are using an outdated version of the file, this is the reason for the error you are getting. Delete your site local version of this file and you should be fine. |
Beta Was this translation helpful? Give feedback.
-
I have tried deleting the https://gist.github.com/Kalaiselvi84/0ccffae8405ba1bc7dfc37b54874e80f I am facing this issue when I tried to upgrade only Hugo with the latest version 0.118.2. |
Beta Was this translation helpful? Give feedback.
-
@deining, I really/urgently need your assistance... I'm encountering alignment issues with the Agones website. Despite adjusting the HTML and CSS, the alignment doesn't appear consistent across different monitor sizes. I followed the guide at https://www.docsy.dev/docs/updating/convert-site-to-module/, and the |
Beta Was this translation helpful? Give feedback.
-
Please be more specific. What files are affected? What exactly changed in these files? Can you please provide a diff between the old and the new version of affected file(s). Thanks. |
Beta Was this translation helpful? Give feedback.
The issue was resolved by adjusting the path of the prism references in the html files.