Skip to content
Myr

zip-docs.sh

This file

Path

scripts/zip-docs.sh

9 lines · 108 bytes · Shell

Last changed by

✨ Add support for previewing docs in PRs from forks and enable MkDocs Insiders (#357)Sebastián Ramírezbefore adoption338d7e3

History of this file

Take it

✨ Add support for previewing docs in PRs from forks and enable MkDocs Insiders (#357)Sebastián Ramírezbefore adoption338d7e3

lines 1–9why, one step back
1#! /usr/bin/env bash
23set -x4set -e56if [ -f docs.zip ]; then7 rm -rf docs.zip8fi9zip -r docs.zip ./site