Giter Club home page Giter Club logo

doc-generator's Introduction

项目文档生成工具

  • 修改gradle.build文件

      ext {
          swaggerVersion = "v2"
          swaggerPath = "api-docs"
          
          //修改以下配置
          apiLocatoin = "http://10.52.2.170:7002"     //接口地址
          apiGroup = "内部接口"                        //接口分组名
      }
    
  • 执行gradle clean asciidoctor命令生成文档

  • 文件说明:

      build
          asciidoc
              generated
                  definitions.adoc    //数据结构定义
                  overview.adoc       //概述
                  paths.adoc          //API文档
                  security.adoc       
              html5                   //最终生成文档
                  index.html
          swagger
              swagger.json            //临时文件
      src
          docs
              asciidoc
                  extensions          //扩展点
                  appendices.adoc     //文档附加数据
                  demo.adoc           //Demo
                  index.adoc          //主文档
                  manual.adoc         //操作手册
                  records.adoc        //文档修改记录
                  records-demo.adoc   //文档修改记录Demo
    

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.