Skip to content

Commit

Permalink
Update revision docs
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Nov 13, 2024
1 parent f03c8db commit 39ccd43
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion content/modules/components/revision/index.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ The partial `hb/modules/revision/index` accepts the current page as the context.
| `repo_contributors` | boolean | `false` | - | Whether to show contributors. |
| `repo_actions` | boolean | `true` | - | Show edit, view and histories buttons. |

You'll need to set up `GITHUB_TOKEN` environment variable, to get rid of encountering rate limit issues of GitHub API when `repo_contributors` is enabled.
You'll need to set up `GITHUB_TOKEN` environment variable and the [GitInfo](https://gohugo.io/methods/page/gitinfo/) feature, to get rid of encountering rate limit issues of GitHub API when `repo_contributors` is enabled.
2 changes: 1 addition & 1 deletion content/modules/components/revision/index.zh-hans.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ authors:
| `repo_contributors` | boolean | `false` | - | 是否显示贡献者。 |
| `repo_actions` | boolean | `true` | - | 是否显示编辑、查看和历史按钮。|

您需要设置 `GITHUB_TOKEN` 环境变量,以避免在启用 `repo_contributors` 时遇到 GitHub API 的速率限制问题。
您需要设置 `GITHUB_TOKEN` 环境变量和 [GitInfo](https://gohugo.io/methods/page/gitinfo/) 功能,以避免在启用 `repo_contributors` 时遇到 GitHub API 的速率限制问题。
2 changes: 1 addition & 1 deletion content/modules/components/revision/index.zh-hant.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ authors:
| `repo_contributors` | boolean | `false` | - | 是否顯示貢獻者。 |
| `repo_actions` | boolean | `true` | - | 是否顯示編輯、查看和歷史按鈕。|

您需要設置 `GITHUB_TOKEN` 環境變量,以避免在啟用 `repo_contributors` 時遇到 GitHub API 的速率限制問題。
您需要設置 `GITHUB_TOKEN` 環境變量和 [GitInfo](https://gohugo.io/methods/page/gitinfo/) 功能,以避免在啟用 `repo_contributors` 時遇到 GitHub API 的速率限制問題。

0 comments on commit 39ccd43

Please sign in to comment.