Commits

Georg Brandl committed 87f8500 Merge

Merge stable into default

  • Participants
  • Parent commits 6f83c6e, 1a6f8fe

Comments (0)

Files changed (1)

File sphinx/environment.py

         settings, source = self.document.settings, self.document['source']
         # XXX check if this is reliable
         assert source.startswith(env.srcdir)
-        docname = path.splitext(path.relpath(source, env.srcdir))[0]
+        docname = path.splitext(relative_path(source, env.srcdir))[0]
         textdomain = find_catalog(docname,
                                   self.document.settings.gettext_compact)