mirror of
https://github.com/donnemartin/system-design-primer.git
synced 2025-12-15 01:18:57 +03:00
Add generation script
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,4 +1,5 @@
|
|||||||
# Byte-compiled / optimized / DLL files
|
# Byte-compiled / optimized / DLL files
|
||||||
|
*.epub
|
||||||
__pycache__/
|
__pycache__/
|
||||||
*.py[cod]
|
*.py[cod]
|
||||||
|
|
||||||
|
|||||||
13
generate-epub.sh
Executable file
13
generate-epub.sh
Executable file
@@ -0,0 +1,13 @@
|
|||||||
|
#! /usr/bin/env sh
|
||||||
|
|
||||||
|
generate () {
|
||||||
|
name=$1
|
||||||
|
echo "Generating Ebook $name ..."
|
||||||
|
pandoc -o $name.epub $name.md
|
||||||
|
echo "Done! You can find the book at ./$name.epub"
|
||||||
|
}
|
||||||
|
|
||||||
|
generate README
|
||||||
|
generate README-ja
|
||||||
|
generate README-zh-Hans
|
||||||
|
generate README-zh-TW
|
||||||
Reference in New Issue
Block a user