doc: fix listing a directory