From 4ce37e6bfae1192a55a1dddba6629be911e56f2b Mon Sep 17 00:00:00 2001 From: D-Sketon <2055272094@qq.com> Date: Sun, 28 Jan 2024 17:59:21 +0800 Subject: [PATCH] docs: support v7 --- source/docs/configuration.md | 1 + source/docs/setup.md | 21 +++++++++++---------- source/ru/docs/configuration.md | 1 + source/ru/docs/setup.md | 21 +++++++++++---------- source/zh-cn/docs/configuration.md | 1 + source/zh-cn/docs/setup.md | 21 +++++++++++---------- source/zh-tw/docs/configuration.md | 1 + source/zh-tw/docs/setup.md | 21 +++++++++++---------- 8 files changed, 48 insertions(+), 40 deletions(-) diff --git a/source/docs/configuration.md b/source/docs/configuration.md index a363ab042f..50b1d71922 100644 --- a/source/docs/configuration.md +++ b/source/docs/configuration.md @@ -80,6 +80,7 @@ Setting | Description | Default `post_asset_folder` | Enable the [Asset Folder](asset-folders.html)? | `false` `relative_link` | Make links relative to the root folder? | `false` `future` | Display future posts? | `true` +`syntax_highlighter` | Code block syntax highlight settings, see [Syntax Highlight](/docs/syntax-highlight) section for usage guide | `highlight.js` `highlight` | Code block syntax highlight settings, see [Highlight.js](/docs/syntax-highlight#Highlight-js) section for usage guide | `prismjs` | Code block syntax highlight settings, see [PrismJS](/docs/syntax-highlight#PrismJS) section for usage guide | diff --git a/source/docs/setup.md b/source/docs/setup.md index 3685db2a48..101eed335f 100644 --- a/source/docs/setup.md +++ b/source/docs/setup.md @@ -39,18 +39,19 @@ Application data. The [EJS](https://ejs.co/), [Stylus](http://learnboost.github. "version": "0.0.0", "private": true, "hexo": { - "version": "" + "version": "7.0.0" }, "dependencies": { - "hexo": "^3.8.0", - "hexo-generator-archive": "^0.1.5", - "hexo-generator-category": "^0.1.3", - "hexo-generator-index": "^0.2.1", - "hexo-generator-tag": "^0.2.0", - "hexo-renderer-ejs": "^0.3.1", - "hexo-renderer-stylus": "^0.3.3", - "hexo-renderer-marked": "^0.3.2", - "hexo-server": "^0.3.3" + "hexo": "^7.0.0", + "hexo-generator-archive": "^2.0.0", + "hexo-generator-category": "^2.0.0", + "hexo-generator-index": "^3.0.0", + "hexo-generator-tag": "^2.0.0", + "hexo-renderer-ejs": "^2.0.0", + "hexo-renderer-stylus": "^3.0.0", + "hexo-renderer-marked": "^6.0.0", + "hexo-server": "^3.0.0", + "hexo-theme-landscape": "^1.0.0" } } ``` diff --git a/source/ru/docs/configuration.md b/source/ru/docs/configuration.md index 2ab728f71d..8465627586 100644 --- a/source/ru/docs/configuration.md +++ b/source/ru/docs/configuration.md @@ -60,6 +60,7 @@ title: Конфигурация `post_asset_folder` | Включать [папку с материалами](asset-folders.html)? | `false` `relative_link` | Создание ссылок относительно корневой папки? | `false` `future` | Отображать будущие посты? | `true` +`syntax_highlighter` | Code block syntax highlight settings, see [Syntax Highlight](/docs/syntax-highlight) section for usage guide | `highlight.js` `highlight` | Настройки блоков кода, см. [Highlight.js](/docs/syntax-highlight#Highlight-js) раздел для руководства по использованию | `prismjs` | Настройки блоков кода, см. [PrismJS](/docs/syntax-highlight#PrismJS) раздел для руководства по использованию | diff --git a/source/ru/docs/setup.md b/source/ru/docs/setup.md index bc0ed7eed5..813416bf02 100644 --- a/source/ru/docs/setup.md +++ b/source/ru/docs/setup.md @@ -36,18 +36,19 @@ $ npm install "version": "0.0.0", "private": true, "hexo": { - "version": "" + "version": "7.0.0" }, "dependencies": { - "hexo": "^3.8.0", - "hexo-generator-archive": "^0.1.5", - "hexo-generator-category": "^0.1.3", - "hexo-generator-index": "^0.2.1", - "hexo-generator-tag": "^0.2.0", - "hexo-renderer-ejs": "^0.3.1", - "hexo-renderer-stylus": "^0.3.3", - "hexo-renderer-marked": "^0.3.2", - "hexo-server": "^0.3.3" + "hexo": "^7.0.0", + "hexo-generator-archive": "^2.0.0", + "hexo-generator-category": "^2.0.0", + "hexo-generator-index": "^3.0.0", + "hexo-generator-tag": "^2.0.0", + "hexo-renderer-ejs": "^2.0.0", + "hexo-renderer-stylus": "^3.0.0", + "hexo-renderer-marked": "^6.0.0", + "hexo-server": "^3.0.0", + "hexo-theme-landscape": "^1.0.0" } } ``` diff --git a/source/zh-cn/docs/configuration.md b/source/zh-cn/docs/configuration.md index 0640b4ab0e..6f5a2ee1fe 100644 --- a/source/zh-cn/docs/configuration.md +++ b/source/zh-cn/docs/configuration.md @@ -88,6 +88,7 @@ skip_render: "_posts/test-post.md" `post_asset_folder` | 启用 [资源文件夹](asset-folders.html) | `false` `relative_link` | 把链接改为与根目录的相对位址 | `false` `future` | 显示未来的文章 | `true` +`syntax_highlighter` | 代码块的设置, 请参考 [代码高亮](/zh-cn/docs/syntax-highlight) 进行设置 | `highlight.js` `highlight` | 代码块的设置, 请参考 [Highlight.js](/zh-cn/docs/syntax-highlight#Highlight-js) 进行设置 | `prismjs` | 代码块的设置, 请参考 [PrismJS](/zh-cn/docs/syntax-highlight#PrismJS) 进行设置 | diff --git a/source/zh-cn/docs/setup.md b/source/zh-cn/docs/setup.md index 5b3c0b431a..39edb83f8c 100644 --- a/source/zh-cn/docs/setup.md +++ b/source/zh-cn/docs/setup.md @@ -39,18 +39,19 @@ $ npm install "version": "0.0.0", "private": true, "hexo": { - "version": "" + "version": "7.0.0" }, "dependencies": { - "hexo": "^3.8.0", - "hexo-generator-archive": "^0.1.5", - "hexo-generator-category": "^0.1.3", - "hexo-generator-index": "^0.2.1", - "hexo-generator-tag": "^0.2.0", - "hexo-renderer-ejs": "^0.3.1", - "hexo-renderer-stylus": "^0.3.3", - "hexo-renderer-marked": "^0.3.2", - "hexo-server": "^0.3.3" + "hexo": "^7.0.0", + "hexo-generator-archive": "^2.0.0", + "hexo-generator-category": "^2.0.0", + "hexo-generator-index": "^3.0.0", + "hexo-generator-tag": "^2.0.0", + "hexo-renderer-ejs": "^2.0.0", + "hexo-renderer-stylus": "^3.0.0", + "hexo-renderer-marked": "^6.0.0", + "hexo-server": "^3.0.0", + "hexo-theme-landscape": "^1.0.0" } } ``` diff --git a/source/zh-tw/docs/configuration.md b/source/zh-tw/docs/configuration.md index cad3ebecc4..71231c1c98 100644 --- a/source/zh-tw/docs/configuration.md +++ b/source/zh-tw/docs/configuration.md @@ -63,6 +63,7 @@ title: 配置 `post_asset_folder` | 啟動 [Asset 資料夾](asset-folders.html) | `false` `relative_link` | 把連結改為與根目錄的相對位址 | `false` `future` | 顯示未來的文章 | `true` +`syntax_highlighter` | Code block syntax highlight settings, see [Syntax Highlight](/docs/syntax-highlight) section for usage guide | `highlight.js` `highlight` | 程式碼區塊的設定, see [Highlight.js](/docs/syntax-highlight#Highlight-js) section for usage guide | `prismjs` | 程式碼區塊的設定, see [PrismJS](/docs/syntax-highlight#PrismJS) section for usage guide | diff --git a/source/zh-tw/docs/setup.md b/source/zh-tw/docs/setup.md index 1b99bb6177..9c0ba10361 100644 --- a/source/zh-tw/docs/setup.md +++ b/source/zh-tw/docs/setup.md @@ -39,18 +39,19 @@ $ npm install "version": "0.0.0", "private": true, "hexo": { - "version": "" + "version": "7.0.0" }, "dependencies": { - "hexo": "^3.8.0", - "hexo-generator-archive": "^0.1.5", - "hexo-generator-category": "^0.1.3", - "hexo-generator-index": "^0.2.1", - "hexo-generator-tag": "^0.2.0", - "hexo-renderer-ejs": "^0.3.1", - "hexo-renderer-stylus": "^0.3.3", - "hexo-renderer-marked": "^0.3.2", - "hexo-server": "^0.3.3" + "hexo": "^7.0.0", + "hexo-generator-archive": "^2.0.0", + "hexo-generator-category": "^2.0.0", + "hexo-generator-index": "^3.0.0", + "hexo-generator-tag": "^2.0.0", + "hexo-renderer-ejs": "^2.0.0", + "hexo-renderer-stylus": "^3.0.0", + "hexo-renderer-marked": "^6.0.0", + "hexo-server": "^3.0.0", + "hexo-theme-landscape": "^1.0.0" } } ```