【发布时间】:2018-10-23 08:20:13
【问题描述】:
有没有办法在 Sphinx 输出中左对齐表格标题(使用 sphinx_rtd_theme)?
自定义 css 包含在 conf.py 中:
def setup(app):
app.add_stylesheet('_static/custom.css')
这是有效的:
.wy-nav-content {
max-width: none;
}
这些都不起作用:
.caption {
align:left
}
或
.caption-text {
align:left
}
可以通过自定义 css 实现吗?
【问题讨论】:
标签: css python-sphinx read-the-docs