12

Is there any way to generate JavaDoc in Android Studio in a similar way it's done in Eclipse where I just go to Project --> Generate Java Docs ? I mean export it as HTML page. I cannot find a similar option in Android Studio, I searched multiple posts and I can't find an answer.

1 Answer 1

31

When a project is open go to Tools > Generate JavaDoc .

Sign up to request clarification or add additional context in comments.

5 Comments

Is there a way to extract the docs into external for the project file?
what do you mean by external exactly ?
I want to extract all my javadoc comments into external file.
Android studio automatically generates docs as html files only. There is a whole bunch of options there for what you what to include in your generated javadoc but you cannot export it in a custom way (like in a single file) as javadocs are generated based on the classes of your project.
Thanks, I was supposing so...I can write a gradle task or plain java to do that. I just didn't want to.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.