Revert to Docboc
- Due to the lack of multipage Html support we need to revert to Docbook for the time being
- Revert "gh-246 Remove docbooks from asciidoctor infrastructure"
- This reverts commit 4ed50a6b31.
This commit is contained in:
20
spring-cloud-task-docs/src/main/asciidoc/Guardfile
Normal file
20
spring-cloud-task-docs/src/main/asciidoc/Guardfile
Normal file
@@ -0,0 +1,20 @@
|
||||
require 'asciidoctor'
|
||||
require 'erb'
|
||||
|
||||
guard 'shell' do
|
||||
watch(/.*\.adoc$/) {|m|
|
||||
Asciidoctor.render_file('index.adoc', \
|
||||
:in_place => true, \
|
||||
:safe => Asciidoctor::SafeMode::UNSAFE, \
|
||||
:attributes=> { \
|
||||
'source-highlighter' => 'prettify', \
|
||||
'icons' => 'font', \
|
||||
'linkcss'=> 'true', \
|
||||
'copycss' => 'true', \
|
||||
'doctype' => 'book'})
|
||||
}
|
||||
end
|
||||
|
||||
guard 'livereload' do
|
||||
watch(%r{^.+\.(css|js|html)$})
|
||||
end
|
||||
@@ -74,7 +74,7 @@ you have created a suitable folder and that it is your "current directory".
|
||||
We need to start by creating a Maven `pom.xml` file. The `pom.xml` is the recipe that
|
||||
will be used to build your project. Open your favorite text editor and add the following:
|
||||
|
||||
[source,xml]
|
||||
[code,xml]
|
||||
----
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 33 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 40 KiB |
14
spring-cloud-task-docs/src/main/asciidoc/index-docinfo.xml
Normal file
14
spring-cloud-task-docs/src/main/asciidoc/index-docinfo.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<productname>Spring Cloud Task</productname>
|
||||
<releaseinfo>{spring-boot-version}</releaseinfo>
|
||||
<copyright>
|
||||
<year>2015-2016</year>
|
||||
<holder>Pivotal Software, Inc.</holder>
|
||||
</copyright>
|
||||
<legalnotice>
|
||||
<para>
|
||||
Copies of this document may be made for your own use and for distribution to
|
||||
others, provided that you do not charge any fee for such copies and further
|
||||
provided that each copy contains this Copyright Notice, whether distributed in
|
||||
print or electronically.
|
||||
</para>
|
||||
</legalnotice>
|
||||
@@ -1,6 +1,5 @@
|
||||
= Spring Cloud Task Reference Guide
|
||||
Michael Minella; Glenn Renfro
|
||||
v{project-version}
|
||||
Michael Minella, Glenn Renfro
|
||||
:doctype: book
|
||||
:toc:
|
||||
:toclevels: 4
|
||||
@@ -8,7 +7,6 @@ v{project-version}
|
||||
:numbered:
|
||||
:icons: font
|
||||
:hide-uri-scheme:
|
||||
:title-logo-image: image:logo.png[top=10%, align=center, pdfwidth=6cm]
|
||||
:spring-cloud-task-repo: snapshot
|
||||
:github-tag: master
|
||||
:spring-cloud-task-docs-version: current
|
||||
@@ -42,35 +40,10 @@ v{project-version}
|
||||
// ======================================================================================
|
||||
|
||||
include::preface.adoc[]
|
||||
|
||||
ifdef::backend-pdf[]
|
||||
<<<
|
||||
endif::backend-pdf[]
|
||||
|
||||
include::getting-started.adoc[]
|
||||
|
||||
ifdef::backend-pdf[]
|
||||
<<<
|
||||
endif::backend-pdf[]
|
||||
|
||||
include::features.adoc[]
|
||||
|
||||
ifdef::backend-pdf[]
|
||||
<<<
|
||||
endif::backend-pdf[]
|
||||
|
||||
include::batch.adoc[]
|
||||
|
||||
ifdef::backend-pdf[]
|
||||
<<<
|
||||
endif::backend-pdf[]
|
||||
|
||||
include::stream.adoc[]
|
||||
|
||||
ifdef::backend-pdf[]
|
||||
<<<
|
||||
endif::backend-pdf[]
|
||||
|
||||
include::appendix.adoc[]
|
||||
|
||||
// ======================================================================================
|
||||
|
||||
Reference in New Issue
Block a user