Skip to content

Commit

Permalink
try to fix importerror
Browse files Browse the repository at this point in the history
  • Loading branch information
arthur-thuy committed Mar 6, 2024
1 parent 1b747da commit 32965e2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
7 changes: 6 additions & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Required
version: 2

build:
os: ubuntu-22.04
tools:
Expand All @@ -12,4 +15,6 @@ sphinx:
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: docs/requirements.txt
- requirements: docs/requirements.txt
- method: pip
path: .
9 changes: 5 additions & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 -----------------------------------------------------

Expand All @@ -23,6 +23,7 @@
# ones.
extensions = [
"myst_nb",
'sphinx.ext.autodoc',
"autoapi.extension",
"sphinx.ext.napoleon",
"sphinx.ext.viewcode",
Expand Down

0 comments on commit 32965e2

Please sign in to comment.