Skip to content
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

1.5.2: man page generation warnings #20

Open
kloczek opened this issue May 2, 2021 · 1 comment
Open

1.5.2: man page generation warnings #20

kloczek opened this issue May 2, 2021 · 1 comment

Comments

@kloczek
Copy link

kloczek commented May 2, 2021

+ sphinx-build -b man -d aspectlib docs .
Running Sphinx v3.5.3
building [mo]: targets for 0 po files that are out of date
building [man]: all manpages
updating environment: [new config] 18 added, 0 changed, 0 removed
reading sources... [100%] todo
/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/docs/reference/aspectlib.rst.rst:11: WARNING: autosummary: failed to import aspectlib.Aspect
/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/docs/reference/aspectlib.rst.rst:11: WARNING: autosummary: failed to import aspectlib.Proceed
/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/docs/reference/aspectlib.rst.rst:11: WARNING: autosummary: failed to import aspectlib.Return
/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/docs/reference/aspectlib.rst.rst:22: WARNING: autosummary: failed to import aspectlib.ALL_METHODS
/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/docs/reference/aspectlib.rst.rst:22: WARNING: autosummary: failed to import aspectlib.NORMAL_METHODS
/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/docs/reference/aspectlib.rst.rst:22: WARNING: autosummary: failed to import aspectlib.weave
/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/docs/reference/aspectlib.rst.rst:22: WARNING: autosummary: failed to import aspectlib.Rollback
WARNING: autodoc: failed to import module 'aspectlib'; the following exception was raised:
No module named 'aspectlib'
WARNING: don't know which module to import for autodocumenting 'Aspect' (try placing a "module" or "currentmodule" directive in the document, or giving an explicit module name)
WARNING: don't know which module to import for autodocumenting 'Rollback' (try placing a "module" or "currentmodule" directive in the document, or giving an explicit module name)
WARNING: don't know which module to import for autodocumenting 'ALL_METHODS' (try placing a "module" or "currentmodule" directive in the document, or giving an explicit module name)
WARNING: don't know which module to import for autodocumenting 'NORMAL_METHODS' (try placing a "module" or "currentmodule" directive in the document, or giving an explicit module name)
WARNING: don't know which module to import for autodocumenting 'weave(target, aspect[, subclasses=True, methods=NORMAL_METHODS, lazy=False, aliases=True])' (try placing a "module" or "currentmodule" directive in the document, or giving an explicit module name)
/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/docs/reference/aspectlib.contrib.rst.rst:4: WARNING: autosummary: failed to import aspectlib.contrib.retry
/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/docs/reference/aspectlib.contrib.rst.rst:4: WARNING: autosummary: failed to import aspectlib.contrib.retry.exponential_backoff
/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/docs/reference/aspectlib.contrib.rst.rst:4: WARNING: autosummary: failed to import aspectlib.contrib.retry.straight_backoff
/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/docs/reference/aspectlib.contrib.rst.rst:4: WARNING: autosummary: failed to import aspectlib.contrib.retry.flat_backoff
WARNING: autodoc: failed to import module 'contrib' from module 'aspectlib'; the following exception was raised:
No module named 'aspectlib'
/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/docs/reference/aspectlib.debug.rst.rst:9: WARNING: autosummary: failed to import aspectlib.debug.log
/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/docs/reference/aspectlib.debug.rst.rst:9: WARNING: autosummary: failed to import aspectlib.debug.format_stack
/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/docs/reference/aspectlib.debug.rst.rst:9: WARNING: autosummary: failed to import aspectlib.debug.frame_iterator
/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/docs/reference/aspectlib.debug.rst.rst:9: WARNING: autosummary: failed to import aspectlib.debug.strip_non_ascii
WARNING: autodoc: failed to import module 'debug' from module 'aspectlib'; the following exception was raised:
No module named 'aspectlib'
/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/docs/reference/aspectlib.test.rst.rst:12: WARNING: autosummary: failed to import aspectlib.test.record
/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/docs/reference/aspectlib.test.rst.rst:12: WARNING: autosummary: failed to import aspectlib.test.mock
/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/docs/reference/aspectlib.test.rst.rst:12: WARNING: autosummary: failed to import aspectlib.test.Story
/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/docs/reference/aspectlib.test.rst.rst:12: WARNING: autosummary: failed to import aspectlib.test.Replay
WARNING: autodoc: failed to import module 'test' from module 'aspectlib'; the following exception was raised:
No module named 'aspectlib'
WARNING: don't know which module to import for autodocumenting 'Replay(?)' (try placing a "module" or "currentmodule" directive in the document, or giving an explicit module name)
looking for now-outdated files... none found
pickling environment... done
checking consistency... /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/docs/authors.rst: WARNING: document isn't included in any toctree
/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/docs/presentations/pycon.se-lightningtalk.rst: WARNING: document isn't included in any toctree
done
writing... python-aspectlib.3 { introduction installation testing rationale faq examples reference/index reference/aspectlib reference/aspectlib.contrib reference/aspectlib.debug reference/aspectlib.test development todo contributing changelog } done
build succeeded, 31 warnings.
@ionelmc
Copy link
Owner

ionelmc commented May 2, 2021

The doc builder tries to import the code - so it needs to be importable to have content in the reference sections.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants