apiDocker generates API documentation from inline apidocjs.com annotation.
801
apiDocker is a minimalistic Alpine-based Docker image for generating API documentation from inline apidocjs.com annotation.
See apidocjs.com for full documentation with examples.
You can specify input and output folder paths using the ENV variables:
APIDOCKER_INPUT
APIDOCKER_OUTPUT
Default paths are / and docs/.
With docker run, using the current working directory $(pwd) and overriding the input/output paths:
docker run --rm -ti \
-e APIDOCKER_INPUT="app/" \
-e APIDOCKER_OUTPUT="apidocs/" \
-v $(pwd):/src mandrean/apidocker
With docker-compose.yml, using the same working directory as the compose file and overriding the input/output paths:
version: '2'
services:
apidocker:
image: mandrean/apidocker:latest
environment:
APIDOCKER_INPUT: app/
APIDOCKER_OUTPUT: apidocs/
volumes:
- ./:/src
Content type
Image
Digest
Size
14.8 MB
Last updated
over 10 years ago
docker pull mandrean/apidocker