Georg Brandl  committed 005a29b

Re-add dependency recording in autodoc which was lost during the refactoring.

  • Participants
  • Parent commits 5d9d0b6
  • Branches default

Comments (0)

Files changed (1)

File sphinx/ext/

         if not self.result:
             return self.warnings
+        # record all filenames as dependencies -- this will at least
+        # partially make automatic invalidation possible
+        for fn in self.filename_set:
+            self.env.note_dependency(fn)
         # use a custom reporter that correctly assigns lines to source
         # filename/description and lineno
         old_reporter = self.state.memo.reporter