abakan-zz / ablog

ABlog for blogging with Sphinx
ablog.readthedocs.org
Other
122 stars 35 forks source link

Import make_admonition #92

Open travleev opened 7 years ago

travleev commented 7 years ago

Line

from sphinx.util.compat import Directive, make_admonition

in post.py raises import error in Sphinx 1.6.3.

Latest version of Sphinx that works for me was Sphinx 1.5.6. In this version one sees deprecation warning about the use of make_admonition, see compat.py. In later versions, make_admonition is not available.

davedittrich commented 6 years ago

Just ran into this same problem. Any timeline for a fix?

nabobalis commented 6 years ago

A new version of Ablog (v0.9.0) is out at this repo.

This issue should be fixed now but we made it explicitly support Sphinx>=1.6.