To build ShardingSphere website by means of hugo and hugo theme learn.
Follow the steps below to deploy ShardingSphere website,
- Execute
docs/build.sh
to generatehtml
files at the directory ofdocs/target/
. - Clone shardingsphere-doc.
- Checkout to
asf-site
branch. - Overwrite
document/current
withdocs/target/document/current
,community
withdocs/target/community
andblog
withdocs/target/blog
. - Commit changes and raise a PR for shardingsphere-doc.
Note,
- If you modify
docs/build.sh
, please test it locally.