From 76172eb5e3e0776d1bc4d246832bc4b2e5eade7c Mon Sep 17 00:00:00 2001 From: mgrover1 Date: Fri, 7 Jul 2023 13:47:33 -0500 Subject: [PATCH] remove extra lines --- .readthedocs.yaml | 16 ++++------------ ci/environment-docs.yml | 12 ++++++++++++ docs/requirements-docs.txt | 6 ------ 3 files changed, 16 insertions(+), 18 deletions(-) create mode 100644 ci/environment-docs.yml delete mode 100644 docs/requirements-docs.txt diff --git a/.readthedocs.yaml b/.readthedocs.yaml index c921d24..962fe47 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -1,6 +1,10 @@ # Required version: 2 +# Conda env +conda: + environment: ci/environment-docs.yml + # Set the OS, Python version and other tools you might need build: os: ubuntu-22.04 @@ -10,15 +14,3 @@ build: # Build documentation in the "docs/" directory with Sphinx sphinx: configuration: docs/conf.py - -# Optionally build your docs in additional formats such as PDF and ePub -# formats: -# - pdf -# - epub - -# Optional but recommended, declare the Python requirements required -# to build your documentation -# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html -python: - install: - - requirements: docs/requirements-docs.txt diff --git a/ci/environment-docs.yml b/ci/environment-docs.yml new file mode 100644 index 0000000..4b1f319 --- /dev/null +++ b/ci/environment-docs.yml @@ -0,0 +1,12 @@ +name: cmweather-dev +channels: + - conda-forge +dependencies: + - numpydoc + - pydata-sphinx-theme + - nbsphinx + - ipython + - ipykernel + - netcdf4 + - xarray + - pooch diff --git a/docs/requirements-docs.txt b/docs/requirements-docs.txt deleted file mode 100644 index 49da3d9..0000000 --- a/docs/requirements-docs.txt +++ /dev/null @@ -1,6 +0,0 @@ -numpydoc -pydata-sphinx-theme -nbsphinx -ipython -ipykernel -- r ../requirements.txt