support_matrix.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:nova-dpm 作者: openstack 项目源码 文件源码
def _create_cli_paragraph(self, feature):
        ''' Create a paragraph which represents the CLI commands of the feature

        The paragraph will have a bullet list of CLI commands.
        '''
        para = nodes.paragraph()
        para.append(nodes.strong(text="CLI commands:"))
        commands = nodes.bullet_list()
        for c in feature.cli.split(";"):
            cli_command = nodes.list_item()
            cli_command += nodes.literal(text=c, classes=["sp_cli"])
            commands.append(cli_command)
        para.append(commands)
        return para
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号