goerz / better-apidoc

A version of sphinx-apidoc with support for templating
BSD 2-Clause "Simplified" License
32 stars 6 forks source link

TypeError in 0.3.0 #15

Closed DDaxler closed 5 years ago

DDaxler commented 5 years ago

Now getting:

Exception occurred: documenter = get_documenter(app=APP, obj=member, parent=mod) TypeError: get_documenter() got an unexpected keyword argument 'app'

goerz commented 5 years ago

Is this with Sphinx 1.7?

TTYangAS commented 5 years ago

No it's Sphinx v1.8.5

goerz commented 5 years ago

You're right. This is why I have a hate-love relationship with Sphinx. They changed the API for the get_documenter function 4 times between v1.6 and v2.0!

goerz commented 5 years ago

Just pushed version 0.3.1, which hopefully works for any version of Sphinx