diff --git a/.readthedocs.yml b/.readthedocs.yml index f5ad9775d4..8f92ee7e9d 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -16,16 +16,16 @@ # # .readthedocs.yml -build: - image: stable -conda: - environment: doc/environment.yml -python: - version: 3.7 - -# Required version: 2 -# Build documentation in the docs/ directory with Sphinx +build: + os: ubuntu-22.04 + tools: + python: "3.9" + sphinx: - configuration: doc/conf.py \ No newline at end of file + configuration: doc/conf.py + +python: + install: + - requirements: doc/requirements.txt diff --git a/doc/environment.yml b/doc/environment.yml deleted file mode 100644 index 38b97fbfbf..0000000000 --- a/doc/environment.yml +++ /dev/null @@ -1,28 +0,0 @@ -# -# singa documentation build configuration file, created by -# sphinx-quickstart on Sat Jul 9 20:36:57 2016. -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - - -name: singa -channels: - - shicong - - conda-forge -dependencies: - - singa=3.0.0.rc0=cpu_py37 [--no-deps] - - python_abi=3.7 [--no-deps] \ No newline at end of file diff --git a/doc/requirements.txt b/doc/requirements.txt new file mode 100644 index 0000000000..b1b732ea48 --- /dev/null +++ b/doc/requirements.txt @@ -0,0 +1,6 @@ +sphinx==6.2.1 +sphinx-rtd-theme==1.2.2 +pillow==5.4.1 +mock==1.0.1 +commonmark==0.9.1 +recommonmark==0.5.0