diff --git a/.gitignore b/.gitignore index 7ae4a935957feb01333dd967d2473b7175e17df4..90b6555852765140240ec3e0b9746f523b51f91b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ public resources resources/_gen +.idea + diff --git a/config.toml b/config.toml index de32ebbd6fee630154a8ae3b53d1294645af0256..f8c9dbb8c048877c4e59ba2fcd438afe32a874a6 100644 --- a/config.toml +++ b/config.toml @@ -472,3 +472,9 @@ paginate = 10 [languages.zh] languageCode = "zh-cn" contentDir = "content/zh" + +[taxonomies] + category = "categories" + tag = "tags" + version = "versions" + diff --git a/content/en/download/release_v1.0.0.md b/content/en/download/release_v1.0.0.md new file mode 100644 index 0000000000000000000000000000000000000000..663f79b757f79b36496e277cf9b750e76ae9336c --- /dev/null +++ b/content/en/download/release_v1.0.0.md @@ -0,0 +1,18 @@ ++++ +title = "release_v1.0.0" +lastModified = "2019/09/02 18:09:56" +imageUrl = "https://openeuler-release.obs.cn-south-1.myhuaweicloud.com:443/openeuler/release_v1.0.0.img" +remark = "THIS METADATA IS AUTOGENERATED FOR TRACKING, PLEASE DON'T UPDATE IT MANUALLY." +versions = ["v1.0.0"] ++++ +# openEuler v1.0.0(以下内容翻译) + +What's New? + +1. v1.0.0 provides service mesh capabilities on the edge. Pod-to-pod communication on the same edge node or across edge nodes in the same subnet is supported. + +2. This feature enables edged to communicate with a CRI-compliant runtime to manage containers running on resource constrained edge nodes. Support for containerd is tested. + +3. Modbus Mapper to connect and control devices that use Modbus(RTU/TCP) as a communication protocol. + +4. Edge-controller which connects to Kubernetes api-server and sync node/pod status between edge and kubernetes api-server. diff --git a/content/en/download/release_v4.0.0.md b/content/en/download/release_v4.0.0.md new file mode 100644 index 0000000000000000000000000000000000000000..5f71e769023c699df85c74f3672920316482a264 --- /dev/null +++ b/content/en/download/release_v4.0.0.md @@ -0,0 +1,17 @@ ++++ +title = "release_v4.0.0" +lastModified = "2019/09/02 18:09:56" +imageUrl = "https://openeuler-release.obs.cn-south-1.myhuaweicloud.com:443/openeuler/release_v4.0.0.img" +remark = "THIS METADATA IS AUTOGENERATED FOR TRACKING, PLEASE DON'T UPDATE IT MANUALLY." +versions = ["v4.0.0"] ++++ +# openEuler v0.4.0 +What's New? + +1. v0.4.0 provides service mesh capabilities on the edge. Pod-to-pod communication on the same edge node or across edge nodes in the same subnet is supported. + +2. This feature enables edged to communicate with a CRI-compliant runtime to manage containers running on resource constrained edge nodes. Support for containerd is tested. + +3. Modbus Mapper to connect and control devices that use Modbus(RTU/TCP) as a communication protocol. + +4. Edge-controller which connects to Kubernetes api-server and sync node/pod status between edge and kubernetes api-server. diff --git a/content/en/download/release_v5.0.0.md b/content/en/download/release_v5.0.0.md new file mode 100644 index 0000000000000000000000000000000000000000..05d1fecae971388c15ee99ee67f7e414777c02ac --- /dev/null +++ b/content/en/download/release_v5.0.0.md @@ -0,0 +1,17 @@ ++++ +title = "release_v5.0.0" +lastModified = "2019/09/02 18:09:56" +imageUrl = "https://openeuler-release.obs.cn-south-1.myhuaweicloud.com:443/openeuler/release_v5.0.0.img" +remark = "THIS METADATA IS AUTOGENERATED FOR TRACKING, PLEASE DON'T UPDATE IT MANUALLY." +versions = ["v5.0.0"] ++++ +# openEuler v0.5.0 +What's New? + +1. v0.4.0 provides service mesh capabilities on the edge. Pod-to-pod communication on the same edge node or across edge nodes in the same subnet is supported. + +2. This feature enables edged to communicate with a CRI-compliant runtime to manage containers running on resource constrained edge nodes. Support for containerd is tested. + +3. Modbus Mapper to connect and control devices that use Modbus(RTU/TCP) as a communication protocol. + +4. Edge-controller which connects to Kubernetes api-server and sync node/pod status between edge and kubernetes api-server. diff --git a/content/zh/download.md b/content/zh/download/release_v1.0.0.md similarity index 49% rename from content/zh/download.md rename to content/zh/download/release_v1.0.0.md index d02c370d7f08186b89b2d10492a78caf4452873d..6a24669dcaaa77d98916196d44c6e404f1899986 100644 --- a/content/zh/download.md +++ b/content/zh/download/release_v1.0.0.md @@ -1,6 +1,9 @@ +++ -title = "下载" -id = "download" +title = "release_v1.0.0" +lastModified = "2019/09/02 18:09:56" +imageUrl = "https://openeuler-release.obs.cn-south-1.myhuaweicloud.com:443/openeuler/release_v1.0.0.img" +remark = "THIS METADATA IS AUTOGENERATED FOR TRACKING, PLEASE DON'T UPDATE IT MANUALLY." +versions = ["v1.0.0"] +++ # openEuler v1.0.0(以下内容翻译) @@ -14,14 +17,3 @@ What's New? 3. Modbus Mapper to connect and control devices that use Modbus(RTU/TCP) as a communication protocol. 4. Edge-controller which connects to Kubernetes api-server and sync node/pod status between edge and kubernetes api-server. - -# openEuler v0.4.0 -What's New? - -1. v0.4.0 provides service mesh capabilities on the edge. Pod-to-pod communication on the same edge node or across edge nodes in the same subnet is supported. - -2. This feature enables edged to communicate with a CRI-compliant runtime to manage containers running on resource constrained edge nodes. Support for containerd is tested. - -3. Modbus Mapper to connect and control devices that use Modbus(RTU/TCP) as a communication protocol. - -4. Edge-controller which connects to Kubernetes api-server and sync node/pod status between edge and kubernetes api-server. diff --git a/content/en/download.md b/content/zh/download/release_v4.0.0.md similarity index 48% rename from content/en/download.md rename to content/zh/download/release_v4.0.0.md index d4e163c9bc6bdd71e03411207e3553046c757c09..9ef0be24bf2e1ab30779825ffe83cdaafc66ea8e 100644 --- a/content/en/download.md +++ b/content/zh/download/release_v4.0.0.md @@ -1,20 +1,11 @@ +++ -title = "Download" -id = "download" +title = "release_v4.0.0" +lastModified = "2019/09/02 18:09:56" +imageUrl = "https://openeuler-release.obs.cn-south-1.myhuaweicloud.com:443/openeuler/release_v4.0.0.img" +remark = "THIS METADATA IS AUTOGENERATED FOR TRACKING, PLEASE DON'T UPDATE IT MANUALLY." +versions = ["v4.0.0"] +++ -# openEuler v1.0.0 - -What's New? - -1. v1.0.0 provides service mesh capabilities on the edge. Pod-to-pod communication on the same edge node or across edge nodes in the same subnet is supported. - -2. This feature enables edged to communicate with a CRI-compliant runtime to manage containers running on resource constrained edge nodes. Support for containerd is tested. - -3. Modbus Mapper to connect and control devices that use Modbus(RTU/TCP) as a communication protocol. - -4. Edge-controller which connects to Kubernetes api-server and sync node/pod status between edge and kubernetes api-server. - # openEuler v0.4.0 What's New? @@ -24,4 +15,4 @@ What's New? 3. Modbus Mapper to connect and control devices that use Modbus(RTU/TCP) as a communication protocol. -4. Edge-controller which connects to Kubernetes api-server and sync node/pod status between edge and kubernetes api-server. \ No newline at end of file +4. Edge-controller which connects to Kubernetes api-server and sync node/pod status between edge and kubernetes api-server. diff --git a/content/zh/download/release_v5.0.0.md b/content/zh/download/release_v5.0.0.md new file mode 100644 index 0000000000000000000000000000000000000000..ccfe5ba54ce85b09cb79277bd1923694750bf171 --- /dev/null +++ b/content/zh/download/release_v5.0.0.md @@ -0,0 +1,18 @@ ++++ +title = "release_v5.0.0" +lastModified = "2019/09/02 18:09:56" +imageUrl = "https://openeuler-release.obs.cn-south-1.myhuaweicloud.com:443/openeuler/release_v5.0.0.img" +remark = "THIS METADATA IS AUTOGENERATED FOR TRACKING, PLEASE DON'T UPDATE IT MANUALLY." +versions = ["v5.0.0"] ++++ + +# openEuler v0.5.0 +What's New? + +1. v0.4.0 provides service mesh capabilities on the edge. Pod-to-pod communication on the same edge node or across edge nodes in the same subnet is supported. + +2. This feature enables edged to communicate with a CRI-compliant runtime to manage containers running on resource constrained edge nodes. Support for containerd is tested. + +3. Modbus Mapper to connect and control devices that use Modbus(RTU/TCP) as a communication protocol. + +4. Edge-controller which connects to Kubernetes api-server and sync node/pod status between edge and kubernetes api-server. diff --git a/themes/project/i18n/en.yaml b/themes/project/i18n/en.yaml index 431fd470a151a2388cb47b8ddfcedf63760ed639..9bc779234e274897e2c31ecd046f66acdfe14aec 100644 --- a/themes/project/i18n/en.yaml +++ b/themes/project/i18n/en.yaml @@ -69,3 +69,9 @@ - id: publishedOn translation: "on" + +- id: downloadImage + translation: "Download Image" + +- id: versionsTitle + translation: "Versions" diff --git a/themes/project/i18n/zh.yaml b/themes/project/i18n/zh.yaml index d8cd5644b51ba79c46f50c491037a7c5008ddcbd..0370ee86faeb0adf0828dfd35f8d29bc69fc44ee 100644 --- a/themes/project/i18n/zh.yaml +++ b/themes/project/i18n/zh.yaml @@ -69,3 +69,9 @@ - id: publishedOn translation: "在" + +- id: downloadImage + translation: "下载镜像" + +- id: versionsTitle + translation: "版本" \ No newline at end of file diff --git a/themes/project/layouts/download/list.html b/themes/project/layouts/download/list.html new file mode 100644 index 0000000000000000000000000000000000000000..1debb79068bc3080c7186ee377628ba9de2f2650 --- /dev/null +++ b/themes/project/layouts/download/list.html @@ -0,0 +1,88 @@ + + + + {{ partial "head.html" . }} + + + +
+ +
+ + {{ partial "nav.html" . }} + +
+ + {{ partial "breadcrumbs.html" . }} + +
+
+
+ + +
+ + {{ $paginator := .Paginate (where .Data.Pages "Type" "download") }} + {{ range $paginator.Pages }} +
+
+
+

