Skip to content

Commit 38a32a4

Browse files
committed
adjust docs footer
1 parent 010ff53 commit 38a32a4

File tree

7 files changed

+77
-105
lines changed

7 files changed

+77
-105
lines changed

docs/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ $ pig ext install pg_duckdb # install the pg_duckdb extension (for current pg
4242

4343
Check sub-commands [documentation](/cmd) with `pig help <command>`
4444

45-
{{< cards cols="4" >}}
45+
{{< cards cols="5" >}}
4646
{{< card link="/cmd/repo" title="pig repo" subtitle="Manage software repositories" icon="library" >}}
4747
{{< card link="/cmd/ext" title="pig ext" subtitle="Manage postgres extensions" icon="cube" >}}
4848
{{< card link="/cmd/build" title="pig build" subtitle="Build extension from source" icon="view-grid" >}}

docs/_index.zh.md

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -36,37 +36,19 @@ $ pig ext install pg17 # 安装 PostgreSQL 17 内核(原生 PGDG 包
3636
$ pig ext install pg_duckdb # 安装 pg_duckdb 扩展(针对当前 pg17)
3737
```
3838

39-
--------
4039

41-
{{< cards cols="4" >}}
40+
41+
## 命令
42+
43+
你可以执行 `pig help <command>` 获取子命令的详细帮助。
44+
45+
{{< cards cols="5" >}}
4246
{{< card link="/cmd/repo" title="pig repo" subtitle="管理软件仓库" icon="library" >}}
4347
{{< card link="/cmd/ext" title="pig ext" subtitle="管理PG扩展" icon="cube" >}}
4448
{{< card link="/cmd/build" title="pig build" subtitle="设置构建环境" icon="view-grid" >}}
4549
{{< card link="/cmd/sty" title="pig sty" subtitle="管理 Pigsty" icon="cloud-download" >}}
4650
{{< /cards >}}
4751

48-
--------
49-
50-
## 命令
51-
52-
你可以执行 `pig help <command>` 获取子命令的详细帮助。
53-
54-
<Cards>
55-
<Card icon={<Terminal className="text-slate-600"/>} title='pig' href={"/zh/pig/pig"}>
56-
主命令行接口
57-
</Card>
58-
<Card icon={<Package className="text-indigo-600"/>} title='pig repo' href={"/zh/pig/repo"}>
59-
管理 Linux 发行版的软件仓库
60-
</Card>
61-
<Card icon={<Puzzle className="text-emerald-600"/>} title='pig ext' href={"/zh/pig/ext"}>
62-
安装、移除、搜索、扫描 PostgreSQL 扩展
63-
</Card>
64-
<Card icon={<Hammer className="text-amber-600"/>} title='pig build' href={"/zh/pig/build"}>
65-
配置扩展构建环境并编译扩展
66-
</Card>
67-
</Cards>
68-
69-
--------
7052

7153
## 源代码
7254

docs/repo/_index.zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: 扩展仓库
2+
title: 仓库
33
description: 用于交付 PostgreSQL 扩展的基础设施和软件包仓库
44
icon: Warehouse
55
weight: 700

hugo.yaml

Lines changed: 69 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,79 @@ languages:
3131
contentDir: content/en
3232
weight: 1
3333
title: PIG, PG Package Manager
34+
menu:
35+
main:
36+
- name: Search
37+
weight: 1
38+
params:
39+
type: search
40+
- name: GitHub
41+
weight: 2
42+
url: "https://github.com/pgsty/pig"
43+
params:
44+
icon: github
45+
sidebar:
46+
- identifier: more
47+
name: Links
48+
params:
49+
type: separator
50+
weight: 6
51+
- identifier: chinese
52+
name: "PIG 中文文档 ↗"
53+
url: "/zh"
54+
weight: 7
55+
- identifier: pgext
56+
name: "PG Extensions ↗"
57+
url: "https://ext.pgsty.com/"
58+
weight: 8
59+
- identifier: pigsty
60+
name: "Pigsty Docs ↗"
61+
url: "https://doc.pgsty.com"
62+
weight: 9
63+
- identifier: vonng
64+
name: "Vonng's Blog ↗"
65+
url: "https://blog.vonng.com/en/"
66+
weight: 10
67+
3468
zh:
3569
languageName: 简体中文
3670
languageCode: zh
3771
weight: 2
3872
title: PIG, PG包管理器
73+
menu:
74+
main:
75+
- name: Search
76+
weight: 1
77+
params:
78+
type: search
79+
- name: GitHub
80+
weight: 2
81+
url: "https://github.com/pgsty/pig"
82+
params:
83+
icon: github
84+
sidebar:
85+
- identifier: more
86+
name: Links
87+
params:
88+
type: separator
89+
weight: 6
90+
- identifier: english
91+
name: "PIG EN Docs ↗"
92+
url: "/"
93+
weight: 7
94+
- identifier: pgext
95+
name: "PG Extensions ↗"
96+
url: "https://ext.pgsty.com/zh/"
97+
weight: 8
98+
- identifier: pigsty
99+
name: "Pigsty Docs ↗"
100+
url: "https://doc.pgsty.com/zh/"
101+
weight: 9
102+
- identifier: vonng
103+
name: "Vonng's Blog ↗"
104+
url: "https://blog.vonng.com/"
105+
weight: 10
106+
39107

40108
markup:
41109
highlight:
@@ -50,47 +118,6 @@ markup:
50118
inline: [['\(', '\)']]
51119
enable: true
52120

53-
menu:
54-
main:
55-
- name: Search
56-
weight: 1
57-
params:
58-
type: search
59-
- name: GitHub
60-
weight: 2
61-
url: "https://github.com/pgsty/pig"
62-
params:
63-
icon: github
64-
65-
sidebar:
66-
67-
- identifier: more
68-
name: Links
69-
params:
70-
type: separator
71-
weight: 6
72-
- identifier: pgext
73-
name: "PG Extensions ↗"
74-
url: "https://ext.pgsty.com"
75-
weight: 10
76-
- identifier: pigsty
77-
name: "Pigsty Docs ↗"
78-
url: "https://doc.pgsty.com"
79-
weight: 9
80-
- identifier: vonng
81-
name: "Vonng's Blog ↗"
82-
url: "https://blog.vonng.com/en/"
83-
weight: 10
84-
- identifier: chinese
85-
name: "PIG 中文文档 ↗"
86-
url: "/zh"
87-
weight: 20
88-
- identifier: english
89-
name: "PIG EN Docs ↗"
90-
url: "/"
91-
weight: 19
92-
93-
94121
params:
95122
description: Pig is a package manager for PostgreSQL and its extension ecosystem.
96123

@@ -100,9 +127,6 @@ params:
100127
navbar:
101128
displayTitle: true
102129
displayLogo: true
103-
# logo:
104-
# path: /logo.png
105-
# dark: /logo.png
106130
width: wide
107131

108132
page:
@@ -115,7 +139,7 @@ params:
115139
displayToggle: true
116140

117141
footer:
118-
enable: true
142+
enable: false
119143
displayCopyright: true
120144
displayPoweredBy: true
121145
width: normal

i18n/en.yaml

Lines changed: 0 additions & 2 deletions
This file was deleted.

i18n/zh-CN.yaml

Lines changed: 0 additions & 16 deletions
This file was deleted.

i18n/zh.yaml

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)