diff --git a/spring-shell-docs/pom.xml b/spring-shell-docs/pom.xml
index 9be35211..a9ee1b22 100644
--- a/spring-shell-docs/pom.xml
+++ b/spring-shell-docs/pom.xml
@@ -16,7 +16,9 @@
2.1.0
1.5.4
+ 1.5.1
2.5.1
+ 9.2.17.0
0.2.5
@@ -101,6 +103,46 @@
+ com.googlecode.maven-download-plugin
+ download-maven-plugin
+
+
+ unpack-doc-resources
+ generate-resources
+
+ wget
+
+
+ https://repo.spring.io/release/io/spring/docresources/spring-doc-resources/${spring-doc-resources.version}/spring-doc-resources-${spring-doc-resources.version}.zip
+ true
+ ${project.build.directory}/refdocs/
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-resources-plugin
+
+
+ copy-asciidoc-resources
+ generate-resources
+
+ copy-resources
+
+
+ ${project.build.directory}/refdocs/
+
+
+ src/main/asciidoc
+ false
+
+
+
+
+
+
+
org.asciidoctor
asciidoctor-maven-plugin
${asciidoctor.maven.plugin.version}
@@ -110,21 +152,29 @@
asciidoctorj-pdf
${asciidoctorj.pdf.version}
+
+ org.asciidoctor
+ asciidoctorj-epub3
+ ${asciidoctorj.epub.version}
+
- html
+ generate-html
generate-resources
- false
process-asciidoc
html5
- ${project.build.directory}/site/reference/html
highlight.js
- // these attributes are required to use the doc resources
+ ${project.version}
+ ${project.artifactId}
+ left
+ 4
+ true
+
shared
css/
spring.css
@@ -132,15 +182,13 @@
font
js/highlight
github
- true
- pdf
+ generate-pdf
generate-resources
- false
process-asciidoc
@@ -148,6 +196,33 @@
${project.build.directory}/site/reference/pdf
pdf
coderay
+
+ ${project.version}
+ ${project.artifactId}
+ font
+
+
+
+
+
+
+
+ generate-epub
+ generate-resources
+
+ process-asciidoc
+
+
+ epub3
+ coderay
+
+ ${project.version}
+ ${project.artifactId}
+ font
+
+
+
+
diff --git a/spring-shell-docs/src/assembly/docs-zip.xml b/spring-shell-docs/src/assembly/docs-zip.xml
index fee1d5bb..19afed73 100644
--- a/spring-shell-docs/src/assembly/docs-zip.xml
+++ b/spring-shell-docs/src/assembly/docs-zip.xml
@@ -8,12 +8,14 @@
false
- ${project.build.directory}/site/reference/html
+ ${project.build.directory}/generated-docs
site/reference/htmlsingle
- index.html
**/*
+
+ index.epub
+
${project.build.directory}/site/reference/pdf
@@ -22,6 +24,13 @@
index.pdf
+
+ ${project.build.directory}/generated-docs
+ site/reference/epub
+
+ index.epub
+
+
${project.build.directory}/apidocs
api
diff --git a/spring-shell-docs/src/main/asciidoc/docinfo.html b/spring-shell-docs/src/main/asciidoc/docinfo.html
deleted file mode 100644
index f754ec0c..00000000
--- a/spring-shell-docs/src/main/asciidoc/docinfo.html
+++ /dev/null
@@ -1,74 +0,0 @@
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/spring-shell-docs/src/main/asciidoc/index.adoc b/spring-shell-docs/src/main/asciidoc/index.adoc
index 38cb45bc..20b0a2e8 100644
--- a/spring-shell-docs/src/main/asciidoc/index.adoc
+++ b/spring-shell-docs/src/main/asciidoc/index.adoc
@@ -8,14 +8,7 @@ Eric Bottard;
ifdef::backend-html5[]
*{projectVersion}*
-NOTE: This documentation is also available as https://docs.spring.io/spring-shell/docs/{projectVersion}/reference/pdf/index.pdf[PDF].
-endif::[]
-
-ifdef::backend-pdf[]
-NOTE: This documentation is also available as https://docs.spring.io/spring-shell/docs/{projectVersion}/reference/htmlsingle/index.html[HTML].
-endif::[]
-
-(C) 2017 - 2020 Pivotal Software, Inc.
+(C) 2017 - 2021 VMware, Inc.
_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