Closed casperdcl closed 1 year ago
I have this error too. It doesn't happen with 4.7.0. Seems to be a problem with the databind upgrade.
Thanks for reporting; this is indeed a bug in databind. Turns out the unit tests do not cover the serialization sufficiently, which I'll address as well.
@NiklasRosenstein Do the problem(s) with databind render 4.8.0 unusable for many people or are these just edge cases that affect a few? If the former, please can you consider pulling 4.8.0 from PyPI so that pinning to 4.7.0 isn't needed as I have multiple projects (that call pydoc-markdown from readthedocs) that I need to change if I have to add a pin.
Hey @mcarans, it does affect everyone that defines their own pages with the Mkdocs renderer. 🙈 What you suggest would've been a good call indeed, esp. given that I needed some time to find time to fix this.
But it's fixed now finally. As soon as #294 get's merged, I'll make a 4.8.1
release.
4.8.1 released 🚀
Thanks @NiklasRosenstein !
Follow-up: pre-render hooks aren't working now
@casperdcl Thanks for reporting; unfortunately another issue introduced with the Databind upgrade. Fixed in https://github.com/NiklasRosenstein/pydoc-markdown/pull/295 and released as 4.8.2.
Environment
ubuntu-latest
Describe the bug
v4.7.0 works fine. v4.8.0 (#289) results in:
full trace
```python Traceback (most recent call last): File "/opt/hostedtoolcache/Python/3.11.3/x64/bin/pydoc-markdown", line 8, in