primer: alter sphinx preperations
config: improvements to configuration reading
sphinx+output: fixing sphinx output