Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8e2b68b404 | |||
| f31952883e | |||
| 8153a64321 | |||
|
8d05411339
|
|||
|
6143d0fdd9
|
|||
|
e34297f200
|
|||
|
ae31a90185
|
|||
|
89e0973c27
|
|||
|
6d7d0531ce
|
|||
|
2b29a561da
|
|||
|
9a3939f42e
|
|||
|
063f66fc6b
|
|||
|
8c91733d65
|
@@ -14,7 +14,6 @@ This repository contains the governing documents for the Chicago Metropolitan Ba
|
||||
- `docs/03-playing-rules.md`: playing rules
|
||||
- `mkdocs/mkdocs.yml`: MkDocs site configuration
|
||||
- `mkdocs/requirements.txt`: Python packages required to build the site
|
||||
- `tools/build.sh`: production build script
|
||||
- `tools/spellcheck/`: CSpell configuration and custom baseball dictionary
|
||||
|
||||
## Local Development
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
MKDOCS_STRICT="${MKDOCS_STRICT:-true}"
|
||||
TMPDIR="${RUNNER_TEMP:-$TMPDIR}"
|
||||
OUTPUT_DIR="${OUTPUT_DIR:-${TMPDIR}/dist/}"
|
||||
# OFFLINE="${OFFLINE:-false}" # This doesn't seem to do anything, set by mkdocs.yml
|
||||
MKDOCS_CONFIG="${MKDOCS_CONFIG:-mkdocs/mkdocs.yml}"
|
||||
|
||||
STRICT_FLAG=""
|
||||
if [ "${MKDOCS_STRICT}" = "true" ]; then
|
||||
STRICT_FLAG="--strict"
|
||||
fi
|
||||
|
||||
mkdocs build ${STRICT_FLAG} -f $MKDOCS_CONFIG -d $OUTPUT_DIR
|
||||
Reference in New Issue
Block a user