Requiring docutils 0.5

How much pain would it cause if we required docutils 0.5 to build the docs?

In working on this "use pngs if in html, pdfs if in latex" functionality, the solutions has actually been fairly involved. It's probably doable in docutils-0.4, but I'd prefer not to have write and maintain two fairly different code paths as the directive API has changed from 0.4 to 0.5.

If we go this way, we can add a nice test to make.py to require docutils 0.5 so it's less surprising when things don't work...

Cheers,
Mike

···

--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA

Ignore this. It's not as bad as I thought.

Mike

Michael Droettboom wrote:

···

How much pain would it cause if we required docutils 0.5 to build the docs?

In working on this "use pngs if in html, pdfs if in latex" functionality, the solutions has actually been fairly involved. It's probably doable in docutils-0.4, but I'd prefer not to have write and maintain two fairly different code paths as the directive API has changed from 0.4 to 0.5.

If we go this way, we can add a nice test to make.py to require docutils 0.5 so it's less surprising when things don't work...

Cheers,
Mike

--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA