com-lihaoyi/cask

Documentation speaks about `cask.Subpath`

Closed this issue · 2 comments

Documentation in https://com-lihaoyi.github.io/cask/#variable-routes says:

you can set the flag subpath=true and ask for a : cask.Subpath

However no cask.Subpath seems to exist, even the sample in the documentation uses request: cask.Request.

I think the docs are out of date, cask.Subpath was removed in 4b0cfdf it seems the current way is to ask for request.remainingPathSegments

Updated the docs in 7bd5f2d