Skip to content

4.0.0: sphinx warnings reference target not found #103

Closed
@kloczek

Description

@kloczek

On building my packages I'm using sphinx-build command with -n switch which shows warmings about missing references. These are not critical issues.
Here is the output with warnings:

+ /usr/bin/sphinx-build -n -T -b man docs build/sphinx/man
Running Sphinx v4.5.0
making output directory... done
building [mo]: targets for 0 po files that are out of date
building [man]: all manpages
updating environment: [new config] 7 added, 0 changed, 0 removed
reading sources... [100%] usage
/home/tkloczko/rpmbuild/BUILD/sphinx-click-4.0.0/docs/changelog.rst:4: CRITICAL: Problems with "include" directive path:
InputError: [Errno 2] No such file or directory: 'ChangeLog'.
/home/tkloczko/rpmbuild/BUILD/sphinx-click-4.0.0/docs/examples/commandcollections.rst:18: ERROR: Failed to import "cli" from "commandcollections.cli". The following exception was raised:
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/sphinx-click-4.0.0/sphinx_click/ext.py", line 379, in _load_module
    mod = __import__(module_name, globals(), locals(), [attr_name])
ModuleNotFoundError: No module named 'commandcollections'
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
writing... python-sphinx-click.3 { installation usage contributing changelog examples/index examples/commandcollections } /home/tkloczko/rpmbuild/BUILD/sphinx-click-4.0.0/docs/index.rst:4: WARNING: py:mod reference target not found: sphinx_click
/home/tkloczko/rpmbuild/BUILD/sphinx-click-4.0.0/docs/index.rst:24: WARNING: py:mod reference target not found: click
/home/tkloczko/rpmbuild/BUILD/sphinx-click-4.0.0/docs/index.rst:23: WARNING: py:mod reference target not found: click
/home/tkloczko/rpmbuild/BUILD/sphinx-click-4.0.0/docs/index.rst:26: WARNING: py:mod reference target not found: sphinxcontrib.autoprogram
/home/tkloczko/rpmbuild/BUILD/sphinx-click-4.0.0/docs/index.rst:27: WARNING: py:mod reference target not found: argparse
done
build succeeded, 7 warnings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions