carlos-jenkins / plantweb

Plantweb is a Python client for the PlantUML server -
https://plantweb.readthedocs.io/
Apache License 2.0
27 stars 15 forks source link

1.2.1: documentation not ready for sphinx 6.1.x #24

Open kloczek opened 1 year ago

kloczek commented 1 year ago

Looks like plantweb documentation cannot be generated using sphinx 6.1.x

```console + PYTHONPATH=$PWD/lib /usr/bin/sphinx-build -n -T -b man doc build/sphinx/man Running Sphinx v6.1.3 WARNING: Invalid configuration value found: 'language = None'. Update your configuration to a valid language code. Falling back to 'en' (English). 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/plantweb-1.2.1/doc/conf.py", line 300, in setup app.add_stylesheet('styles/custom.css') AttributeError: 'Sphinx' object has no attribute 'add_stylesheet' Exception occurred: File "/home/tkloczko/rpmbuild/BUILD/plantweb-1.2.1/doc/conf.py", line 300, 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-xm2r1zjd.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 . Thanks! ```