You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2019/09/19 05:38:34 UTC

[GitHub] [incubator-hudi] yanghua commented on issue #896: Updating site to reflect recent doc changes

yanghua commented on issue #896: Updating site to reflect recent doc changes
URL: https://github.com/apache/incubator-hudi/pull/896#issuecomment-532974518
 
 
   > @yanghua I bumped into some issues and may need your help here. Here are my observations.
   > 
   > When I replace all the css, images and js paths with the first '/' removed, the 'en' website seems to be working fine but the 'cn' website styling is broken. On further inspection in the generate docs/_site I see that the structure of the folders is a default folder that has all the pages for 'en' and a sub folder for 'cn' that has the same pages in Chinese. However, the footer.html, head.html and topnav.html under docs/_includes used for site generation is shared across languages. So when using absolute path the cn would work because it would refer to _site/css/_.css files whereas when using relative path the base url is appended like _site/cn/css/_.css ( But there is no /cn/css). This is the issue.
   > 
   > I dont know much about jkeyll. I was trying to figure out a similar folder structure for making changes. Something like this - http://chocanto.me/2016/04/16/jekyll-multilingual.html sounds similar to how you are setting up ? Do you have any pointers on how to fix this ?
   
   @bhasudha It seems it's the reason  that's why I add the '/' char. Let me try to fix the problem.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services