Skip to content

vapordocc

Install from the command line:
Learn more
$ docker pull ghcr.io/josephduffy/vapordocc:latest

Recent tagged image versions

  • Published about 2 months ago · Digest
    sha256:395ecc6f7469e280e64de3e2e646f7fa1928bbbd2c242678d9fb6dd56f497aa0
    28

VaporDocC

VaporDocC provides middleware for use with Vapor. To initialise the middleware pass in the path to your .doccarchive, e.g.:

let archiveURL = URL(fileURLWithPath: "/path/to/VaporDocC.doccarchive")
app.middleware.use(VaporDocCMiddleware(archivePath: archiveURL))

Documentation – hosted by the docker image included in this repo – is available at vapordocc.josephduffy.co.uk.

Docker

A docker image that wraps a Vapor app using the VaporDocCMiddleware is provided at ghcr.io/josephduffy/vapordocc.

To run locally mount the docs at /docs, e.g.:

docker run -p 8080:8080 -v /path/to/VaporDocC.doccarchive:/docs ghcr.io/josephduffy/vapordocc

Last published

2 months ago

Total downloads

42


Collaborators 1