adding docs/patters* building steps for docs