For Sphinx, split CLI vs. Python API docs.

'sphinx -t cliref' only outputs the section on common command-line arguments.
'sphinx -t pyapi' only outputs the Python API.
'sphinx -t all' does everything.