The nREPL docs moved to https://docs.nrepl.org/nrepl/1.2/design/middleware.html.