Hi Chen Xiang I've merged https://github.com/apache/incubator-yunikorn-site/pull/117 but still see the build failure. Could you please help to take a look at how to fix this? Thanks
On Fri, Jan 28, 2022 at 5:39 AM Wilfred Spiegelenburg <wilfr...@apache.org> wrote: > Thank you for that, I found the reference in the docusaurus i18n > tutorial now too. > I'll open a jira to get the script updated so a choice can be made > which locale we should run in the dev setup. > > Wilfred > > On Fri, 28 Jan 2022 at 23:43, 陈 翔 <cdmikec...@hotmail.com> wrote: > > > > You can run: yarn run start -- --locale zh-cn > > Different languages need to be started independently in dev mode, but > they will be packaged together in the build phase. > > > > By the way, at present, my last submission of the master branch will > report an error when building. I have submitted a new PR to solve this > problem > > > > > > 发件人: Wilfred Spiegelenburg <wilfr...@apache.org> > > 日期: 星期五, 2022年1月28日 下午6:49 > > 收件人: dev@yunikorn.apache.org <dev@yunikorn.apache.org> > > 主题: Local website build check 2nd language page not working > > I have tried to build the website locally to confirm a change is working. > > Is there anything special that needs to be done to allow browsing the > > translated pages? > > The only thing I get when I try to access the Chinese version (i.e. > > http://localhost:3000/zh-cn/) is an english page with "Page Not Found" > > message. > > > > I just execute the standard: local_build.sh run > > The logs show that it has built the zh-cn locale successfully and I > > can see the files in the build directory also. I tried cleaning up > > everything and re-ran the whole build from scratch.Used multiple > > browsers, cleaned the caches, nothing helped. > > > > Wilfred > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscr...@yunikorn.apache.org > > For additional commands, e-mail: dev-h...@yunikorn.apache.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@yunikorn.apache.org > For additional commands, e-mail: dev-h...@yunikorn.apache.org > >