From 0002a6f32b7f93bfbd936c8092d6dfca4f32cac3 Mon Sep 17 00:00:00 2001 From: Heiko Klein Date: Mon, 28 Oct 2024 17:34:09 +0100 Subject: [PATCH] adding optional requirements to docs/requirements to make automodule working --- docs/conf.py | 3 +-- docs/requirements.txt | 5 ++++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 37991d9..a67721e 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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 @@ -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 --------------------------------------------------- diff --git a/docs/requirements.txt b/docs/requirements.txt index 2536fbd..3783e28 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -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