Skip to content

When generating docs, you don't get any errors even if the docs have pointers to invalid types or files #834

Open

Description

@ThosRTanner

This ends up with incorrect documentation (generally with non working links).

I saw all these while doing some development:

WARNING: autodoc: failed to import exception 'TimeoutError' from module 'kazoo.handlers.threading'; the following exception was raised:
Traceback (most recent call last):
  File "/path-to/kazoo/.tox_3.10.20/docs/lib/python3.10/site-packages/sphinx/util/inspect.py", line 397, in safe_getattr
    return getattr(obj, name, *defargs)
AttributeError: module 'kazoo.handlers.threading' has no attribute 'TimeoutError'
/path-to/kazoo/docs/api/handlers/eventlet.rst: WARNING: document isn't included in any toctree
/path-to/kazoo/docs/index.rst:31: WARNING: toctree contains reference to document 'changelog' that doesn't have a title: no link will be generated [toc.no_title]
/path-to/kazoo/docs/index.rst:31: WARNING: toctree contains reference to document 'contributing' that doesn't have a title: no link will be generated [toc.no_title]

Activity

  1. changed the title [-]When generating docs (tox -e docs), you don't get any errors even if the docs have pointers to invalid types[/-] [+]When generating docs, you don't get any errors even if the docs have pointers to invalid types or files[/+] on Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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