{{ .Content }}

+

{{ i18n "downloadImage" }} +

+
+
+
+
+ {{ end }} + + +
+ + + + + + +
+ + + + {{ partial "sidebar.html" (dict "context" . "downloadPage" "true") }} + + + +
+ + + + +
+ +
+ +
+ + + {{ partial "footer.html" . }} + +
+ + + {{ partial "scripts.html" . }} + + + diff --git a/themes/project/layouts/partials/download.html b/themes/project/layouts/partials/download.html deleted file mode 100644 index ea37ba83ae57486a8c8712e186108ee3516157ea..0000000000000000000000000000000000000000 --- a/themes/project/layouts/partials/download.html +++ /dev/null @@ -1,87 +0,0 @@ -
- -
-
- -
- - {{ .Content }} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- -
-
-
  • -

    SEARCH

    - -
  • -
  • -

    CATEGORIES

    -

    V1.0.0

    -

    V0.4.0

    -

    V0.3.0

    -

    V0.2.0

    -

    V0.1.0

    -
  • -
    - - -
    - -
    - -
    - -{{ partial "map.html" . }} diff --git a/themes/project/layouts/partials/sidebar.html b/themes/project/layouts/partials/sidebar.html index 899ee631b6ef264220606b301b9d303e1e335ec2..b85f116e883c1e01385e3a9d42487d6898086931 100644 --- a/themes/project/layouts/partials/sidebar.html +++ b/themes/project/layouts/partials/sidebar.html @@ -1,5 +1,11 @@ -{{ partial "widgets/search.html" . }} +{{ if isset . "downloadPage" }} + {{ partial "widgets/search.html" .context }} -{{ partial "widgets/categories.html" . }} + {{ partial "widgets/versions.html" .context }} +{{ else }} + {{ partial "widgets/search.html" . }} -{{ partial "widgets/tags.html" . }} + {{ partial "widgets/categories.html" . }} + + {{ partial "widgets/tags.html" . }} +{{ end }} \ No newline at end of file diff --git a/themes/project/layouts/partials/widgets/versions.html b/themes/project/layouts/partials/widgets/versions.html new file mode 100644 index 0000000000000000000000000000000000000000..0ac7e4c10233945d8ccef422f8a7f3a30fe5c55a --- /dev/null +++ b/themes/project/layouts/partials/widgets/versions.html @@ -0,0 +1,19 @@ +{{ if isset .Site.Taxonomies "versions" }} +{{ if not (eq (len .Site.Taxonomies.versions) 0) }} + +{{ end }} +{{ end }}