diff --git a/distribution/src/main/assembly/dist.xml b/distribution/src/main/assembly/dist.xml
index 11f0b3f64..7a4ae4309 100644
--- a/distribution/src/main/assembly/dist.xml
+++ b/distribution/src/main/assembly/dist.xml
@@ -63,6 +63,14 @@
target/freemarker-unpacked/META-INF/LICENSE.txt
etc/freemarker
+
+ ../documentation/target/generated-docs/mapstruct-reference-guide.html
+ docs/reference/html
+
+
+ ../documentation/target/generated-docs/mapstruct-reference-guide.pdf
+ docs/reference/pdf
+
diff --git a/documentation/pom.xml b/documentation/pom.xml
index 00b1c5561..dc7b81189 100644
--- a/documentation/pom.xml
+++ b/documentation/pom.xml
@@ -64,6 +64,13 @@
${asciidoctorj.version}
+
+ coderay
+
+ 1.0.0.Final
+ font
+
+
output-html
@@ -73,11 +80,6 @@
html
- coderay
-
- 1.0.0.Final
- font
-
@@ -88,10 +90,7 @@
pdf
- coderay
- 1.0.0.Final
- font
diff --git a/documentation/src/main/asciidoc/index.asciidoc b/documentation/src/main/asciidoc/mapstruct-reference-guide.asciidoc
similarity index 100%
rename from documentation/src/main/asciidoc/index.asciidoc
rename to documentation/src/main/asciidoc/mapstruct-reference-guide.asciidoc