Open MoRanYue opened 9 months ago
Every page returns not found when I try to open the website in chinese, did you commit all the files?🤔
Every page returns not found when I try to open the website in chinese, did you commit all the files?🤔
Ok, you cant use yarn start
or npm run start
to view the webpages locally except editing defaultLanguage
to zh-hans
in Docusaurus.config.ts
, the another way is to run yarn build
or npm run build
, then run the server that compiled.
As you see, the command yarn start
only compiles the pages which defaultLanguage
, so others wont be compiled. if you dont trust, you may try to view the pages in other languages, you will get the same result.
for testing, I kept that configuration be zh-hans
. But in last second commit, it wasnt en
so that there will have something wrong if the website runs online. Because of the reason, I pushed the latest commit to fix it.
Please solve the conflict.
i think, my batchfile is more simple
Docusaurus still tells me there are broken anchors 🤔
Docusaurus still tells me there are broken anchors 🤔
its strange, there arent any problems on my device after doing it
Add some sChinese docs, and improve i18n files copying script.