Help us understand the problem. What is going on with this article?

Minecraft Forge の API リファレンスを javadoc コマンドで生成する

今回の実行環境

macOS Catalina + Java 8

$ sw_vers 
ProductName:    Mac OS X
ProductVersion: 10.15.3
BuildVersion:   19D76

$ java -version
openjdk version "1.8.0_242"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_242-b08)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.242-b08, mixed mode)

javadoc コマンドで API リファレンスを生成

Minecraft Forge のソースコードをダウロードして展開する。
今回はバージョン 1.15 系をダウンロードする。

$ wget https://github.com/MinecraftForge/MinecraftForge/archive/1.15.x.zip
$ unzip 1.15.x.zip

javadoc コマンドで API リファレンスの HTML ページを生成する。

$ javadoc -d docs -sourcepath MinecraftForge-1.15.x/src/main/java -subpackages net.minecraftforge

-d オプションで指定したディレクトリに HTML ファイル等が生成されているのが確認できる。

$ find docs | head
docs
docs/constant-values.html
docs/overview-tree.html
docs/net
docs/net/minecraftforge
docs/net/minecraftforge/registries
docs/net/minecraftforge/registries/IRegistryDelegate.html
docs/net/minecraftforge/registries/IForgeRegistry.CreateCallback.html
docs/net/minecraftforge/registries/ForgeRegistry.Snapshot.html
docs/net/minecraftforge/registries/ObjectHolderRef.html

参考資料

niwasawa
迷子になりがちな地図・位置情報系プログラマ。
http://niwasawa.hatenablog.jp/
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした