Skip to content

Commit

Permalink
feat: change docs path
Browse files Browse the repository at this point in the history
  • Loading branch information
guangzhengli committed Aug 15, 2023
1 parent 1c6fe8f commit 840ae88
Show file tree
Hide file tree
Showing 13 changed files with 34 additions and 34 deletions.
24 changes: 12 additions & 12 deletions docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -33,33 +33,33 @@ export default defineConfig({
{
text: '开始',
items: [
{ text: '准备工作', link: 'docs/pre' },
{ text: '准备工作', link: 'pre' },
]
},
{
text: 'Kubernetes',
items: [
{ text: 'Container', link: 'docs/container' },
{ text: 'Pod', link: 'docs/pod' },
{ text: 'Deployment', link: 'docs/deployment' },
{ text: 'Service', link: 'docs/service' },
{ text: 'Ingress', link: 'docs/ingress' },
{ text: 'Namespace', link: 'docs/namespace' },
{ text: 'ConfigMap', link: 'docs/configmap' },
{ text: 'Secret', link: 'docs/secret' },
{ text: 'Job', link: 'docs/job' },
{ text: 'Container', link: 'container' },
{ text: 'Pod', link: 'pod' },
{ text: 'Deployment', link: 'deployment' },
{ text: 'Service', link: 'service' },
{ text: 'Ingress', link: 'ingress' },
{ text: 'Namespace', link: 'namespace' },
{ text: 'ConfigMap', link: 'configmap' },
{ text: 'Secret', link: 'secret' },
{ text: 'Job', link: 'job' },
]
},
{
text: 'Helm',
items: [
{ text: 'Helm', link: 'docs/helm' },
{ text: 'Helm', link: 'helm' },
]
},
{
text: 'Others',
items: [
{ text: 'Dashboard', link: 'docs/dashboard' },
{ text: 'Dashboard', link: 'dashboard' },
]
}
],
Expand Down
4 changes: 2 additions & 2 deletions docs/configmap.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
prev:
text: 'Namespace'
link: '/docs/namespaces'
link: 'namespaces'
next:
text: 'Secret'
link: '/docs/secert'
link: 'secert'
---

# ConfigMap
Expand Down
4 changes: 2 additions & 2 deletions docs/container.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
prev:
text: 'Pre'
link: '/docs/pre'
link: 'pre'
next:
text: 'Pod'
link: '/docs/pod'
link: 'pod'
---

# Container
Expand Down
2 changes: 1 addition & 1 deletion docs/dashboard.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
prev:
text: 'Helm'
link: '/docs/helm'
link: 'helm'
next: false
---

Expand Down
4 changes: 2 additions & 2 deletions docs/deployment.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
prev:
text: 'Pod'
link: '/docs/pod'
link: 'pod'
next:
text: 'Service'
link: '/docs/service'
link: 'service'
---

# Deployment
Expand Down
4 changes: 2 additions & 2 deletions docs/helm.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
prev:
text: 'Job'
link: '/docs/job'
link: 'job'
next:
text: 'Dashboard'
link: '/docs/dashboard'
link: 'dashboard'
---

# Helm
Expand Down
4 changes: 2 additions & 2 deletions docs/ingress.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
prev:
text: 'Service'
link: '/docs/service'
link: 'service'
next:
text: 'Namespace'
link: '/docs/namespace'
link: 'namespace'
---

# Ingress
Expand Down
4 changes: 2 additions & 2 deletions docs/job.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
prev:
text: 'Secret'
link: '/docs/secret'
link: 'secret'
next:
text: 'Helm'
link: '/docs/helm'
link: 'helm'
---

# Job
Expand Down
4 changes: 2 additions & 2 deletions docs/namespace.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
prev:
text: 'Ingress'
link: '/docs/ingress'
link: 'ingress'
next:
text: 'ConfigMap'
link: '/docs/configmap'
link: 'configmap'
---

# Namespace
Expand Down
4 changes: 2 additions & 2 deletions docs/pod.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
prev:
text: 'Container'
link: '/docs/container'
link: 'container'
next:
text: 'Deployment'
link: '/docs/deployment'
link: 'deployment'
---

# Pod
Expand Down
2 changes: 1 addition & 1 deletion docs/pre.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
prev: false
next:
text: 'Container'
link: '/docs/container'
link: 'container'
---

# 准备工作
Expand Down
4 changes: 2 additions & 2 deletions docs/secret.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
prev:
text: 'ConfigMap'
link: '/docs/configmap'
link: 'configmap'
next:
text: 'Job'
link: '/docs/job'
link: 'job'
---

# Secret
Expand Down
4 changes: 2 additions & 2 deletions docs/service.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
prev:
text: 'Deployment'
link: '/docs/deployment'
link: 'deployment'
next:
text: 'Ingress'
link: '/docs/ingress'
link: 'ingress'
---

# Service
Expand Down

0 comments on commit 840ae88

Please sign in to comment.