build: fix .htaccess generation
theme: fixing recursive lock issue
build: pdf fixing clarification.
fixing build errors