doc depends on compiler, not doc.jsx