Bug 1115278 - Fix mach documentation issues; r=glandium
terminal.py had an ambiguous |import logging| that was importing mach.logging from Sphinx. We fix it. There was also a poorly formed link in the mach commands documentation. We fix it.
This commit is contained in:
@@ -23,7 +23,7 @@ The important decorators are as follows:
|
||||
A method decorator that defines an argument to the command. Its
|
||||
arguments are essentially proxied to ArgumentParser.add_argument()
|
||||
|
||||
:py:func:`SubCommand <mach.decorators.SubCommand`
|
||||
:py:func:`SubCommand <mach.decorators.SubCommand>`
|
||||
A method decorator that denotes that the method should be a
|
||||
sub-command to an existing ``@Command``. The decorator takes the
|
||||
parent command name as its first argument and the sub-command name
|
||||
|
||||
Reference in New Issue
Block a user