Add index for API Reference

This commit is contained in:
Šarūnas Nejus 2025-09-04 11:47:34 +01:00
parent 1736a5e735
commit f8a98ac518
No known key found for this signature in database
GPG key ID: DD28F6704DBE3435
3 changed files with 12 additions and 9 deletions

9
docs/api/index.rst Normal file
View file

@ -0,0 +1,9 @@
API Reference
=============
.. toctree::
:maxdepth: 2
:titlesonly:
plugins
database

View file

@ -95,7 +95,7 @@ html_theme = "pydata_sphinx_theme"
html_theme_options = {
"collapse_navigation": False,
"logo": {"text": "beets"},
"show_nav_level": 3, # How many levels in left sidebar to show automatically
"show_nav_level": 2, # How many levels in left sidebar to show automatically
"navigation_depth": 4, # How many levels of navigation to expand
}
html_title = "beets"

View file

@ -13,17 +13,11 @@ configuration files, respectively.
.. _mediafile: https://mediafile.readthedocs.io/en/latest/
.. toctree::
:maxdepth: 2
:maxdepth: 3
:titlesonly:
plugins/index
library
importer
cli
.. toctree::
:maxdepth: 1
:caption: API Reference
../api/plugins
../api/database
../api/index