Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit b6abe5e

Browse files
author
Matthias Koeppe
committed
src/sage/docs/conf.py: Use absolute module names for sage_docbuild extensions
1 parent 52778c3 commit b6abe5e

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/sage/docs/conf.py

+3-6
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,14 @@
1212
import sphinx.ext.intersphinx as intersphinx
1313
from IPython.lib.lexers import IPythonConsoleLexer, IPyLexer
1414

15-
# If your extensions are in another directory, add it here.
16-
sys.path.append(os.path.join(SAGE_SRC, "sage_setup", "docbuild", "ext"))
17-
1815
# General configuration
1916
# ---------------------
2017

2118
# Add any Sphinx extension module names here, as strings. They can be extensions
2219
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
23-
extensions = ['inventory_builder',
24-
'multidocs',
25-
'sage_autodoc',
20+
extensions = ['sage_docbuild.ext.inventory_builder',
21+
'sage_docbuild.ext.multidocs',
22+
'sage_docbuild.ext.sage_autodoc',
2623
'sphinx.ext.graphviz',
2724
'sphinx.ext.inheritance_diagram',
2825
'sphinx.ext.todo',

0 commit comments

Comments
 (0)