Thanks Tim. That works in incubator-pekko repo too. The system property has been renamed in that repo.
"sbt -Dpekko.genjavadoc.enabled=true Javaunidoc/doc” In incubator-pekko, it seems to fail with Java 8 but runs ok with Java 11. On Sun, 22 Jan 2023 at 23:34, Tim Moore <[email protected]> wrote: > > Try this https://doc.akka.io/docs/akka-http/10.0/contributing.html#javadoc > > "sbt -Dakka.genjavadoc.enabled=true javaunidoc:doc” > > That’s from the Akka HTTP docs, but it looks like it should be the same for > the core project. It’s looking for that property here: > https://github.com/apache/incubator-pekko/blob/b6a8e2204bcdd3a96101d16b6d003c37d57a0f36/project/Doc.scala#LL137C45-L137C62 > > I believe that "sbt -Dakka.genjavadoc.enabled=true unidoc” should then > generate both unified ScalaDoc and unified JavaDoc in the same run, but I > can’t test it right now. > > Best, > Tim > > > On 23 Jan 2023, at 5:39 am, PJ Fanning <[email protected]> wrote: > > > > Thanks Tim. That `abt unidoc` gets me the unified Scaladoc which > > definitely helps. I still haven't worked out how to build the Java API > > equivalent. sbt-unidoc does document some stuff but I might need to > > enable more plugin settings in the build.sbt. > > > > On Sun, 22 Jan 2023 at 02:53, Tim Moore <[email protected]> wrote: > >> > >> I think ’sbt unidoc’ should do it > >> > >> Best, > >> Tim > >> > >>> On 22 Jan 2023, at 1:48 am, PJ Fanning <[email protected]> wrote: > >>> > >>> Hi everyone, > >>> I published the main incubator-pekko docs to > >>> https://pekko.staged.apache.org and https://pekko.apache.org. > >>> I didn't worry about the paths - I was just testing that the publishing > >>> worked. > >>> > >>> So far, I'm trying to follow the path standards used on > >>> https://docs.akka.io. > >>> > >>> Would anyone know how to generate the api and japi html like those on > >>> https://akka.io/docs/ without the rsyncPublish? > >>> > >>> `sbt doc` produces scaladoc html but it is distributed across the > >>> module target dirs. > >>> > >>> I'm assuming that there must be something easier than me scripting up > >>> something new to do this. > >>> > >>> Regards, > >>> PJ > >>> > >>> --------------------------------------------------------------------- > >>> To unsubscribe, e-mail: [email protected] > >>> For additional commands, e-mail: [email protected] > >>> > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [email protected] > >> For additional commands, e-mail: [email protected] > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
