| 1 | #include "helpers.h" |
| 2 | |
| 3 | void writeUnitCommandInfo() |
| 4 | { |
| 5 | std::ofstream of("unitcommandtypes.dox"); |
| 6 | for (auto t : UnitCommandTypes::allUnitCommandTypes()) |
| 7 | { |
| 8 | if (t == UnitCommandTypes::Unknown || t == UnitCommandTypes::None) continue; |
| 9 | of << docEnum(t); |
| 10 | of << docBegin(t); |
| 11 | |
| 12 | of << docIntro(t) << "\n"; |
| 13 | |
| 14 | |
| 15 | of << docEnd(); |
| 16 | } |
| 17 | } |