Skip to content

Commit

Permalink
Remove ascii docs and maven profile
Browse files Browse the repository at this point in the history
  • Loading branch information
uglide committed Aug 9, 2024
1 parent 9d13428 commit 5489c2b
Show file tree
Hide file tree
Showing 18 changed files with 1 addition and 2,582 deletions.
124 changes: 1 addition & 123 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<releaseProfiles>sonatype-oss-release,documentation</releaseProfiles>
<releaseProfiles>sonatype-oss-release</releaseProfiles>
<goals>deploy</goals>
<autoVersionSubmodules>true</autoVersionSubmodules>
<tagNameFormat>@{project.version}</tagNameFormat>
Expand Down Expand Up @@ -1238,128 +1238,6 @@
</build>
</profile>

<profile>

<id>documentation</id>

<build>

<plugins>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>

<execution>
<id>rename-reference-docs</id>
<phase>process-resources</phase>
<configuration>
<target>
<copy failonerror="false" file="${project.build.directory}/generated-docs/index.pdf" tofile="target/site/reference/pdf/lettuce-reference.pdf" />
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>

</executions>
</plugin>

<plugin>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId>
<version>2.2.4</version>
<dependencies>
<dependency>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctorj-pdf</artifactId>
<version>2.3.9</version>
</dependency>
</dependencies>
<executions>

<execution>
<id>html</id>
<phase>generate-resources</phase>
<goals>
<goal>process-asciidoc</goal>
</goals>
<configuration>
<backend>html5</backend>
<outputDirectory>
${project.build.directory}/site/reference/html
</outputDirectory>
<doctype>book</doctype>
<attributes>
<linkcss>true</linkcss>
<sectanchors>true</sectanchors>
<stylesdir>stylesheets</stylesdir>
<stylesheet>golo.css</stylesheet>
</attributes>
</configuration>
</execution>

<execution>
<id>pdf</id>
<phase>generate-resources</phase>
<goals>
<goal>process-asciidoc</goal>
</goals>
<configuration>
<backend>pdf</backend>
</configuration>
</execution>

</executions>

<configuration>
<sourceDirectory>src/main/asciidoc</sourceDirectory>
<sourceDocumentName>index.asciidoc</sourceDocumentName>
<doctype>book</doctype>
<attributes>
<version>${project.version}</version>
<allow-uri-read>true</allow-uri-read>
<toclevels>3</toclevels>
<numbered>true</numbered>
<ext-doc>
https://raw.githubusercontent.com/wiki/lettuce-io/lettuce-core/
</ext-doc>
<allow-uri-read />
<docinfo />
<toc2 />
<icons>font</icons>
<source-highlighter>coderay</source-highlighter>
</attributes>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>docs</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptors>
<descriptor>src/assembly/docs.xml</descriptor>
</descriptors>
<tarLongFileMode>gnu</tarLongFileMode>
<attach>true</attach>
</configuration>
</execution>
</executions>
</plugin>

</plugins>
</build>
</profile>

</profiles>

</project>
74 changes: 0 additions & 74 deletions src/main/asciidoc/advanced-usage.asciidoc

This file was deleted.

5 changes: 0 additions & 5 deletions src/main/asciidoc/faq.asciidoc

This file was deleted.

48 changes: 0 additions & 48 deletions src/main/asciidoc/getting-started.asciidoc

This file was deleted.

30 changes: 0 additions & 30 deletions src/main/asciidoc/ha-sharding.asciidoc

This file was deleted.

Binary file removed src/main/asciidoc/images/apple-touch-icon-144.png
Binary file not shown.
Binary file removed src/main/asciidoc/images/apple-touch-icon-180.png
Binary file not shown.
Binary file removed src/main/asciidoc/images/[email protected]
Binary file not shown.
Binary file removed src/main/asciidoc/images/touch-icon-192x192.png
Binary file not shown.
5 changes: 0 additions & 5 deletions src/main/asciidoc/index-docinfo.html

This file was deleted.

33 changes: 0 additions & 33 deletions src/main/asciidoc/index.asciidoc

This file was deleted.

10 changes: 0 additions & 10 deletions src/main/asciidoc/integration-extension.asciidoc

This file was deleted.

Loading

0 comments on commit 5489c2b

Please sign in to comment.