From ad9aae9164e4c53eb479b9f8da0f513394a6692c Mon Sep 17 00:00:00 2001 From: Vecko <36369090+VeckoTheGecko@users.noreply.github.com> Date: Wed, 11 Dec 2024 19:14:04 +0100 Subject: [PATCH] fix conf.py --- docs/conf.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 80cac14..11dbcaa 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -25,7 +25,8 @@ # The full version, including alpha/beta/rc tags release = __version__ - +master_doc = 'index' +source_suffix = ['.rst', '.md'] # -- General configuration --------------------------------------------------- # Add any Sphinx extension module names here, as strings. They can be @@ -36,7 +37,7 @@ 'myst_parser', 'sphinx.ext.autodoc', 'sphinx.ext.inheritance_diagram', - 'autoapi.sphinx', + 'autoapi.extension', ] extensions.append('sphinx.ext.intersphinx') @@ -46,7 +47,7 @@ 'python': ('https://docs.python.org/3/', None), } -autoapi_modules = {'pyglider': None} +autoapi_dirs = ['../pyglider'] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates']