Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/younth/hexo-site-kit
基于Hexo快速搭建项目官网
https://github.com/younth/hexo-site-kit
docs gitbook hexo hexo-site hexo-theme markdown
Last synced: 2 days ago
JSON representation
基于Hexo快速搭建项目官网
- Host: GitHub
- URL: https://github.com/younth/hexo-site-kit
- Owner: younth
- Created: 2017-04-05T02:28:51.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-17T03:23:22.000Z (almost 6 years ago)
- Last Synced: 2024-05-20T09:22:22.747Z (6 months ago)
- Topics: docs, gitbook, hexo, hexo-site, hexo-theme, markdown
- Language: CSS
- Homepage:
- Size: 168 KB
- Stars: 46
- Watchers: 2
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-hexo-themes - younth/hexo-site-kit
README
**vuepress更好用,推荐大家使用:https://github.com/vuejs/vuepress**
## hexo-site-kit
基于Hexo快速搭建项目官网及文档平台。效果见:https://github.com/younth/hexo-site-kit/issues/1
### 安装依赖
#### 1. 全局安装 hexo-cli
npm i -g hexo-cli --registry=https://registry.npm.taobao.org
#### 2. 安装项目依赖
npm i --registry=https://registry.npm.taobao.org
### 查看效果
hexo s
### 开发
hexo n "My New Post"
hexo s
hexo s -g // 预览加部署
hexo d -g // hexo g && hexo d 生成及部署### 切换主题
修改`_config.yml` 里面的 `theme`。目前提供两种主题:
- docs: 基于 egg 官网改造
- navy: 基于 hexo 官网改造**切换主题的时候,务必先执行 `hexo clean` 清空之前的编译缓存**