Add platform defs section to docs.