documentation home

Output Location

By default, the generated documentation is put in the target/miredot folder for maven and the build/miredot folder for Gradle. You can override this as follows:

Maven
<configuration>
    <output>
        <location>/my/outputdir</location> <!-- for html and docx output unless overridden -->
        <html>
            <location>/my/specific/html/outputdir</location>
        </html>
        <docx>
            <location>/my/specific/msword/outputdir</location>
        </docx>
        <raml>
            <location>/my/specific/raml/outputdir</location>
        </raml>
    </output>
</configuration>
Gradle
miredot {
    output {
        location = '/my/outputdir'
        formats {
            'html' {
                location = '/my/specific/html/outputdir'
            }
            'docx' {
                location = '/my/specific/msword/outputdir'
            }
            'raml' {
                location = '/my/specific/raml/outputdir'
            }
        }
    }
}

Both relative and absolute paths are allowed. Relative paths are considered to start under target/ if you are using Maven or build/ if you are using Gradle. Please note that Miredot itself does not clear the output directory after every build. Since maven clears the target directory, this is mainly relevant if you specify an absolute output path outside this target directory.