/website-1

SuperEdge website and documentation

Primary LanguageHTMLApache License 2.0Apache-2.0

SuperEdge Documentation

This repo contains the assets used to build the SuperEdge website at https://superedge.io.

Running and developing the website locally

1. To run the site locally, you need to install:

2. Clone this repo and its submodules

git clone https://github.com/superedge/website.git
cd website
npm install
make load-submodule

3. Serve the site locally

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.

How to modify the documentation

Most of the documentation lives in:

  • Chinese: content/zh/docs
  • English: content/en/docs

Other assets

  • 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 using codenew shortcut.

For example,

{{< codenew file="serviceGroup/edge-health-admission.yaml" >}}

Deployments and PR previews

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.