Skip to content

Commit

Permalink
make cyrsoxs a mock import
Browse files Browse the repository at this point in the history
  • Loading branch information
BijalBPatel committed Sep 13, 2023
1 parent 05c2b68 commit c176c06
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
1 change: 0 additions & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@ scipy
pandas
matplotlib
scikit-image
cyrsoxs
xarray
10 changes: 9 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,16 @@

import os
import sys

sys.path.insert(0, os.path.abspath("../../"))
sys.path.insert(0, os.path.abspath("../NRSS/"))


extensions = ["sphinx.ext.autodoc", "sphinx.ext.napoleon", "sphinx_design"] # numpydoc and google docstrings
extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.napoleon",
"sphinx_design",
] # numpydoc and google docstrings

# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]
Expand Down Expand Up @@ -68,3 +73,6 @@
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ["_static"]

# Autodoc params
autodoc_mock_imports = ["CyRSoXS"]

0 comments on commit c176c06

Please sign in to comment.