(self)
| 134 | self.keep_going = False |
| 135 | |
| 136 | def _guess_source_dir(self) -> str: |
| 137 | for guess in ("doc", "docs"): |
| 138 | if not os.path.isdir(guess): |
| 139 | continue |
| 140 | for root, dirnames, filenames in os.walk(guess): |
| 141 | if "conf.py" in filenames: |
| 142 | return root |
| 143 | return os.curdir |
| 144 | |
| 145 | def finalize_options(self) -> None: |
| 146 | self.ensure_string_list("builder") |