| 1 |
# SPDX-FileCopyrightText: 2019-2020 Intel Corporation |
| 2 |
# |
| 3 |
# SPDX-License-Identifier: MIT |
| 4 |
""" |
| 5 |
Main configuration file for specification build. |
| 6 |
""" |
| 7 |
# pylint: disable=invalid-name,exec-used |
| 8 |
|
| 9 |
# For IntelĀ® Video Processing Library (IntelĀ® VPL) |
| 10 |
|
| 11 |
# -*- coding: utf-8 -*- |
| 12 |
# |
| 13 |
# Configuration file for the Sphinx documentation builder. |
| 14 |
# |
| 15 |
# This file does only contain a selection of the most common options. For a |
| 16 |
# full list see the documentation: |
| 17 |
# http://www.sphinx-doc.org/en/master/config |
| 18 |
|
| 19 |
# -- Path setup -------------------------------------------------------------- |
| 20 |
|
| 21 |
# If extensions (or modules to document with autodoc) are in another directory, |
| 22 |
# add these directories to sys.path here. If the directory is relative to the |
| 23 |
# documentation root, use os.path.abspath to make it absolute, like shown here. |
| 24 |
# |
| 25 |
import sys |
| 26 |
from os.path import join |
| 27 |
|
| 28 |
project = 'Intel\u00AE VPL' |
| 29 |
|
| 30 |
repo_root = '..' |
| 31 |
sys.path.append(repo_root) |
| 32 |
exec(open(join(repo_root, 'common_conf.py'), encoding="utf-8").read()) # nosec # pylint: disable=R1732 |
| 33 |
exec(open(join(repo_root, 'element_conf.py'), encoding="utf-8").read()) # nosec # pylint: disable=R1732 |
| 34 |
|
| 35 |
cpp_id_attributes = ['MFX_CDECL', 'MFX_DEPRECATED'] |
| 36 |
|
| 37 |
c_id_attributes = ['MFX_CDECL', 'MFX_DEPRECATED'] |
| 38 |
|
| 39 |
spelling_word_list_filename = ['../spelling_wordlist.txt'] |