Skip to content

Commit 0c62bf1

Browse files
author
Max Jones
authored
Update Read the Docs configuration to V2 (#75)
1 parent 18d9461 commit 0c62bf1

File tree

4 files changed

+22
-6
lines changed

4 files changed

+22
-6
lines changed

doc/environment.yml renamed to ci/requirements/doc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@ dependencies:
1919
- pip
2020
- pip:
2121
- pangeo-sphinx-book-theme
22+
# relative to this file. Needs to be editable to be accepted.
23+
- -e ../..

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def setup(app):
179179
# Add any paths that contain custom static files (such as style sheets) here,
180180
# relative to this directory. They are copied after the builtin static files,
181181
# so a file named "default.css" will overwrite the builtin "default.css".
182-
html_static_path = ['_static']
182+
# html_static_path = ['_static']
183183

184184
# Add any extra paths that contain custom files (such as robots.txt or
185185
# .htaccess) here, relative to this directory. These files are copied

readthedocs.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Read the Docs configuration file
2+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3+
4+
# Required
5+
version: 2
6+
7+
build:
8+
os: ubuntu-20.04
9+
tools:
10+
python: mambaforge-4.10
11+
12+
# Build documentation in the doc/ directory with Sphinx
13+
sphinx:
14+
configuration: doc/conf.py
15+
fail_on_warning: true
16+
17+
# Optionally declare the Python requirements required to build your docs
18+
conda:
19+
environment: ci/requirements/doc.yml

readthedocs.yml

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)