generate and publish docs the new way