diff --git a/readthedocs.yml b/.readthedocs.yaml similarity index 58% rename from readthedocs.yml rename to .readthedocs.yaml index 6b2525b385..7405c1d64e 100644 --- a/readthedocs.yml +++ b/.readthedocs.yaml @@ -1,7 +1,8 @@ version: 2 -conda: - environment: sphinx-doc/environment.yml +python: + install: + - requirements: sphinx-doc/requirements.txt sphinx: configuration: sphinx-doc/conf.py @@ -11,9 +12,9 @@ formats: - htmlzip build: - os: ubuntu-20.04 + os: ubuntu-22.04 tools: - python: mambaforge-4.10 + python: "3.11" submodules: include: all diff --git a/sphinx-doc/environment.yml b/sphinx-doc/environment.yml deleted file mode 100644 index fa2cef0fa0..0000000000 --- a/sphinx-doc/environment.yml +++ /dev/null @@ -1,14 +0,0 @@ -channels: - - conda-forge -dependencies: - - python==3.10 - - sphinx - - sphinx_rtd_theme - - ipython - - ipython_genutils - - numpy - - h5py - - tornado - - pandoc - - nbconvert - - nbsphinx diff --git a/sphinx-doc/requirements.txt b/sphinx-doc/requirements.txt new file mode 100644 index 0000000000..f571a3ab04 --- /dev/null +++ b/sphinx-doc/requirements.txt @@ -0,0 +1,10 @@ +h5py +ipython +ipython_genutils +nbconvert +nbsphinx +numpy +pandoc +sphinx>=4.3.0 +sphinx-rtd-theme>=0.5.1 +tornado