diff --git a/docs/conf.py b/docs/conf.py index 1bc2b7b..ab70c21 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -14,7 +14,7 @@ # import sys # sys.path.insert(0, os.path.abspath('.')) -import syncfit +# import syncfit from typing import List import sys import os @@ -23,6 +23,7 @@ sys.path.insert(0, os.path.abspath(".")) sys.path.insert(0, os.path.abspath("../")) sys.path.insert(0, os.path.abspath("../src/syncfit")) # needed for autodocs +sys.path.insert(0, os.path.abspath("../src/syncfit/models")) # needed for autodocs # -- Project information ----------------------------------------------------- @@ -31,8 +32,9 @@ author = 'Noah Franz, Collin Christy' # The full version, including alpha/beta/rc tags -release = syncfit.__version__ -version = syncfit.__version__ +from _version import __version__ as _v +release = _v +version = _v # -- General configuration --------------------------------------------------- diff --git a/docs/source.rst b/docs/source.rst index 1901b38..9a5b205 100644 --- a/docs/source.rst +++ b/docs/source.rst @@ -6,6 +6,9 @@ Source Documentation `syncfit.models` ---------------- +.. autoclass:: syncfit.models.MQModel + :members: + :inherited-members: .. autoclass:: syncfit.models.B5 :members: