[Cubicweb] docutils broken with CubicWeb
denis.laxalde at logilab.fr
Thu Apr 7 11:31:00 CEST 2016
Dimitri Papadopoulos Orfanos a écrit :
> This bug has been recently fixed in docutils:
> Unfortunately it's not part of any formal release yet, so we're stuck
> with it in the short term. Any clue how to best work around this issue
> with minimal code modification? I would like to avoid modifying CubicWeb
> (deferring imports maybe) or docutils (killing the ugly relative_path()
> function wherever it's used with os.getcwd()).
> => How would you work around this from within a CubicWeb application?
I would add a couple of monkeypatches following the patch you linked
above in site_cubicweb.py of the main cube waiting for a release of
docutils fixing this.
More information about the Cubicweb