Skip to content

Commit

Permalink
修改readme
Browse files Browse the repository at this point in the history
  • Loading branch information
xbclub committed Apr 4, 2020
1 parent a3fac38 commit 7616640
Showing 1 changed file with 2 additions and 25 deletions.
27 changes: 2 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,5 @@
# 使用文档参考hojun的官方文档
- 安装方法
- 下载本项目并放入hexo的theme文件夹
- 修改hexo的配置文件中`theme`字段为本主题文件夹名称
- 执行 `hexo clean` 清除原有静态文件
- 执行 `hexo g` 重新构建静态页面
- 主题配置参考 hojun 的中文文档
- [中文文档&DOCS](https://docs.hojun.cn/sakura/docs/#/home?id=%E4%B8%BB%E9%A2%98%E7%9B%AE%E5%BD%95%E4%B8%8B%E7%9A%84_config%E9%85%8D%E7%BD%AE)

# 使用文档补充说明
- 代码高亮异常
- 在博客根目录下的_config配置中找到`highlight`如下表所示修改
```yaml
highlight:
enable: false
line_number: false
auto_detect: false
tab_replace: ''
wrap: false
hljs: false
```
- 文章搜索配置
- 在hexo根目录下执行`npm install hexo-generator-json-content`
- 使用`hexo clean`,`hexo g` 重新生成静态文件即可。

# 使用文档
- [中文文档&DOCS](https://docs.42cloud.cn/sakura/#/)

# 更新日志
- 2020-4-3 (本次更新无需替换配置文件)
Expand Down

0 comments on commit 7616640

Please sign in to comment.