Giter Club home page Giter Club logo

doc-tools's Introduction

doc-tools

项目文档及静态网站搭建

docsify-vs-docute-vs-gitbook-vs-vuepress-vs-mkdocs)

静态网站生成器 Hexo、Gitbook、Vuepress、Docsify、Docute、Nuxt

  • Mkdocs

    • 运行命令

      # 安装
      pip install mkdocs
      
      # 初始化项目
      mkdocs new mkdocs-project
      cd mkdocs-project
      
      # 本地运行
      mkdocs serve
      
      # 编译
      mkdocs build --clean
    • 演示图片

  • docsify

    • 运行命令

      # 安装
      npm i docsify-cli -g
      
      # 初始化项目
      docsify init ./docsify-project
      
      # 本地运行
      docsify serve docsify-project
      
      # 编译(免编译)
    • 演示图片

  • Hexo

    • 运行命令

      # (全局)安装
      npm install -g hexo-cli
      
      # 初始化
      hexo init hexo-project
      cd hexo-project
      npm install
      
      # 创建博客模版
      hexo new post my-post	
      
      # 清理之前静态文件
      hexo clean
      
      # 生成静态文件
      hexo g
      
      # debug 本地运行
      hexo s --debug
      
      # 发布github(安装插件`npm install hexo-deployer-git`;填写配置文件)	
      hexo d -g
  • Hugo

    • 运行命令

      brew install hugo
      
      # 初始化项目
      hugo new site hugo-project
      
      cd hugo-project
      
      # 下载并设置主题
      git init
      git submodule add https://github.com/budparr/gohugo-theme-ananke.git themes/ananke
      echo 'theme = "ananke"' >> config.toml
      
      # 添加博文
      hugo new posts/my-first-post.md
      
      # 预览
      hugo server -D
      
      # publish
      hugo -D
    • 运行效果

  • Jekyll

  • VuePress

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.