From 09351839e0c2dcf451396309094c697584685612 Mon Sep 17 00:00:00 2001 From: kevin Date: Wed, 29 Jan 2025 20:02:13 +0800 Subject: [PATCH] chore: modify docs layout --- .../auto-validation.md | 4 ++-- .../{go-zero-configuration => configuration}/log.md | 0 .../overview.md | 0 .../prometheus.md | 0 .../service.md | 0 .../auto-validation.md | 4 ++-- .../{go-zero-configuration => configuration}/log.md | 0 .../overview.md | 0 .../prometheus.md | 0 .../service.md | 0 sidebars.js | 10 +++++----- 11 files changed, 9 insertions(+), 9 deletions(-) rename docs/tutorials/{go-zero-configuration => configuration}/auto-validation.md (97%) rename docs/tutorials/{go-zero-configuration => configuration}/log.md (100%) rename docs/tutorials/{go-zero-configuration => configuration}/overview.md (100%) rename docs/tutorials/{go-zero-configuration => configuration}/prometheus.md (100%) rename docs/tutorials/{go-zero-configuration => configuration}/service.md (100%) rename i18n/en/docusaurus-plugin-content-docs/current/tutorials/{go-zero-configuration => configuration}/auto-validation.md (98%) rename i18n/en/docusaurus-plugin-content-docs/current/tutorials/{go-zero-configuration => configuration}/log.md (100%) rename i18n/en/docusaurus-plugin-content-docs/current/tutorials/{go-zero-configuration => configuration}/overview.md (100%) rename i18n/en/docusaurus-plugin-content-docs/current/tutorials/{go-zero-configuration => configuration}/prometheus.md (100%) rename i18n/en/docusaurus-plugin-content-docs/current/tutorials/{go-zero-configuration => configuration}/service.md (100%) diff --git a/docs/tutorials/go-zero-configuration/auto-validation.md b/docs/tutorials/configuration/auto-validation.md similarity index 97% rename from docs/tutorials/go-zero-configuration/auto-validation.md rename to docs/tutorials/configuration/auto-validation.md index 0c1f5bba0..709790d70 100644 --- a/docs/tutorials/go-zero-configuration/auto-validation.md +++ b/docs/tutorials/configuration/auto-validation.md @@ -1,6 +1,6 @@ --- -title: Log Configuration -sidebar_label: Log Configuration +title: Auto Validation +sidebar_label: Auto Validation slug: /docs/tutorials/go-zero/configuration/auto-validation --- diff --git a/docs/tutorials/go-zero-configuration/log.md b/docs/tutorials/configuration/log.md similarity index 100% rename from docs/tutorials/go-zero-configuration/log.md rename to docs/tutorials/configuration/log.md diff --git a/docs/tutorials/go-zero-configuration/overview.md b/docs/tutorials/configuration/overview.md similarity index 100% rename from docs/tutorials/go-zero-configuration/overview.md rename to docs/tutorials/configuration/overview.md diff --git a/docs/tutorials/go-zero-configuration/prometheus.md b/docs/tutorials/configuration/prometheus.md similarity index 100% rename from docs/tutorials/go-zero-configuration/prometheus.md rename to docs/tutorials/configuration/prometheus.md diff --git a/docs/tutorials/go-zero-configuration/service.md b/docs/tutorials/configuration/service.md similarity index 100% rename from docs/tutorials/go-zero-configuration/service.md rename to docs/tutorials/configuration/service.md diff --git a/i18n/en/docusaurus-plugin-content-docs/current/tutorials/go-zero-configuration/auto-validation.md b/i18n/en/docusaurus-plugin-content-docs/current/tutorials/configuration/auto-validation.md similarity index 98% rename from i18n/en/docusaurus-plugin-content-docs/current/tutorials/go-zero-configuration/auto-validation.md rename to i18n/en/docusaurus-plugin-content-docs/current/tutorials/configuration/auto-validation.md index 8bc0bb377..cdafdafb6 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/tutorials/go-zero-configuration/auto-validation.md +++ b/i18n/en/docusaurus-plugin-content-docs/current/tutorials/configuration/auto-validation.md @@ -1,6 +1,6 @@ --- -title: Log Configuration -sidebar_label: Log Configuration +title: Auto Validation +sidebar_label: Auto Validation slug: /docs/tutorials/go-zero/configuration/auto-validation --- diff --git a/i18n/en/docusaurus-plugin-content-docs/current/tutorials/go-zero-configuration/log.md b/i18n/en/docusaurus-plugin-content-docs/current/tutorials/configuration/log.md similarity index 100% rename from i18n/en/docusaurus-plugin-content-docs/current/tutorials/go-zero-configuration/log.md rename to i18n/en/docusaurus-plugin-content-docs/current/tutorials/configuration/log.md diff --git a/i18n/en/docusaurus-plugin-content-docs/current/tutorials/go-zero-configuration/overview.md b/i18n/en/docusaurus-plugin-content-docs/current/tutorials/configuration/overview.md similarity index 100% rename from i18n/en/docusaurus-plugin-content-docs/current/tutorials/go-zero-configuration/overview.md rename to i18n/en/docusaurus-plugin-content-docs/current/tutorials/configuration/overview.md diff --git a/i18n/en/docusaurus-plugin-content-docs/current/tutorials/go-zero-configuration/prometheus.md b/i18n/en/docusaurus-plugin-content-docs/current/tutorials/configuration/prometheus.md similarity index 100% rename from i18n/en/docusaurus-plugin-content-docs/current/tutorials/go-zero-configuration/prometheus.md rename to i18n/en/docusaurus-plugin-content-docs/current/tutorials/configuration/prometheus.md diff --git a/i18n/en/docusaurus-plugin-content-docs/current/tutorials/go-zero-configuration/service.md b/i18n/en/docusaurus-plugin-content-docs/current/tutorials/configuration/service.md similarity index 100% rename from i18n/en/docusaurus-plugin-content-docs/current/tutorials/go-zero-configuration/service.md rename to i18n/en/docusaurus-plugin-content-docs/current/tutorials/configuration/service.md diff --git a/sidebars.js b/sidebars.js index c230d323b..4c602f8d3 100644 --- a/sidebars.js +++ b/sidebars.js @@ -207,11 +207,11 @@ module.exports = { label: 'go-zero 配置', collapsed: false, items: [ - 'tutorials/go-zero-configuration/overview', - 'tutorials/go-zero-configuration/service', - 'tutorials/go-zero-configuration/log', - 'tutorials/go-zero-configuration/prometheus', - 'tutorials/go-zero-configuration/auto-validation', + 'tutorials/configuration/overview', + 'tutorials/configuration/service', + 'tutorials/configuration/log', + 'tutorials/configuration/prometheus', + 'tutorials/configuration/auto-validation', ], }, {