Re: [問題] Spring Reference Document是用什麼寫的?

看板java作者 (有些事,有時候。。。)時間8年前 (2016/05/21 01:19), 編輯推噓1(101)
留言2則, 2人參與, 最新討論串2/2 (看更多)
※ 引述《mnbhjk123 (iEvan)》之銘言: : 各位大大好: : 最近要為了自己寫的系統寫一份Document, : 參考到Spring Framework的Reference Document, : http://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/#websocket-server-handler : 想請大家這種文件是用那種軟體寫的阿?? : 因為我想寫的Document也是需要大量的simple code做為背景 看它的 source code 裡的 build.gradle 是這麼寫的: https://github.com/spring-projects/spring-framework/ blob/master/build.gradle#L1145 (http://bit.ly/1qz5x1D) configure(rootProject) { description = "Spring Framework" apply plugin: "org.asciidoctor.convert" apply plugin: "docbook-reference" apply plugin: "groovy" // apply plugin: "detect-split-packages" apply from: "${gradleScriptDir}/jdiff.gradle" asciidoctor { sourceDir project.file('src/asciidoc') separateOutputDirs = false backends = ['docbook'] options doctype: 'book', eruby: 'erubis' attributes 'spring-version': project.version, 'revnumber': project.version, 'docinfo': "" } reference { sourceDir = asciidoctor.outputDir pdfFilename = "spring-framework-reference.pdf" epubFilename = "spring-framework-reference.epub" expandPlaceholders = "" } afterEvaluate { tasks.findAll { it.name.startsWith("reference") } .each{ it.dependsOn.add("asciidoctor") } } ====================================================================== 可以知道它有用 asciidoctor 配合 docbook 使用。 檔案來源是來自 src/asciidoc 路徑 https://github.com/spring-projects/spring-framework/ tree/master/src/asciidoc (http://bit.ly/1qz6hDL) 有了這些資訊,你就能用關鍵字去 google 一下了 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 36.227.19.140 ※ 文章網址: https://www.ptt.cc/bbs/java/M.1463764758.A.890.html

05/21 10:18, , 1F
謝謝大大,其他的小的研究一下
05/21 10:18, 1F

05/21 19:38, , 2F
未看作者先猜qrtt1
05/21 19:38, 2F
文章代碼(AID): #1NFqSMYG (java)
文章代碼(AID): #1NFqSMYG (java)