LoginSignup
1
0

More than 3 years have passed since last update.

YARDの出力ディレクトリを指定する

Posted at

20分ググる事になったので備忘録として残しておきます。

やり方

-o オプションを付けましょう

yardoc -o 出力したいディレクトリ 出力したいファイル

yardoc -o doc/yard app/models/user.rb

おまけ

というかhelpを参照しろって話ですね。。

$ yardoc -help
(前略)
    -o, --output-dir PATH            The output directory. (defaults to ./doc)
(後略)
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0