Add missing RTD static files
[cps/cps-temporal.git] / tox.ini
1 # ============LICENSE_START=======================================================
2 # Copyright (C) 2021 Bell Canada
3 # ================================================================================
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #         http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 #
16 # SPDX-License-Identifier: Apache-2.0
17 # ============LICENSE_END=========================================================
18
19 [tox]
20 minversion = 1.6
21 envlist = docs
22 skipsdist = true
23
24 [testenv:docs]
25 basepython = python3
26 deps = -r{toxinidir}/requirements.txt
27        -chttps://git.onap.org/doc/plain/etc/upper-constraints.os.txt
28        -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt
29 commands =
30     sphinx-build -b html -n -d {envtmpdir}/docs/doctrees ./docs {toxinidir}/docs/_build/html
31     echo "Generated docs available in {toxinidir}/docs/_build/html"
32 whitelist_externals =
33     echo
34     git
35     sh
36
37 [testenv:docs-linkcheck]
38 basepython = python3
39 deps = -r{toxinidir}/requirements.txt
40        -chttps://git.onap.org/doc/plain/etc/upper-constraints.os.txt
41        -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt
42 commands = echo "Link Checking not enforced"
43 whitelist_externals =
44     echo