add :path option to documentation
Merge pull request #4 from guyguyon/master

add :path option to documentation
Add tests