A `docs_controls` aware API-crawler.
| 281 | |
| 282 | |
| 283 | class DocControlsAwareCrawler(public_api.PublicAPIVisitor): |
| 284 | """A `docs_controls` aware API-crawler.""" |
| 285 | |
| 286 | def _is_private(self, path, name, obj): |
| 287 | if doc_controls.should_skip(obj): |
| 288 | return True |
| 289 | return super(DocControlsAwareCrawler, self)._is_private(path, name, obj) |
| 290 | |
| 291 | |
| 292 | def extract(py_modules, |