Skip to content

Commit ae568aa

Browse files
committed
dev: upgrade nodejs and hugo
1 parent 4015541 commit ae568aa

File tree

8 files changed

+549
-289
lines changed

8 files changed

+549
-289
lines changed

.github/workflows/deploy-github.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v4
1515
- uses: actions/setup-node@v4
1616
with:
17-
node-version: 18
17+
node-version: 24
1818
cache: 'npm'
1919

2020
- name: Install dependencies

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ This website is based on [Doks](https://getdoks.org). And we choose [child-theme
33

44
## Install Requirements
55

6-
- Install **hugo**: https://gohugo.io/getting-started/installing/. If **go** has been installed, just run `go install github.com/gohugoio/hugo@latest`.
76
- Install **nodejs**: https://nodejs.org/en/download/.
7+
- macOS: `brew install nodejs`
88

99
## Quick Start
1010

config/_default/config.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@ enableEmoji = true
66
enableGitInfo = true
77
enableRobotsTXT = true
88
languageCode = "en-US"
9-
paginate = 7
109
rssLimit = 10
1110

11+
[pagination]
12+
pagerSize = 7
13+
1214
# Multilingual
1315
defaultContentLanguage = "en"
1416
# disableLanguages = ["de", "nl"]

content/en/docs/excel/enum.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -183,12 +183,6 @@ For example, a worksheet `ItemType` in *HelloWorld.xlsx*:
183183
| 1 | CANARY | Canary |
184184
| 2 | WOODPECKER | Woodpecker |
185185
| 3 | OWL | Owl |
186-
| | | |
187-
| ColumnDisorderedEnum | ColumnDisorderedEnum note | |
188-
| Alias | Number | Name |
189-
| Large | 1 | LARGE |
190-
| Medium | 2 | MEDIUM |
191-
| Small | 3 | SMALL |
192186

193187
{{< /sheet >}}
194188

content/zh/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title : "Tableau"
33
description: "Tableau is a powerful Excel -> Protobuf conversion tool."
44
lead: "Tableau是一款功能强大的现代化配置转换器。基于<a href='https://developers.google.com/protocol-buffers/docs/proto3'>Protobuf (proto3)</a>,它能够将 <b>Excel/CSV/XML/YAML</b> 转换成多种格式:<a href='https://developers.google.com/protocol-buffers/docs/proto3#json'><b>JSON</b></a>,<a href='https://developers.google.com/protocol-buffers/docs/text-format-spec'><b>Text</b></a> 和 <a href='https://developers.google.com/protocol-buffers/docs/encoding'><b>Bin</b></a>。"
5-
date: 2022-9-09T08:47:36+00:00
5+
date: 2022-09-09T08:47:36+00:00
66
lastmod: 2022-09-09T08:47:36+00:00
77
draft: false
88
images: []

layouts/partials/sidebar/auto-default-menu.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,18 @@ <h5 class="h6 text-uppercase mt-2 mb-2">{{ .Title }}</h5>
1818
<ul class="list-unstyled ms-3">
1919
{{ range .Pages }}
2020
{{ $active := in $currentPage.RelPermalink .RelPermalink }}
21-
<li><a class="docs-link{{ if $active }} active{{ end }}" href="{{ .URL | relURL }}">{{ .Name }}</a></li>
21+
<li><a class="docs-link{{ if $active }} active{{ end }}" href="{{ .Permalink | relURL }}">{{ .Name }}</a></li>
2222
{{ end }}
2323
</ul>
2424
{{ else }}
2525
{{ $active := in $currentPage.RelPermalink .RelPermalink }}
26-
<li><a class="docs-link{{ if $active }} active{{ end }}" href="{{ .URL | relURL }}">{{ .Name }}</a></li>
26+
<li><a class="docs-link{{ if $active }} active{{ end }}" href="{{ .Permalink | relURL }}">{{ .Name }}</a></li>
2727
{{ end }}
2828
{{ end }}
2929
</ul>
3030
{{ else }}
3131
{{ $active := in $currentPage.RelPermalink .RelPermalink }}
32-
<li><a class="docs-link{{ if $active }} active{{ end }}" href="{{ .URL | relURL }}">{{ .Name }}</a></li>
32+
<li><a class="docs-link{{ if $active }} active{{ end }}" href="{{ .Permalink | relURL }}">{{ .Name }}</a></li>
3333
{{ end }}
3434
{{ end }}
3535
</ul>

0 commit comments

Comments
 (0)