build the spf module for docs