build.xml refactoring got rid of API doc generation commands?

Issue #16 resolved
Ville Rantanen created an issue

build.xml does not have *docs targets anymore.

Are they to be added somewhere else?

Comments (9)

  1. Kristian Ovaska

    I removed them because we are using SBT now to build core, and it might be better just to add more targets to build.sbt.

    Which docs do you need? Javadoc or component docs?

  2. Kristian Ovaska

    bin/anduril is the best place for these.

    But "anduril doc" is getting compicated. What would "anduril doc --api -b bundle -k key" mean, for example? If you have parameters that are valid only in a certain combination, you have in practice many sub-commands under "anduril doc".

    What about:

    • anduril build-doc --api (would also call sbt doc)
    • anduril build-doc -b BUNDLE1 -b BUNDLE2 (to replace anduril doc --htm; --api is not allowed with thisl)
    • anduril doc would then be the command-line browser to access, but not build, docs

    This also has two sub-commands in build-doc, but the interface is still understandable.

  3. Ville Rantanen reporter

    how do we get the javadoc? sbt doc only generates scala runtime and table manipulation.

  4. Kristian Ovaska

    I added Java componentSkeleton (org.anduril.component) to 'sbt doc'. Other packages are only useful for core developer(s).

    We can use Scaladoc also for Java classes.

  5. Ville Rantanen reporter

    i guess we'll want the code developer docs to be available somewhere. at some point.. but that's for later.

  6. Log in to comment