Skip to content

Using the automodule directive from Sphinx' autodoc extension doesn't find task functions #4072

Closed

Description

@jezdez

Checklist

  • I have verified that the issue exists against the master branch of Celery.

Steps to reproduce

  1. Use the Celery Sphinx extension.

  2. Document your Celery tasks with:

.. automodule:: myproject.app.tasks

Expected behavior

The tasks found in the myproject/app/tasks.py automatically show up in the rendered documentation.

Actual behavior

The tasks aren't automatically found by Sphinx. Instead manually marking a task with .. autotask:: myproject.app.task is required.

Activity

  1. jezdez commented on Dec 6, 2017

    @jezdez
    ContributorAuthor

    Fixed via #4073 and #4422.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions