Generate storage ref doc.