From 5799c3c35753debb10512739964ad670f7aa298a Mon Sep 17 00:00:00 2001 From: sanjo heron Date: Sat, 16 Mar 2024 00:34:15 +0800 Subject: [PATCH] chore: update directory --- .github/workflows/hugo.yml | 2 +- content/docs/dev/_index.md | 45 +++++++++++++++++++++++++++++++++----- content/docs/ops/_index.md | 17 +++++++++----- content/docs/sec/_index.md | 17 +++++++++----- 4 files changed, 65 insertions(+), 16 deletions(-) diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index 5a2a8b9..3213b43 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -17,7 +17,7 @@ jobs: - name: Setup Env uses: peaceiris/actions-hugo@v2 with: - hugo-version: 'latest' + hugo-version: '0.80.0' extended: true - name: Build diff --git a/content/docs/dev/_index.md b/content/docs/dev/_index.md index aac40ec..9947bd0 100644 --- a/content/docs/dev/_index.md +++ b/content/docs/dev/_index.md @@ -1,16 +1,51 @@ --- -title: "Dev" + +title: Dev(开发) + weight: 1 + bookFlatSection: false + bookToc: true + bookHidden: false + bookCollapseSection: true + bookComments: false + --- -## Development -Record something about software development. -## Directory -{{
}} \ No newline at end of file +## 简介 + +Go是一个开源的编程工具。于2017年末开始研发,至2012年推出Go 1稳定版本。 + +## 特色 + +- 简洁、快速、安全 +- 并行、有趣、开源 +- 内存管理、数组安全、编译迅速 + +## 特性 + +- 自动垃圾回收 +- 丰富的内置类型 +- 函数多返回值 +- 错误处理 +- 匿名函数和闭包 +- 类型和接口 +- 并发编程 +- 反射 +- 语言交互性 + +## 应用场景 + +- web服务器 +- 存储集群 +- 高性能分布式系统 + +## 目录 + +{{< section >}} diff --git a/content/docs/ops/_index.md b/content/docs/ops/_index.md index c3f8550..2d744db 100644 --- a/content/docs/ops/_index.md +++ b/content/docs/ops/_index.md @@ -1,16 +1,23 @@ --- -title: "Ops" + +title: Ops(运维) + weight: 2 + bookFlatSection: false + bookToc: true + bookHidden: false + bookCollapseSection: true + bookComments: false + --- -## Operations -Record something about software platform operations. -## Directory -{{
}} \ No newline at end of file +## 目录 + +{{< section >}} diff --git a/content/docs/sec/_index.md b/content/docs/sec/_index.md index d911ca8..8f23bfd 100644 --- a/content/docs/sec/_index.md +++ b/content/docs/sec/_index.md @@ -1,16 +1,23 @@ --- -title: "Sec" + +title: Sec(安全) + weight: 3 + bookFlatSection: false + bookToc: true + bookHidden: false + bookCollapseSection: true + bookComments: false + --- -## Security -Record something about software security. -## Directory -{{
}} \ No newline at end of file +## 目录 + +{{< section >}}