-
Notifications
You must be signed in to change notification settings - Fork 452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sphinx-doc conflicts with Pony #6099
Labels
Comments
We are mocking the imports to be able to extract the API documentation, see here. You most likely have to add |
kozlovsky
added a commit
to kozlovsky/tribler
that referenced
this issue
May 28, 2021
Currently, build is success for sphinx version: Traceback (most recent call last):
File "/home/sysadmin/tudelft/tribler/venv/lib/python3.8/site-packages/sphinx/cmd/build.py", line 280, in build_main
app.build(args.force_all, filenames)
File "/home/sysadmin/tudelft/tribler/venv/lib/python3.8/site-packages/sphinx/application.py", line 343, in build
self.builder.build_update()
File "/home/sysadmin/tudelft/tribler/venv/lib/python3.8/site-packages/sphinx/builders/__init__.py", line 293, in build_update
self.build(to_build,
File "/home/sysadmin/tudelft/tribler/venv/lib/python3.8/site-packages/sphinx/builders/__init__.py", line 307, in build
updated_docnames = set(self.read())
File "/usr/lib/python3.8/contextlib.py", line 120, in __exit__
next(self.gen)
File "/home/sysadmin/tudelft/tribler/venv/lib/python3.8/site-packages/sphinx/util/logging.py", line 213, in pending_warnings
memhandler.flushTo(logger)
File "/home/sysadmin/tudelft/tribler/venv/lib/python3.8/site-packages/sphinx/util/logging.py", line 178, in flushTo
logger.handle(record)
File "/usr/lib/python3.8/logging/__init__.py", line 1599, in handle
self.callHandlers(record)
File "/usr/lib/python3.8/logging/__init__.py", line 1661, in callHandlers
hdlr.handle(record)
File "/usr/lib/python3.8/logging/__init__.py", line 950, in handle
rv = self.filter(record)
File "/usr/lib/python3.8/logging/__init__.py", line 811, in filter
result = f.filter(record)
File "/home/sysadmin/tudelft/tribler/venv/lib/python3.8/site-packages/sphinx/util/logging.py", line 423, in filter
raise exc
sphinx.errors.SphinxWarning: <openapi>:1:Problem in http domain: field is supposed to use role 'obj', but that role is not in the domain.
Warning, treated as error:
<openapi>:1:Problem in http domain: field is supposed to use role 'obj', but that role is not in the domain. |
Documentation build is fixed with this PR: #6329 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Importing Pony's
OperationalError
causes sphinx-doc to fail:The text was updated successfully, but these errors were encountered: