diff --git a/docs/source/conf.py b/docs/source/conf.py index 6ac210144ab1409254b02302b22e86a794a403ed..947fcd2ef55105377d08078e4026fca08ecd8474 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -29,7 +29,8 @@ sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES) # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. -sys.path.insert(0, os.path.abspath('../../skabase')) +sys.path.insert(0, os.path.abspath('../../')) +sys.path.append(os.path.abspath('../../skabase')) # -- General configuration ------------------------------------------------ # If your documentation needs a minimal Sphinx version, state it here. diff --git a/docs/source/index.rst b/docs/source/index.rst index 94096a360aa1d27524d351df0d72f5cdf4378396..7782a4461744272b8f0d92cdd98d76fa678f9b97 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -11,6 +11,7 @@ Welcome to LMC Base Classes documentation! :maxdepth: 2 .. automodule:: SKABaseDevice.SKABaseDeviceModule + :members: .. autoclass:: SKABaseDevice.SKABaseDeviceModule.SKABaseDevice :members: