Added a trailing slash management example to the docs

Fixes #1