1 # ============LICENSE_START=======================================================
2 # Copyright (C) 2022 Nordix Foundation
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
8 # http://www.apache.org/licenses/LICENSE-2.0
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.
16 # SPDX-License-Identifier: Apache-2.0
17 # ============LICENSE_END=========================================================
21 envlist = docs,docs-linkcheck,docs-spellcheck
24 basepython = python3.8
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
30 sphinx-build -q -b html -n -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/html
31 [testenv:docs-linkcheck]
32 basepython = python3.8
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
38 sphinx-build -b linkcheck -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/linkcheck
39 [testenv:docs-spellcheck]
40 basepython = python3.8
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
46 sphinx-build -b spelling -Dextensions=sphinxcontrib.spelling -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/spellcheck