Return the filename for the document name. If *base* is True, return absolute path under self.srcdir. If *base* is False, return relative path to self.srcdir.
(self, docname: str, base: bool = True)
| 444 | return self.project.path2doc(filename) |
| 445 | |
| 446 | def doc2path(self, docname: str, base: bool = True) -> _StrPath: |
| 447 | """Return the filename for the document name. |
| 448 | |
| 449 | If *base* is True, return absolute path under self.srcdir. |
| 450 | If *base* is False, return relative path to self.srcdir. |
| 451 | """ |
| 452 | return self.project.doc2path(docname, absolute=base) |
| 453 | |
| 454 | def relfn2path( |
| 455 | self, filename: str | Path, docname: str | None = None |
no outgoing calls