<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 https://maven.apache.org/xsd/assembly-2.0.0.xsd">
    <id>docs</id>
    <formats>
        <format>zip</format>
    </formats>
    <includeBaseDirectory>false</includeBaseDirectory>
    <fileSets>
        <fileSet>
            <directory>${project.build.directory}/generated-docs</directory>
            <outputDirectory>site/reference/htmlsingle</outputDirectory>
            <includes>
                <include>**/*</include>
            </includes>
            <excludes>
                <exclude>index.epub</exclude>
            </excludes>
        </fileSet>
        <fileSet>
            <directory>${project.build.directory}/site/reference/pdf</directory>
            <outputDirectory>site/reference/pdf</outputDirectory>
            <includes>
                <include>index.pdf</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.build.directory}/generated-docs</directory>
            <outputDirectory>site/reference/epub</outputDirectory>
            <includes>
                <include>index.epub</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.build.directory}/apidocs</directory>
            <outputDirectory>api</outputDirectory>
        </fileSet>
    </fileSets>
</assembly>
