docs(plugins): Refactor docs and add write plugin page