add preprocessing to docs