publish doc to spmjs