Skip to content

autosummary broken on various packages #1891

Closed
@larsoner

Description

@larsoner

We use RST code like the following in several places:

Visualization
=============

:py:mod:`mne.viz`:

.. automodule:: mne.viz
 :no-members:
 :no-inherited-members:

.. currentmodule:: mne.viz

Classes:

.. autosummary::
   :toctree: generated/
   :template: class.rst

   ClickableImage

Functions:

.. autosummary::
   :toctree: generated/
   :template: function.rst

   circular_layout
   mne_analyze_colormap

This used to produce nice docs, but on master and the version currently distributed with Anaconda, doc building completes but the areas above are now blank. I have bisected the problem to this commit:

21b8384

commit 21b838454f4bb5b6a246b85cb2f521deb7552505
Author: Luc Saffre <luc.saffre@gmail.com>
Date:   Sat Jan 3 20:32:44 2015 +0200

    autodoc: use sourcename also for content generated by autodoc itself

    Fixes #1061
    Fixes #1656

Any idea what the problem could be?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions