def METHOD_NAME(self, formatter: DocsCommandHelpTextFormatter):
    """
    Formats the sub-commands of the help text for the docs command.
    Parameters
    ----------
    formatter: DocsCommandHelpTextFormatter
        A formatter instance to use for formatting the help text
    """
    with formatter.indented_section(name="Commands", extra_indents=1):
        formatter.write_rd(
            [
                RowDefinition(self.docs_command.base_command + " " + command)
                for command in self.docs_command.all_commands
            ],
            col_max=50,
        )