mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-24 22:25:56 -05:00
18 lines
544 B
Bash
Executable File
18 lines
544 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Run mkdocs commands
|
|
#
|
|
# No local installation of mkdocs and the required plugins is required.
|
|
# Instead this script uses the offical docker image for "Material for MkDocs"
|
|
#
|
|
# https://squidfunk.github.io/mkdocs-material/getting-started/#with-docker
|
|
#
|
|
# Without arguments the "serve" command is executed (starts the local development
|
|
# server).
|
|
#
|
|
# Usage examples:
|
|
#
|
|
# - Build documentation: ./mkdocs.sh build
|
|
# - Show command help: ./mkdocs.sh --help
|
|
|
|
docker run --rm -it -p 8000:8000 -v ${PWD}:/docs squidfunk/mkdocs-material $@ |