Skip to content

Commit

Permalink
Documentation generator
Browse files Browse the repository at this point in the history
  • Loading branch information
gmork2 committed Nov 28, 2019
1 parent 8a698d9 commit 1fc2a81
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
12 changes: 12 additions & 0 deletions mkdocs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env bash
set -e
MOUNT_FOLDER=/app
MKDOCS_DEV_ADDR=${MKDOCS_DEV_ADDR-"0.0.0.0"}
MKDOCS_DEV_PORT=${MKDOCS_DEV_PORT-"8000"}

docker run --rm -it \
-v $(pwd):$MOUNT_FOLDER \
-w $MOUNT_FOLDER \
-p $MKDOCS_DEV_PORT:$MKDOCS_DEV_PORT \
-e MKDOCS_DEV_ADDR="$MKDOCS_DEV_ADDR:$MKDOCS_DEV_PORT" \
squidfunk/mkdocs-material:3.2.0 $*
7 changes: 7 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
site_name: django-soap-connector
repo_url: https://github.com/gmork2/django-soap-connector
theme: readthedocs
nav:
- Home: 'index.md'

dev_addr: !!python/object/apply:os.getenv ["MKDOCS_DEV_ADDR"]

0 comments on commit 1fc2a81

Please sign in to comment.