seanbeirne | a67e735 | 2022-10-25 17:36:55 +0100 | [diff] [blame] | 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 | |
shivasubedi | 3d1579c | 2021-09-13 16:43:20 +0100 | [diff] [blame] | 19 | [tox] |
| 20 | minversion = 1.6 |
seanbeirne | a67e735 | 2022-10-25 17:36:55 +0100 | [diff] [blame] | 21 | envlist = docs,docs-linkcheck,docs-spellcheck |
shivasubedi | 3d1579c | 2021-09-13 16:43:20 +0100 | [diff] [blame] | 22 | skipsdist = true |
shivasubedi | 3d1579c | 2021-09-13 16:43:20 +0100 | [diff] [blame] | 23 | [testenv:docs] |
mpriyank | 7b7297c | 2022-09-14 10:47:45 +0100 | [diff] [blame] | 24 | basepython = python3.8 |
seanbeirne | a67e735 | 2022-10-25 17:36:55 +0100 | [diff] [blame] | 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 |
shivasubedi | 3d1579c | 2021-09-13 16:43:20 +0100 | [diff] [blame] | 29 | commands = |
seanbeirne | a67e735 | 2022-10-25 17:36:55 +0100 | [diff] [blame] | 30 | sphinx-build -W -q -b html -n -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/html |
shivasubedi | 3d1579c | 2021-09-13 16:43:20 +0100 | [diff] [blame] | 31 | [testenv:docs-linkcheck] |
mpriyank | 7b7297c | 2022-09-14 10:47:45 +0100 | [diff] [blame] | 32 | basepython = python3.8 |
seanbeirne | a67e735 | 2022-10-25 17:36:55 +0100 | [diff] [blame] | 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 = |
halil.cakal | 73a5134 | 2023-03-20 10:33:08 +0000 | [diff] [blame] | 46 | sphinx-build -b spelling -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/spellcheck |