myyasuda / sphinx_materialdesign_theme

Material Design Html Theme for Sphinx.
https://myyasuda.github.io/sphinx_materialdesign_theme/
MIT License
69 stars 38 forks source link

Some Headings in Napolean Style Docstrings Rendered Improperly #4

Open rmorshea opened 5 years ago

rmorshea commented 5 years ago

Certain headings like "Examples" and "Notes" in napolean style docstrings render as normal text instead of headings. For example the following the docstring:

def half(x):
    """Divide a number in half

    Parameters
    ----------
    x : int
        Number to be halfed

    Examples
    --------
    >>> assert half(10) == 5
    """
    return x / 2

Renders as...

bad-material-design-render-headings