move doc title to env