Preprocess source during documentation generation