我有以下index.rst
文件。在
Know the cell population of your data
=====================================
Some content
.. toctree::
:maxdepth: 2
Installation
~~~~~~~~~~~~
.. toctree::
:maxdepth: 2
installation
Scripts
~~~~~~~
.. toctree::
:maxdepth: 2
scripts
API documentation
~~~~~~~~~~~~~~~~~
.. toctree::
:maxdepth: 2
apidoc
Roadmap
~~~~~~~
.. toctree::
:maxdepth: 2
roadmap
Indices and Tables
==================
* :ref: `genindex`
现在侧边栏如下所示:
如图所示。我想做几件事。在
我怎么能做到呢?在
我最后用下面的方法解决了这个问题
在Sphinx的模板目录中创建一个文件 称为
foo.html
。在内容可能如下所示:
终于在配置文件添加:
^{pr2}$最后看起来是这样的:
我可以为第一个问题提些建议。我绝不是CSS方面的专家,所以我的解决方案可能不是更优雅的,但它很管用!把你的源/静态/自定义.css'文件:
也许CSS专家应该给一个更好的选择
相关问题 更多 >
编程相关推荐