Barry Warsaw  committed 4f79ed3

As a last resort, search . for This way, you're almost assured to
find one, providing a fallback default instead of complaining and exiting.

  • Participants
  • Parent commits 3bb949b
  • Branches default

Comments (0)

Files changed (1)

File sphinx/

         self.config_dir = None
     def _guess_source_dir(self):
-        for guess in ('doc', 'docs'):
+        for guess in ('doc', 'docs', '.'):
             if not os.path.isdir(guess):
             for root, dirnames, filenames in os.walk(guess):