diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 31230d2..7c208b0 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -1,3 +1,6 @@ +# Required +version: 2 + build: os: ubuntu-22.04 tools: @@ -12,4 +15,6 @@ sphinx: # See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html python: install: - - requirements: docs/requirements.txt \ No newline at end of file + - requirements: docs/requirements.txt + - method: pip + path: . \ No newline at end of file diff --git a/docs/conf.py b/docs/conf.py index ee14402..0a48970 100755 --- a/docs/conf.py +++ b/docs/conf.py @@ -4,11 +4,11 @@ # list see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html -import os -import sys +# import os +# import sys -sys.path.insert(0, os.path.abspath("../reject")) -sys.path.insert(0, os.path.abspath("..")) +# sys.path.insert(0, os.path.abspath("../reject")) +# sys.path.insert(0, os.path.abspath("..")) # -- Project information ----------------------------------------------------- @@ -23,6 +23,7 @@ # ones. extensions = [ "myst_nb", + 'sphinx.ext.autodoc', "autoapi.extension", "sphinx.ext.napoleon", "sphinx.ext.viewcode",