Skip to content

Commit

Permalink
fixed #69 - tar.gz - Documentation files in html format
Browse files Browse the repository at this point in the history
  • Loading branch information
dzc34 committed Jun 18, 2017
1 parent 0d760e1 commit 41d4768
Show file tree
Hide file tree
Showing 4 changed files with 80 additions and 5 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ none
none

### Task
none
- [#68 - tar.gz - Changelog and readme files in html format](https://github.com/Asqatasun/Contrast-Finder/issues/68)
- [#69 - tar.gz - Documentation files in html format](https://github.com/Asqatasun/Contrast-Finder/issues/69)


Contrast-Finder 0.5.1, 2017-06-14
Expand Down
65 changes: 65 additions & 0 deletions documentation/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.asqatasun</groupId>
<artifactId>contrast-finder</artifactId>
<version>0.5.2-dev</version>
</parent>
<artifactId>documentation</artifactId>
<version>0.5.2-dev</version>
<packaging>jar</packaging>

<name>contrast-finder-documentation</name>
<url>https://contrast-finder.org</url>
<organization>
<name>Asqatasun.org</name>
<url>http://asqatasun.org</url>
</organization>
<licenses>
<license>
<name>GNU Affero General Public License v3.0</name>
<url>https://www.gnu.org/licenses/agpl-3.0.txt</url>
<distribution>manual</distribution>
</license>
</licenses>

<dependencies>
<dependency>
<groupId>com.ruleoftech</groupId>
<artifactId>markdown-page-generator-plugin</artifactId>
<version>1.0.0</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>com.ruleoftech</groupId>
<artifactId>markdown-page-generator-plugin</artifactId>
<version>1.0.0</version>
<executions>
<execution>
<phase>process-sources</phase>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
<configuration>
<inputDirectory>${project.basedir}/en/</inputDirectory>
<outputDirectory>${project.build.directory}/doc_html/</outputDirectory>
<inputEncoding>UTF-8</inputEncoding>
<outputEncoding>UTF-8</outputEncoding>
<copyDirectories>images/logo_contrast-finder/</copyDirectories>
<copyDirectories>images/screenshot/</copyDirectories>
<recursiveInput>true</recursiveInput>
<transformRelativeMarkdownLinks>true</transformRelativeMarkdownLinks>
<pegdownExtensions>TABLES,FENCED_CODE_BLOCKS,AUTOLINKS, ANCHORLINKS</pegdownExtensions>
<!-- <pegdownExtensions>TABLES,FENCED_CODE_BLOCKS,AUTOLINKS, ANCHORLINKS, EXTANCHORLINKS</pegdownExtensions> -->
<headerHtmlFile>${project.basedir}/../engine/resources/src/main/resources/markdown/html/header.html</headerHtmlFile>
<footerHtmlFile>${project.basedir}/../engine/resources/src/main/resources/markdown/html/footer.html</footerHtmlFile>
</configuration>
</plugin>
</plugins>
</build>
</project>
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
the minimum version of Maven for maven plugins
............ mvn versions:display-plugin-updates -->
<modules>
<!-- <module>documentation</module> -->
<module>documentation</module>
<module>engine</module>
<module>webapp</module>
</modules>
Expand Down
15 changes: 12 additions & 3 deletions webapp/src/main/resources/descriptor.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,18 @@
<fileMode>664</fileMode>
<outputDirectory>/install/</outputDirectory>
</fileSet>
<!-- Docs -->
<!-- Docs .html -->
<fileSet>
<directory>${basedir}/../documentation/target/doc_html/</directory>
<includes>
<include>**/*</include>
</includes>
<fileMode>644</fileMode>
<outputDirectory>/documentation</outputDirectory>
</fileSet>

<!-- Docs .md-->
<!-- <fileSet>
<directory>${basedir}/../documentation/en/</directory>
<includes>
<include>**/*</include>
Expand All @@ -68,7 +78,6 @@
</excludes>
<fileMode>644</fileMode>
<outputDirectory>/documentation</outputDirectory>
</fileSet>

</fileSet> -->
</fileSets>
</assembly>

0 comments on commit 41d4768

Please sign in to comment.