obsidian-export/docs/generate.sh
Nick Groenen 638e83e9dc
Simplify and improve documentation
This removes mdBook in favor of a flat docs folder generating a single
`README.md` in the repository root.

Installation and usage instructions have also been expanded slightly.
2021-04-11 15:39:54 +02:00

12 lines
182 B
Bash
Executable File

#!/bin/sh
set -euo pipefail
cd "$(git rev-parse --show-toplevel)"
TMPDIR=$(mktemp -d)
trap 'rm -rf "$TMPDIR"' EXIT
cargo run docs "$TMPDIR"
cp "${TMPDIR}/_combined.md" README.md