add :path option to documentation