orchidhq / Orchid

Build and deploy beautiful documentation sites that grow with you
https://orchid.run
GNU General Public License v3.0
513 stars 53 forks source link

Support --experimentalSourceDoc flyg by Maven Plugin #349

Closed zambrovski closed 4 years ago

zambrovski commented 4 years ago

Currently, the 0.18.1 promotes the usage of the --experimentalSourceDoc flag to opt-in into new source plugin. This option is supported by gradle, but is ignored by the Maven MoJo.

zambrovski commented 4 years ago

Th flag can be passed using the following code:

    <plugins>
      <plugin>
        <groupId>io.github.javaeden.orchid</groupId>
        <artifactId>orchid-maven-plugin</artifactId>
        <configuration>
          <theme>BsDoc</theme>
          <githubToken>${githubToken}</githubToken>
          <baseUrl>${baseUrl}</baseUrl>
          <version>${project.version}</version>
          <args>--experimentalSourceDoc</args>
        </configuration>
      </plugin>
    </plugins>