Closed ognian-baruh closed 2 months ago
I'll have a look at this.
The problem with these code snippets is related to Hugo version 101. "prism.js", "prism.css" and "tabpane-persist,js" are not found in the "scripts.html" file because the baseURL is not prepend to the relURL.
This issue is related with google/docsy#1114.
Hi all. FYI, I've merged a fix: https://github.com/google/docsy/pull/1127. Could you try it out and offer some feedback?
It seems to work when I build your site (still using Hugo v0.101.0):
The problem with the code snippets has been resolved google/docsy#1127
The issue will be resolved when Kanto's website is migrated to Hugo modules enabling to update it to the latest Docsy released version that includes this fix (when available) (see #110). Also the downgrade of Hugo workaround (#72) will be discarded along this migration.
Kanto's website is now migrated to Hugo Modules and this issue is resolved
The code snippets in the Getting Started guides in the Eclipse Kanto public documentation are not formatted as code and therefore cannot be copied via the "Copy" button in the top right corner.
The affected pages in the documentation are: