refactoring path to doc and public assets