-
Notifications
You must be signed in to change notification settings - Fork 47
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
3.4.3: sphins warnings and call trace #108
Comments
Because the docs include a reference section generated from docstrings and such the package needs to be importable in the sphinx env. |
Nope This not because of that. --- a/docs/conf.py~ 2021-12-15 17:43:12.000000000 +0000
+++ b/docs/conf.py 2022-01-04 04:07:58.264017243 +0000
@@ -2,8 +2,11 @@
from __future__ import unicode_literals
import os
+import sys
import traceback
+sys.path.append(os.path.abspath('../src'))
+
import sphinx_py3doc_enhanced_theme
os.environ['PUREPYTHONHUNTER'] = 'yes' That kind of fix is suggested in sphinx example copy.py https://www.sphinx-doc.org/en/master/usage/configuration.html#example-of-configuration-file Than with that patch .. + /usr/bin/sphinx-build -n -T -b man docs build/sphinx/man
Running Sphinx v4.5.0
making output directory... done
[autosummary] generating autosummary for: authors.rst, changelog.rst, configuration.rst, contributing.rst, cookbook.rst, filtering.rst, index.rst, installation.rst, introduction.rst, readme.rst, reference.rst, remote.rst
building [mo]: targets for 0 po files that are out of date
building [man]: all manpages
updating environment: [new config] 12 added, 0 changed, 0 removed
reading sources... [100%] remote
README.rst:79: WARNING: duplicate label readme:overview, other instance in /home/tkloczko/rpmbuild/BUILD/python-hunter-3.4.3/docs/readme.rst
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
writing... python-hunter.3 { readme installation introduction remote configuration filtering cookbook reference contributing authors changelog } /home/tkloczko/rpmbuild/BUILD/python-hunter-3.4.3/docs/introduction.rst:18: WARNING: py:obj reference target not found: hunter.Event
/home/tkloczko/rpmbuild/BUILD/python-hunter-3.4.3/docs/introduction.rst:22: WARNING: py:class reference target not found: hunter.When
/home/tkloczko/rpmbuild/BUILD/python-hunter-3.4.3/docs/reference.rst:33:<autosummary>:1: WARNING: py:obj reference target not found: hunter.CodePrinter
/home/tkloczko/rpmbuild/BUILD/python-hunter-3.4.3/src/hunter/actions.py:docstring of hunter.actions.CallPrinter:1: WARNING: py:obj reference target not found: hunter.CodePrinter
/home/tkloczko/rpmbuild/BUILD/python-hunter-3.4.3/src/hunter/predicates.py:docstring of hunter.predicates.Backlog:11: WARNING: py:class reference target not found: hunter.When
docstring of hunter.event.Event.function_object:9: WARNING: py:class reference target not found: function
docstring of hunter.event.Event.instruction:4: WARNING: py:class reference target not found: single char string
/home/tkloczko/rpmbuild/BUILD/python-hunter-3.4.3/src/hunter/tracer.py:docstring of hunter.tracer.Tracer.handler:1: WARNING: py:func reference target not found: hunter.Tracer.trace
/home/tkloczko/rpmbuild/BUILD/python-hunter-3.4.3/src/hunter/tracer.py:docstring of hunter.tracer.Tracer.previous:1: WARNING: py:func reference target not found: hunter.Tracer.trace
CHANGELOG.rst:144: WARNING: py:func reference target not found: hunter.load_config
CHANGELOG.rst:268: WARNING: py:attr reference target not found: hunter.event.Event.count
CHANGELOG.rst:292: WARNING: py:attr reference target not found: hunter.event.Event.thread
CHANGELOG.rst:300: WARNING: py:attr reference target not found: hunter.event.Event.handler
CHANGELOG.rst:428: WARNING: py:attr reference target not found: hunter.event.Event.line
done
build succeeded, 15 warnings. You can peak on fixes that kind of issues in other projects |
Looks like it is some issue on rendering dosumentation
The text was updated successfully, but these errors were encountered: