Sphinx ツールを使用して Python プロジェクトを文書化していますが、HTML 出力は現在次のようになっています。
ご覧のとおり、ツールバーには「ナビゲーション」という見出しがあり、その下には何もありません。次のコードをconf.py
ファイルに追加すると、HTML ツールバーは同じままです (ナビゲーションの下には何もありません)。
html_sidebars = {
'**': [
'about.html',
'navigation.html',
'searchbox.html'
]}
自分でファイルを作成する必要がありますか、それとも何か間違っていますか?
私の目標は、HTML が次のようになることです。
私も作成できなかったHTMLにロゴを追加するのと同じ問題だと思います。
これらは、index.rst
私の Sphinx プロジェクトのファイルの内容です。
.. Sample documentation master file, created by
sphinx-quickstart on Thu Jul 5 09:19:15 2018.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to Sample's documentation!
====================================
.. toctree::
:maxdepth: 2
:caption: Contents:
Indices and tables
==================
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`