Generate documentation script needs to work on parent directory