JosephKeenan | e68aec1 | 2022-09-01 11:39:47 +0100 | [diff] [blame] | 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 |
| 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 | |
Rishi.Chail | 5272dca | 2021-02-23 12:14:24 +0000 | [diff] [blame] | 19 | [tox] |
| 20 | minversion = 1.6 |
JosephKeenan | e68aec1 | 2022-09-01 11:39:47 +0100 | [diff] [blame] | 21 | envlist = docs,docs-linkcheck,docs-spellcheck |
Rishi.Chail | 5272dca | 2021-02-23 12:14:24 +0000 | [diff] [blame] | 22 | skipsdist = true |
Rishi.Chail | 5272dca | 2021-02-23 12:14:24 +0000 | [diff] [blame] | 23 | [testenv:docs] |
ToineSiebelink | 74eed2c | 2023-08-31 17:38:52 +0100 | [diff] [blame] | 24 | basepython = python3.10 |
JosephKeenan | e68aec1 | 2022-09-01 11:39:47 +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 |
Rishi.Chail | 5272dca | 2021-02-23 12:14:24 +0000 | [diff] [blame] | 29 | commands = |
ToineSiebelink | d0e4a9c | 2023-11-08 17:29:50 +0000 | [diff] [blame^] | 30 | sphinx-build -W -q -b html -n -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/html |
Rishi.Chail | 5272dca | 2021-02-23 12:14:24 +0000 | [diff] [blame] | 31 | [testenv:docs-linkcheck] |
ToineSiebelink | 74eed2c | 2023-08-31 17:38:52 +0100 | [diff] [blame] | 32 | basepython = python3.10 |
JosephKeenan | e68aec1 | 2022-09-01 11:39:47 +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 = |
ToineSiebelink | d0e4a9c | 2023-11-08 17:29:50 +0000 | [diff] [blame^] | 38 | sphinx-build -W -q -b linkcheck -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/linkcheck |
JosephKeenan | e68aec1 | 2022-09-01 11:39:47 +0100 | [diff] [blame] | 39 | [testenv:docs-spellcheck] |
ToineSiebelink | 74eed2c | 2023-08-31 17:38:52 +0100 | [diff] [blame] | 40 | basepython = python3.10 |
JosephKeenan | e68aec1 | 2022-09-01 11:39:47 +0100 | [diff] [blame] | 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 = |
Cédric Ollivier | 490b20d | 2023-03-15 21:40:48 +0100 | [diff] [blame] | 46 | sphinx-build -b spelling -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/spellcheck |