eosnetworkfoundation / docsgen

Scripts for creating docs.eosnetwork.com pulls from various eos nf repos and builds static HTML to power website
Other
3 stars 0 forks source link

Basic Fixes for i18n locales #112

Closed ericpassmore closed 1 year ago

ericpassmore commented 1 year ago

Fixes #110 Gets the pages up and running again for non-en locals.

To test follow software installation instructions https://github.com/eosnetworkfoundation/docsgen/blob/main/docs/FirstInstallSoftware.md Then run these commands, this will take a while.

mkdir -p ~/eosnetworkfoundation/build_root
./clean_rebuild.sh -d ~/eosnetworkfoundation/build_root
cd ~/eosnetworkfoundation/build_root/devdocs
npm run serve

Starts a server on localhost:3000. Browse around. Try adding a 'zh' or 'ko' to the front of the url. Example http://localhost:3000/docs/latest/smart-contracts/tutorials/understanding-ABI-files http://localhost:3000/zh/docs/latest/smart-contracts/tutorials/understanding-ABI-files