Skip to content

Commit

Permalink
adding optional requirements to docs/requirements to make automodule …
Browse files Browse the repository at this point in the history
…working
  • Loading branch information
heikoklein committed Oct 28, 2024
1 parent 2e027a7 commit 0002a6f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 1 addition & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
# list see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html

from pathlib import Path
import os
import sys

Expand All @@ -17,7 +16,7 @@
# -- Add paths ---------------------------------------
sys.path.insert(0, os.path.abspath("."))
sys.path.insert(0, os.path.abspath(".."))
sys.path.insert(0, str(Path("..", "src").resolve()))
# sys.path.insert(0, str(Path("..", "src").resolve())) # src not needed since pyaro is installed


# -- General configuration ---------------------------------------------------
Expand Down
5 changes: 4 additions & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@ sphinxcontrib-napoleon
sphinx_rtd_theme
sphinx-argparse
nbsphinx
cf-units
xarray
netcdf4
pandas
# pyaro @ git+https://github.com/metno/pyaro@main
pyaro @ git+https://github.com/metno/pyaro@main

0 comments on commit 0002a6f

Please sign in to comment.