diff options
Diffstat (limited to 'sphinx/jinja2glue.py')
-rw-r--r-- | sphinx/jinja2glue.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/jinja2glue.py b/sphinx/jinja2glue.py index 43e5c89b4..ec0435f2e 100644 --- a/sphinx/jinja2glue.py +++ b/sphinx/jinja2glue.py @@ -135,7 +135,7 @@ class BuiltinTemplateLoader(TemplateBridge, BaseLoader): # create a chain of paths to search if theme: # the theme's own dir and its bases' dirs - pathchain = theme.get_dirchain() + pathchain = theme.get_theme_dirs() # the loader dirs: pathchain + the parent directories for all themes loaderchain = pathchain + [path.join(p, '..') for p in pathchain] elif dirs: |