Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find a better way to apply docrepr config options #11

Open
ccordoba12 opened this issue Jun 7, 2016 · 0 comments
Open

Find a better way to apply docrepr config options #11

ccordoba12 opened this issue Jun 7, 2016 · 0 comments

Comments

@ccordoba12
Copy link
Member

docrepr defines some configuration options in its __init__.py file:

https://github.com/spyder-ide/docrepr/blob/master/docrepr/__init__.py#L20

However, for these options to take effect, you need to do two imports, like this:

import docrepr
from docrepr.sphinxify import rich_repr

We need to find a better way to do this (but at the moment I can't think of a good one :-).

The problem is that without loading those options, things like MathJax don't work correctly.

Pinging @SylvainCorlay about it.

@ccordoba12 ccordoba12 added this to the v0.2.0 milestone Jun 7, 2016
@ccordoba12 ccordoba12 modified the milestones: v0.2.0, v0.3.0 Dec 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants