Skip to content

文档开发步骤 #4

Description

@kevinten10

环境搭建

1. clone代码

2. 执行初始化命令

git submodule update --init --recursive

npm install -D --save autoprefixer
npm install -D --save postcss-cli

3. 启动

hugo server

文档开发

1. 在指定目录下编辑markdown文件

2. 使用hugo server在本地启动hugo

3. 检查文档是否正确

4. 使用hugo生成docs目录文件

5. push到github上

6. 访问blog

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions