src/doc/commands: move cmd processing to `commands_html`