diff options
author | Martin Liska <mliska@suse.cz> | 2022-11-13 21:56:21 +0100 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2022-11-14 09:35:03 +0100 |
commit | 6e797607417fd66f5d1d2613e3dc1f417f1b391e (patch) | |
tree | 264552be6669e64776dec7dce5f2fd1f971ec45d | |
parent | 574767073b2fd0c96b93e3cb5e3d93e79555bb62 (diff) | |
download | gcc-6e797607417fd66f5d1d2613e3dc1f417f1b391e.zip gcc-6e797607417fd66f5d1d2613e3dc1f417f1b391e.tar.gz gcc-6e797607417fd66f5d1d2613e3dc1f417f1b391e.tar.bz2 |
Revert "doc: Use a separate directory for new modules we add to PATH"
This reverts commit 70f1c41061b2b55ed4cdc2e83c7cf326c7ebe7a4.
-rw-r--r-- | doc/baseconf.py | 4 | ||||
-rw-r--r-- | doc/gcc_sphinx.py (renamed from doc/modules/gcc_sphinx.py) | 0 |
2 files changed, 1 insertions, 3 deletions
diff --git a/doc/baseconf.py b/doc/baseconf.py index d85659e..47e3a12 100644 --- a/doc/baseconf.py +++ b/doc/baseconf.py @@ -13,6 +13,7 @@ import os import time import sys +# sys.path.insert(0, os.path.abspath('.')) # gccint needs a deeper stack limit sys.setrecursionlimit(2000) @@ -22,11 +23,8 @@ sys.setrecursionlimit(2000) # The full version, including alpha/beta/rc tags folder = os.path.dirname(os.path.realpath(__file__)) -doc_modules = os.path.join(folder, 'modules') gcc_srcdir = os.path.join(folder, '..', 'gcc') -sys.path.insert(0, doc_modules) - def read_file(name): path = os.path.join(gcc_srcdir, name) if os.path.exists(path): diff --git a/doc/modules/gcc_sphinx.py b/doc/gcc_sphinx.py index 2ef15ae..2ef15ae 100644 --- a/doc/modules/gcc_sphinx.py +++ b/doc/gcc_sphinx.py |