Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
repo_root = '..'
exec(open(join(repo_root, 'source', 'conf', 'common_conf.py')).read())

extensions += ['notfound.extension'] # noqa: F821

# -- Project information -----------------------------------------------------

project = u'oneAPI Specification'
Expand Down
3 changes: 0 additions & 3 deletions source/conf/common_conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,12 @@
)

extensions = [
'notfound.extension',
'sphinx.ext.autodoc',
'sphinx.ext.doctest',
'sphinx.ext.todo',
'sphinx.ext.coverage',
'sphinx.ext.mathjax',
'sphinx.ext.ifconfig',
# 'sphinx.ext.imgconverter',
'sphinx.ext.viewcode',
'sphinx.ext.githubpages',
'sphinx.ext.graphviz',
Expand All @@ -41,7 +39,6 @@
'sphinx_substitution_extensions',
'sphinxcontrib.plantuml',
'breathe',
# 'vplapi',
'dalapi', # oneDAL API generator
]

Expand Down
9 changes: 5 additions & 4 deletions source/elements/dpcpp/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@
#
import os
import sys
sys.path.insert(0, os.path.abspath(os.path.join('..','..','..','conf')))
# element_conf needs to import this conf
sys.path.insert(0, os.path.abspath('.'))
from os.path import join


project = 'dpcpp'

from element_conf import *
repo_root = join('..', '..', '..', '..')
exec(open(join(repo_root, 'source', 'conf', 'common_conf.py')).read())
exec(open(join(repo_root, 'source', 'conf', 'element_conf.py')).read())
Loading