allow static() accept multiple path parts
update doc