Skip to content
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

Code snippets in Eclipse Kanto public documentation are not displayed properly #57

Closed
ognian-baruh opened this issue Jul 8, 2022 · 6 comments
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@ognian-baruh
Copy link

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:

@ognian-baruh ognian-baruh added the bug Something isn't working label Jul 8, 2022
@ognian-baruh ognian-baruh added this to the M2 milestone Jul 8, 2022
@daniel-milchev
Copy link
Contributor

I'll have a look at this.

@daniel-milchev
Copy link
Contributor

daniel-milchev commented Jul 27, 2022

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.

@chalin
Copy link

chalin commented Jul 27, 2022

Hi all. FYI, I've merged a fix: google/docsy#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):

image

@daniel-milchev
Copy link
Contributor

The problem with the code snippets has been resolved google/docsy#1127

@konstantina-gramatova
Copy link
Contributor

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.

@konstantina-gramatova konstantina-gramatova modified the milestones: M2, M3 Sep 27, 2022
@konstantina-gramatova konstantina-gramatova added the documentation Improvements or additions to documentation label Oct 4, 2022
@k-gostev
Copy link
Member

Kanto's website is now migrated to Hugo Modules and this issue is resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
Status: Done
Development

No branches or pull requests

5 participants