The Manual for Courts-Martial is an essential reference for every military commander and judge advocate.
It is available online here.
It includes:
Rules for Courts-Martial
Military Rules of Evidence
Punitive Articles of the UCMJ
Non-Judicial Punishment Procedure (see also service implementing regs)
Annexes, including the complete Uniform Code of Military Justice