diff --git a/docs/api/index.rst b/docs/api/index.rst new file mode 100644 index 000000000..edec5fe96 --- /dev/null +++ b/docs/api/index.rst @@ -0,0 +1,9 @@ +API Reference +============= + +.. toctree:: + :maxdepth: 2 + :titlesonly: + + plugins + database diff --git a/docs/conf.py b/docs/conf.py index 1e53fe427..838d82800 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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" diff --git a/docs/dev/index.rst b/docs/dev/index.rst index 633d50cd1..7bd0ba709 100644 --- a/docs/dev/index.rst +++ b/docs/dev/index.rst @@ -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