Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

link to github in docs (#3466)

Dmytro Mishkin2eb0176ea817
diff --git a/docs/source/conf.py b/docs/source/conf.py
index 8c8bfbc90..d909a7676 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -93,7 +93,7 @@ extensions = [
"sphinx.ext.intersphinx",
"sphinx.ext.mathjax",
"sphinx.ext.napoleon",
- "sphinx.ext.viewcode",
+ # "sphinx.ext.viewcode",
"sphinx_autodoc_typehints",
"sphinx_autodoc_defaultargs",
"sphinx_copybutton",
@@ -265,7 +265,7 @@ def linkcode_resolve(domain, info):
if not file:
return None
- file = os.path.relpath(file, os.path.abspath(".."))
+ file = os.path.relpath(file, os.path.abspath("..")).replace("kornia/kornia", "kornia")
if not file.startswith("kornia/"):
return None