Skip to content

Conversation

@agramfort
Copy link
Member

eg see for example:

http://nilearn.github.io/modules/generated/nilearn.image.high_variance_confounds.html

at bottom of the page. In our function.rst we have

.. include:: {{module}}.{{objname}}.examples

so to me it should work.

@jaeilepp can you have a look?

@jasmainak
Copy link
Member

yeah, this would be a nice add on!

# generate empty examples files, so that we don't get
# inclusion errors if there are no examples for a class / module
examples_path = os.path.join(app.srcdir, "modules", "generated",
"%s.examples" % name)
Copy link
Contributor

@jaeilepp jaeilepp Jun 27, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be just os.path.join(app.srcdir, "generated", "%s.examples" % name)? It seems to fail on circle.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jaeilepp jaeilepp mentioned this pull request Jun 27, 2016
@agramfort agramfort closed this Jun 27, 2016
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

Successfully merging this pull request may close these issues.

3 participants