Index a file, reading from `full_path`, with `base_name` as the link.
(self, full_path, base_name)
| 385 | py_guide_parser.PyGuideParser.__init__(self) |
| 386 | |
| 387 | def process(self, full_path, base_name): |
| 388 | """Index a file, reading from `full_path`, with `base_name` as the link.""" |
| 389 | self.full_path = full_path |
| 390 | self.base_name = base_name |
| 391 | self.title = None |
| 392 | self.section_title = None |
| 393 | self.section_tag = None |
| 394 | py_guide_parser.PyGuideParser.process(self, full_path) |
| 395 | |
| 396 | def process_title(self, _, title): |
| 397 | if self.title is None: # only use the first title |