carlos-jenkins / autoapi

Automatic Python API reference documentation generator for Sphinx, inspired by Doxygen.
https://autoapi.readthedocs.io/
Apache License 2.0
20 stars 9 forks source link

2.0.1: `autoapi` documentation not ready for `sphinx` 6.x #11

Open kloczek opened 1 year ago

kloczek commented 1 year ago

Looks like autoapidocumentation needs to be updated forsphinx` 6.x.

+ /usr/bin/sphinx-build -n -T -b man doc build/sphinx/man
Running Sphinx v6.1.3
making output directory... done

Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/sphinx/cmd/build.py", line 279, in build_main
    app = Sphinx(args.sourcedir, args.confdir, args.outputdir,
  File "/usr/lib/python3.8/site-packages/sphinx/application.py", line 237, in __init__
    self.config.setup(self)
  File "/home/tkloczko/rpmbuild/BUILD/autoapi-2.0.1/doc/conf.py", line 100, in setup
    app.add_stylesheet('styles/custom.css')
AttributeError: 'Sphinx' object has no attribute 'add_stylesheet'

Exception occurred:
  File "/home/tkloczko/rpmbuild/BUILD/autoapi-2.0.1/doc/conf.py", line 100, in setup
    app.add_stylesheet('styles/custom.css')
AttributeError: 'Sphinx' object has no attribute 'add_stylesheet'
The full traceback has been saved in /tmp/sphinx-err-3d8lvvbt.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
kloczek commented 1 year ago

gentle ping .. any update? 🤔