Monday, June 12, 2017

Sphinx typographical quotes cause test failures

#1889 came because Sphinx 1.6.1 had started to write smart quotes into the help_text texts. And these help texts are displayed in specs like e.g. The calendar plugin (by show_fields).

I had changed these specs (which was a quite stupid work), but recently I downgraded my Sphinx to 1.5.x because the newest version has an issue.

Now I read here that these smart quotes were actually always deactivated by default in Sphinx, and their appearance was a “bug” introduced because docutils changed the way how to deactivate them.

I added a file docutils.conf for The Lino Book.

I continued to adapt the tests in book after #1329.