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

BUG: numpydoc + autosumarry broken #5959

Closed
larsoner opened this issue Jan 15, 2019 · 2 comments
Closed

BUG: numpydoc + autosumarry broken #5959

larsoner opened this issue Jan 15, 2019 · 2 comments

Comments

@larsoner
Copy link
Contributor

#4611 broke rendering for me of a numpydoc + autosummary html build where the input is like:

...
    Parameters
    ----------
    data : array, shape (n_chan,)
        The data values to plot.
...

Which numpydoc turns into something like:

...
:Parameters:

    **data** : array, shape (n_chan,)
        The data values to plot.
...

On the commit in master before this (b04bfcf) I get the correct output with : between items:

screenshot from 2019-01-15 15-03-42

On master after this PR (on commit 7459d87) the colon is gone (<span> missing in output):

screenshot from 2019-01-15 14-57-04

I'm not sure how to fix this because I'm out of my depth, though :(

@jschueller
Copy link
Contributor

jschueller commented Jan 16, 2019

I confirm the bug with the current master, the colon removed in the html output:

-<dt><strong>problem</strong> <span class="classifier-delimiter">:</span> <span class="classifier"><a class="reference internal" href=...
+<dt><strong>problem</strong><span class="classifier"><a class="reference internal" href=...

http://openturns.github.io/openturns/latest/user_manual/_generated/openturns.AbdoRackwitz.html
http://openturns.github.io/openturns/master/user_manual/_generated/openturns.AbdoRackwitz.html

cc @regislebrun, @sofianehaddad

@tk0miya
Copy link
Member

tk0miya commented Jan 21, 2019

Thank you for reporting.
I just post #5976 to fix this. Please try it out.
Thanks,

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants