1.5 KiB
1.5 KiB
ShardingSphere Documents
HOW to build ShardingSphere website?
To build ShardingSphere website by means of hugo and hugo theme learn.
Follow the steps below to deploy ShardingSphere website,
- Execute
docs/build.shto generatehtmlfiles at the directory ofdocs/target/. - Clone shardingsphere-doc.
- Checkout to
asf-sitebranch. - Overwrite
document/currentwithdocs/target/document/current,communitywithdocs/target/communityandblogwithdocs/target/blog. - Commit changes and raise a PR for shardingsphere-doc.
Note:
- If you modify
docs/build.sh, please test it locally.
HOW to insert a video of Bilibili or YouTube?
-
First please make sure you get the correct url of the video you want to add.
-
-
DO REMEMBER use the
bvid argumentof bilibili url:for example : https://www.bilibili.com/video/BV1aE411X7kQ?from=search&seid=5978719442257399675 ( bvid argument means
BV1aE411X7kQ, or you can simply recognize the argument withCapital Letter) -
YouTube url is much easier to recognize : https://www.youtube.com/watch?v=2MsN8gpT6jY , the argument you needed is
2MsN8gpT6jYat the end of the url.
-
-
Use the shortcodes at wherever you want to place:
-
{{< bilibili BV1aE411X7kQ >}} -
{{< youtube 2MsN8gpT6jY >}}
-