Retire CPS-Temporal Repo
[cps/cps-temporal.git] / docs / 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,docs-linkcheck,docs-spellcheck
22 skipsdist = true
23 [testenv:docs]
24 basepython = python3.8
25 deps =
26     -r{toxinidir}/requirements-docs.txt
27     -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
28     -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master
29 commands =
30     sphinx-build -W -q -b html -n -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/html
31 [testenv:docs-linkcheck]
32 basepython = python3.8
33 deps =
34     -r{toxinidir}/requirements-docs.txt
35     -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
36     -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master
37 commands =
38     sphinx-build -W -q -b linkcheck -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/linkcheck
39 [testenv:docs-spellcheck]
40 basepython = python3.8
41 deps =
42     -r{toxinidir}/requirements-docs.txt
43     -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
44     -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master
45 commands =
46     sphinx-build -W -q -b spelling -Dextensions=sphinxcontrib.spelling -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/spellcheck