Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

Fix module path issues for docs

Jian S38352e3cb174
diff --git a/docs/source/conf.py b/docs/source/conf.py
index 62c024751..6a252a611 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -9,6 +9,7 @@ import sphinx_rtd_theme
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
current_path = os.path.abspath(os.path.join(__file__, "..", "..", ".."))
+sys.path.append(current_path)
#sys.path.append(os.path.join(root_path, "kornia"))
#sys.path.append(os.path.join(root_path, "examples"))
diff --git a/requirements.txt b/requirements.txt
index 699f8d27b..898830955 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -23,7 +23,7 @@ mypy_extensions==0.4.1
# docs
sphinx==2.1.2
sphinx-gallery==0.4.0
-sphinx_rtd_theme=0.4.3
+sphinx_rtd_theme==0.4.3
sphinxcontrib-bibtex==0.4.2
nbsphinx==0.4.2
nbconvert==5.5.0