LoginSignup
0
0

More than 3 years have passed since last update.

DocFXをUnityで使う メモ

Last updated at Posted at 2019-09-28

管理者としてPowerShellを実行

chocolatelyをインストール

@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"

DocFXをインストール

choco install docfx

ドックを作りたい先のフォルダを用意

docfx作る

docfx init -q -o <ディレクトリ名>

プロジェクト・ファイル.csprojとAssets/からcsファイルまでのフォルダ構造を維持した状態でコピーして
Docfxのsrcにcsファイルを入れる

作った場所でPowerShellを実行
もしくは
cd <initで作成したディレクトリ>
csファイルを読み込む
docfx metadata
サイト作る
docfx build

サーバー立てる
docfx --serve

サイトが立ち上がる

Doxgenの方が時間かかるだけあって見やすいし色々な形式で見れるからいいが、
DocFXは分かれば最速でドキュメントっぽいのができる。要は作るの楽

0
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
0
0