From e8e019d8cfa96c2b314385ecaf4d7c4310e2f30b Mon Sep 17 00:00:00 2001 From: Christoph Buchner Date: Tue, 7 Feb 2023 19:06:51 +0100 Subject: [PATCH 1/2] Add RTD configuration. --- .readthedocs.yaml | 13 +++++++++++++ environment.yml | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 .readthedocs.yaml diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000..1137d4e --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,13 @@ +version: 2 + +build: + os: "ubuntu-22.04" + tools: + python: "mambaforge-4.10" + +conda: + environment: environment.yml + +sphinx: + configuration: conf.py + fail_on_warning: true diff --git a/environment.yml b/environment.yml index 9ba2901..5635f55 100644 --- a/environment.yml +++ b/environment.yml @@ -1,4 +1,4 @@ -name: experiment_control_protocol +name: leco-protocol channels: - conda-forge dependencies: From 0549b26363c3b8c18f2f62673e82774f47dad521 Mon Sep 17 00:00:00 2001 From: Christoph Buchner Date: Tue, 14 Feb 2023 22:02:26 +0100 Subject: [PATCH 2/2] Remove _static path from conf.py. --- conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf.py b/conf.py index c9620bb..d9a9d06 100644 --- a/conf.py +++ b/conf.py @@ -29,4 +29,4 @@ # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output html_theme = 'sphinx_rtd_theme' -html_static_path = ['_static'] +html_static_path = []