docs: modernize grain programming guidance (#10334)