From 48d5216408afc1f0a17c5342b5b0f86248b77914 Mon Sep 17 00:00:00 2001 From: Jessica Nash Date: Mon, 22 Jul 2024 15:44:59 -0400 Subject: [PATCH] update rtd yaml and requirements file --- .readthedocs.yaml | 9 +++++++++ {{cookiecutter.repo_name}}/docs/requirements.yaml | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 .readthedocs.yaml diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000..27bfa5b --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,9 @@ +version: 2 + +build: + os: "ubuntu-22.04" + tools: + python: "mambaforge-22.9" + +conda: + environment: docs/requirements.yaml \ No newline at end of file diff --git a/{{cookiecutter.repo_name}}/docs/requirements.yaml b/{{cookiecutter.repo_name}}/docs/requirements.yaml index b9fdff0..0a06add 100644 --- a/{{cookiecutter.repo_name}}/docs/requirements.yaml +++ b/{{cookiecutter.repo_name}}/docs/requirements.yaml @@ -1,6 +1,6 @@ name: docs_{{cookiecutter.project_name}} channels: -{% if cookiecutter.dependency_source == 'Prefer conda-forge over the default anaconda channel with pip fallback' %} +{% if cookiecutter.dependency_source == 'Prefer conda-forge with pip fallback' %} - conda-forge {% endif %} - defaults @@ -8,7 +8,7 @@ dependencies: # Base depends - python - pip - {% if cookiecutter.dependency_source == 'Prefer conda-forge over the default anaconda channel with pip fallback' %} + {% if cookiecutter.dependency_source == 'Prefer conda-forge with pip fallback' %} - pydata-sphinx-theme - sphinx-design - sphinx-copybutton