def setup(app):
"""add custom directive into Sphinx so that it is found during document parsing"""
app.add_directive('content-container', ContentContainerDirective)
app.add_directive('embed-compare', EmbedCompareDirective)
return {'version': sphinx.__display_version__, 'parallel_read_safe': True}
评论列表
文章目录