Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update link #2111

Merged
merged 1 commit into from
Dec 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions source/docs/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Initializes a website. If no `folder` is provided, Hexo will set up a website in
This command is a shortcut that runs the following steps:

1. Git clone [hexo-starter](https://github.com/hexojs/hexo-starter) including [hexo-theme-landscape](https://github.com/hexojs/hexo-theme-landscape) into the current directory or a target folder if specified.
2. Install dependencies using a package manager: [Yarn 1](https://classic.yarnpkg.com/lang/en/), [pnpm](https://pnpm.js.org) or [npm](https://docs.npmjs.com/cli/install), whichever is installed; if there are more than one installed, the priority is as listed. npm is bundled with [Node.js](/docs/#Install-Node-js) by default.
2. Install dependencies using a package manager: [Yarn 1](https://classic.yarnpkg.com/lang/en/), [pnpm](https://pnpm.io) or [npm](https://docs.npmjs.com/cli/install), whichever is installed; if there are more than one installed, the priority is as listed. npm is bundled with [Node.js](/docs/#Install-Node-js) by default.

## new

Expand Down Expand Up @@ -163,7 +163,7 @@ Disables loading plugins and scripts. Try this if you encounter problems after i
$ hexo --debug
```

Logs verbose messages to the terminal and to `debug.log`. Try this if you encounter any problems with Hexo. If you see errors, please [raise a GitHub issue](https://github.com/hexojs/hexo/issues/new).
Logs verbose messages to the terminal and to `debug.log`. Try this if you encounter any problems with Hexo. If you see errors, please [raise a GitHub issue](https://github.com/hexojs/hexo/issues/new?assignees=&labels=&projects=&template=bug_report.yml).

### Silent mode

Expand Down
4 changes: 2 additions & 2 deletions source/docs/syntax-highlight.md
Original file line number Diff line number Diff line change
Expand Up @@ -294,5 +294,5 @@ The source codes behind Hexo's syntax highlighting are available in:

- [Highlight.js Utility Functions](https://github.com/hexojs/hexo-util/blob/master/lib/highlight.ts)
- [PrismJS Utility Functions](https://github.com/hexojs/hexo-util/blob/master/lib/prism.ts)
- [Tag Plugin - Code Block](https://github.com/hexojs/hexo/blob/master/lib/plugins/tag/code.js)
- [Tag Plugin - Backtick Code Block](https://github.com/hexojs/hexo/blob/master/lib/plugins/filter/before_post_render/backtick_code_block.js)
- [Tag Plugin - Code Block](https://github.com/hexojs/hexo/blob/master/lib/plugins/tag/code.ts)
- [Tag Plugin - Backtick Code Block](https://github.com/hexojs/hexo/blob/master/lib/plugins/filter/before_post_render/backtick_code_block.ts)
4 changes: 2 additions & 2 deletions source/ru/docs/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ $ hexo init [folder]
Эта команда представляет собой ярлык, который выполняет следующие действия:

1. Создаёт слон Git репозитория [hexo-starter](https://github.com/hexojs/hexo-starter) включая [hexo-theme-landscape](https://github.com/hexojs/hexo-theme-landscape) в текущий каталог или,если указана, в целевую папку.
2. Установите зависимости с помощью менеджера пакетов: [Yarn 1](https://classic.yarnpkg.com/lang/en/), [pnpm](https://pnpm.js.org) или [npm](https://docs.npmjs.com/cli/install), в зависимости от того, что установлено; если установлено более одного, приоритет указан в списке. npm поставляется в комплекте с [Node.js](/docs/#Install-Node-js) by default.
2. Установите зависимости с помощью менеджера пакетов: [Yarn 1](https://classic.yarnpkg.com/lang/en/), [pnpm](https://pnpm.io/ru/) или [npm](https://docs.npmjs.com/cli/install), в зависимости от того, что установлено; если установлено более одного, приоритет указан в списке. npm поставляется в комплекте с [Node.js](/docs/#Install-Node-js) by default.

## new

Expand Down Expand Up @@ -130,7 +130,7 @@ $ hexo --safe
$ hexo --debug
```

Журнал подробных сообщений в терминале и `debug.log`. Применяется при возникновении проблем с Hexo. Если выдаются ошибки, пожалуйста, задайте вопрос на [GitHub](https://github.com/hexojs/hexo/issues/new).
Журнал подробных сообщений в терминале и `debug.log`. Применяется при возникновении проблем с Hexo. Если выдаются ошибки, пожалуйста, задайте вопрос на [GitHub](https://github.com/hexojs/hexo/issues/new?assignees=&labels=&projects=&template=bug_report.yml).

### Тихий режим

Expand Down
2 changes: 1 addition & 1 deletion source/ru/docs/gitlab-pages.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ pages:
## Полезные ссылки

- [GitLab Pages](https://docs.gitlab.com/ee/user/project/pages/index.html)
- [Документация GitLab CI](https://docs.gitlab.com/ee/ci/README.html)
- [Документация GitLab CI](https://docs.gitlab.com/ee/ci/yaml/)
4 changes: 2 additions & 2 deletions source/ru/docs/syntax-highlight.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,5 +231,5 @@ The source codes behind Hexo's syntax highlighting are available in:

- [Highlight.js Utility Functions](https://github.com/hexojs/hexo-util/blob/master/lib/highlight.ts)
- [PrismJS Utility Functions](https://github.com/hexojs/hexo-util/blob/master/lib/prism.ts)
- [Tag Plugin - Code Block](https://github.com/hexojs/hexo/blob/master/lib/plugins/tag/code.js)
- [Tag Plugin - Backtick Code Block](https://github.com/hexojs/hexo/blob/master/lib/plugins/filter/before_post_render/backtick_code_block.js)
- [Tag Plugin - Code Block](https://github.com/hexojs/hexo/blob/master/lib/plugins/tag/code.ts)
- [Tag Plugin - Backtick Code Block](https://github.com/hexojs/hexo/blob/master/lib/plugins/filter/before_post_render/backtick_code_block.ts)
4 changes: 2 additions & 2 deletions source/zh-cn/docs/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ $ hexo init [folder]
本命令相当于执行了以下几步:

1. Git clone [hexo-starter](https://github.com/hexojs/hexo-starter)[hexo-theme-landscape](https://github.com/hexojs/hexo-theme-landscape) 主题到当前目录或指定目录。
2. 使用 [Yarn 1](https://classic.yarnpkg.com/lang/en/)[pnpm](https://pnpm.js.org)[npm](https://docs.npmjs.com/cli/install) 包管理器下载依赖(如有已安装多个,则列在前面的优先)。npm 默认随 [Node.js](/docs/#Install-Node-js) 安装。
2. 使用 [Yarn 1](https://classic.yarnpkg.com/lang/en/)[pnpm](https://pnpm.io/zh/)[npm](https://docs.npmjs.com/cli/install) 包管理器下载依赖(如有已安装多个,则列在前面的优先)。npm 默认随 [Node.js](/zh-cn/docs/index.html#安装-Node-js) 安装。

## new

Expand Down Expand Up @@ -183,7 +183,7 @@ $ hexo --safe
$ hexo --debug
```

在终端中显示调试信息并记录到 `debug.log`。当您碰到问题时,可以尝试用调试模式重新执行一次,并 [提交调试信息到 GitHub](https://github.com/hexojs/hexo/issues/new)
在终端中显示调试信息并记录到 `debug.log`。当您碰到问题时,可以尝试用调试模式重新执行一次,并 [提交调试信息到 GitHub](https://github.com/hexojs/hexo/issues/new?assignees=&labels=&projects=&template=bug_report.yml)

### 简洁模式

Expand Down
2 changes: 1 addition & 1 deletion source/zh-cn/docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ skip_render: "_posts/test-post.md"
`external_link.exclude` | 需要排除的域名。主域名和子域名如 `www` 需分别配置 | `[]`
`filename_case` | 把文件名称转换为 (1) 小写或 (2) 大写 | `0`
`render_drafts` | 显示草稿 | `false`
`post_asset_folder` | 启动 [Asset 文件夹](asset-folders.html) | `false`
`post_asset_folder` | 启用 [资源文件夹](asset-folders.html) | `false`
`relative_link` | 把链接改为与根目录的相对位址 | `false`
`future` | 显示未来的文章 | `true`
`highlight` | 代码块的设置, 请参考 [Highlight.js](/zh-cn/docs/syntax-highlight#Highlight-js) 进行设置 |
Expand Down
2 changes: 1 addition & 1 deletion source/zh-cn/docs/gitlab-pages.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ pages:
## 参考链接

- [GitLab Pages 相关文档](https://docs.gitlab.com/ee/user/project/pages/index.html)
- [GitLab CI 相关文档](https://docs.gitlab.com/ee/ci/README.html)
- [GitLab CI 相关文档](https://docs.gitlab.com/ee/ci/yaml/)
- [在百度上搜索 "Hexo GitLab"](https://www.baidu.com/s?wd=Hexo%20GitLab)
2 changes: 1 addition & 1 deletion source/zh-cn/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Node.js 为大多数平台提供了官方的 [安装程序](https://nodejs.org/z
- Windows:通过 [nvs](https://github.com/jasongin/nvs/)(推荐)或者 [nvm](https://github.com/nvm-sh/nvm) 安装。
- Mac:使用 [Homebrew](https://brew.sh/)[MacPorts](http://www.macports.org/) 安装。
- Linux(DEB/RPM-based):从 [NodeSource](https://github.com/nodesource/distributions) 安装。
- 其它:使用相应的软件包管理器进行安装,可以参考由 Node.js 提供的 [指导](https://nodejs.org/zh-cn/download/package-manager/)
- 其它:使用相应的软件包管理器进行安装,可以参考由 Node.js 提供的 [指导](https://nodejs.org/en/download/package-manager/)

对于 Mac 和 Linux 同样建议使用 nvs 或者 nvm,以避免可能会出现的权限问题。

Expand Down
4 changes: 2 additions & 2 deletions source/zh-cn/docs/syntax-highlight.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,5 +295,5 @@ Hexo 语法高亮部分的源码可参见:

- [Highlight.js 工具函数](https://github.com/hexojs/hexo-util/blob/master/lib/highlight.ts)
- [PrismJS 工具函数](https://github.com/hexojs/hexo-util/blob/master/lib/prism.ts)
- [代码块标签插件](https://github.com/hexojs/hexo/blob/master/lib/plugins/tag/code.js)
- [反引号代码块标签插件](https://github.com/hexojs/hexo/blob/master/lib/plugins/filter/before_post_render/backtick_code_block.js)
- [代码块标签插件](https://github.com/hexojs/hexo/blob/master/lib/plugins/tag/code.ts)
- [反引号代码块标签插件](https://github.com/hexojs/hexo/blob/master/lib/plugins/filter/before_post_render/backtick_code_block.ts)
4 changes: 2 additions & 2 deletions source/zh-tw/docs/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ $ hexo init [folder]
This command is a shortcut that runs the following steps:

1. Git clone [hexo-starter](https://github.com/hexojs/hexo-starter) including [hexo-theme-landscape](https://github.com/hexojs/hexo-theme-landscape) into the current directory or a target folder if specified.
2. Install dependencies using a package manager: [Yarn 1](https://classic.yarnpkg.com/lang/en/), [pnpm](https://pnpm.js.org) or [npm](https://docs.npmjs.com/cli/install), whichever is installed; if there are more than one installed, the priority is as listed. npm is bundled with [Node.js](/docs/#Install-Node-js) by default.
2. Install dependencies using a package manager: [Yarn 1](https://classic.yarnpkg.com/lang/en/), [pnpm](https://pnpm.io/zh-TW/) or [npm](https://docs.npmjs.com/cli/install), whichever is installed; if there are more than one installed, the priority is as listed. npm is bundled with [Node.js](/docs/#Install-Node-js) by default.

## new

Expand Down Expand Up @@ -132,7 +132,7 @@ $ hexo --safe
$ hexo --debug
```

在終端機中顯示除錯訊息並儲存記錄檔到 `debug.log`。當您碰到問題時,試著以除錯模式重新執行一次,並 [把除錯訊息貼到 GitHub](https://github.com/hexojs/hexo/issues/new)
在終端機中顯示除錯訊息並儲存記錄檔到 `debug.log`。當您碰到問題時,試著以除錯模式重新執行一次,並 [把除錯訊息貼到 GitHub](https://github.com/hexojs/hexo/issues/new?assignees=&labels=&projects=&template=bug_report.yml)

### 安靜模式

Expand Down
2 changes: 1 addition & 1 deletion source/zh-tw/docs/gitlab-pages.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ pages:
## 參考鏈接

- [GitLab Pages](https://docs.gitlab.com/ee/user/project/pages/index.html)
- [GitLab CI Docs](https://docs.gitlab.com/ee/ci/README.html)
- [GitLab CI Docs](https://docs.gitlab.com/ee/ci/yaml/)
4 changes: 2 additions & 2 deletions source/zh-tw/docs/syntax-highlight.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,5 +232,5 @@ The source codes behind Hexo's syntax highlighting are available in:

- [Highlight.js Utility Functions](https://github.com/hexojs/hexo-util/blob/master/lib/highlight.ts)
- [PrismJS Utility Functions](https://github.com/hexojs/hexo-util/blob/master/lib/prism.ts)
- [Tag Plugin - Code Block](https://github.com/hexojs/hexo/blob/master/lib/plugins/tag/code.js)
- [Tag Plugin - Backtick Code Block](https://github.com/hexojs/hexo/blob/master/lib/plugins/filter/before_post_render/backtick_code_block.js)
- [Tag Plugin - Code Block](https://github.com/hexojs/hexo/blob/master/lib/plugins/tag/code.ts)
- [Tag Plugin - Backtick Code Block](https://github.com/hexojs/hexo/blob/master/lib/plugins/filter/before_post_render/backtick_code_block.ts)