pdoc
pdoc copied to clipboard
API Documentation for Python Projects
For this program: ``` from __future__ import annotations from typing import Iterable def function1(value: int | str = 1) -> None: pass def function2(value: int | str | Iterable[int |...
#### Problem Description One of the doctests in the example below isn´t rendered correctly. The behavior depends on indentation and on the --docformat command argument: see example below. #### Steps...
#### Problem Description rendering of markdown gives bad result if it contains headings, a fenced code block and some specific html #### Steps to reproduce the behavior: test script: markdown_test.py...
Packages often include typenames that expand to long `Union[...]` definitions. Examples include `ArrayLike` and `DTypeLike` from `numpy.typing` (see [here](https://numpy.org/devdocs/reference/typing.html#numpy.typing.ArrayLike)) For this sample program ```python from typing import Any import numpy...
#### Problem Description When I am searching for the documentation for a function, say `fooBarFunction()`, I will often type `foo bar function` into the search box in order to save...
#### Problem Description When using the `@dataclass` decorator from the `dataclasses` module, pdoc seems to think that member (instance) variables with default values are actually class variables. Furthermore, when using...
#### Problem Description As noted in #143 , many Python projects use the format `:param : ` or `@param : `, but this format for documenting function parameters is not...
#### Problem Description TypeVars seem to be simply put through `repr` to get their textual format. TypeVar's `__repr__` is missing important information necessary to the use of the class including...
#### Problem Description First of all, it's great to see this package being developed again! I've only just begun converting my docstrings into external documentation and this looks like it...
hey any chance we can create a ticket for the markdown output support? I saw there is one that was closed but the markdown branch is over a hundred commits...