introduce doctest configuration