This repo contains the assets used to build the SuperEdge website at https://superedge.io.
- npm
- Hugo (extended version) with the version specified in the netlify.toml
git clone https://github.com/superedge/website.git
cd website
npm install
make load-submodule
make serve
Open http://localhost:1313 in your browser to see the running site. Any code change to the site content will immediately be updated to the running site.
Most of the documentation lives in:
- Chinese:
content/zh/docs
- English:
content/en/docs
- Attached images in the docs should be put in
static/images/docs/
. - Sample yaml config should be stored as yaml file in
content/<en/zh>/examples/
and reference usingcodenew
shortcut.
For example,
{{< codenew file="serviceGroup/edge-health-admission.yaml" >}}
Commits to the main
branch will be automatically published to the https://superedge.io by Netlify.
PR triggers Netlify to build a preview site and return the site link on the PR page.