# ============LICENSE_START=======================================================
-# Copyright (C) 2021 Nordix Foundation
+# Copyright (C) 2021-2025 OpenInfra Foundation Europe
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
version: 2
build:
- os: ubuntu-20.04
+ os: ubuntu-24.04
tools:
- python: "3.8"
+ python: "3.12"
python:
install:
html_show_sphinx = False
extensions = [
- 'sphinx.ext.intersphinx','sphinxcontrib.blockdiag',
+ 'sphinx.ext.intersphinx', 'sphinxcontrib.blockdiag', 'sphinx.ext.autosummary',
'sphinxcontrib.seqdiag', 'sphinxcontrib.swaggerdoc', 'sphinx.ext.graphviz',
'sphinxcontrib.spelling']
doc_url = 'https://docs.onap.org/projects'
master_doc = 'index'
-exclude_patterns = ['.tox']
+exclude_patterns = [
+ '.tox',
+ '/site-packages//LICENSE.rst',
+ '/site-packages//licenses/.rst',
+ '/site-packages//templates/**/.rst',
+ '/site-packages//DESCRIPTION.rst' ]
+
spelling_word_list_filename='spelling_wordlist.txt'
spelling_lang = "en_GB"
six
-sphinx>=4.2.0 # BSD
+sphinx>=8.2.0 # BSD
sphinx-rtd-theme>=1.0.0 # MIT
sphinxcontrib-blockdiag # BSD
sphinxcontrib-seqdiag # BSD
envlist = docs,docs-linkcheck,docs-spellcheck
skipsdist = true
[testenv:docs]
-basepython = python3.10
+basepython = python3
deps =
-r{toxinidir}/requirements-docs.txt
- -chttps://releases.openstack.org/constraints/upper/yoga
- -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master
commands =
sphinx-build -W -q -b html -n -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/html
[testenv:docs-linkcheck]
-basepython = python3.10
+basepython = python3
deps =
-r{toxinidir}/requirements-docs.txt
- -chttps://releases.openstack.org/constraints/upper/yoga
- -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master
commands =
sphinx-build -W -q -b linkcheck -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/linkcheck
[testenv:docs-spellcheck]
-basepython = python3.10
+basepython = python3
deps =
-r{toxinidir}/requirements-docs.txt
- -chttps://releases.openstack.org/constraints/upper/yoga
- -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master
commands =
sphinx-build -b spelling -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/spellcheck