-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Maintain a local version of pandoc to improve stability.
Pinning Pandoc to 2.9.2.1 for now, and will upgrade to 2.11 once it becomes a little more stable. The active developement in Pandoc has led this framework to become too unstable.
- Loading branch information
Showing
7 changed files
with
49 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
data/defaults.yaml | ||
data/index.yaml | ||
data/annex-f | ||
deps/pandoc | ||
deps/python |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
#!/usr/bin/env python3 | ||
|
||
import pathlib | ||
|
||
print( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,5 @@ | ||
#!/usr/bin/env python3 | ||
|
||
""" | ||
""" | ||
|
||
import datetime | ||
import html | ||
import os.path | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/usr/bin/env bash | ||
|
||
: "${PANDOC_VER:?Set 'PANDOC_VER' to the desired version of Pandoc}" | ||
: "${PANDOC_DIR:?Set 'PANDOC_DIR' to the directory to install Pandoc.}" | ||
|
||
URL="https://github.com/jgm/pandoc/releases/download/${PANDOC_VER}/" | ||
OS="$(uname -s)" | ||
case "${OS}" in | ||
Linux ) URL+="pandoc-${PANDOC_VER}-linux-amd64.tar.gz" ;; | ||
Darwin) URL+="pandoc-${PANDOC_VER}-macOS.zip" ;; | ||
* ) echo "Unspported OS: ${OS}."; exit 1 ;; | ||
esac | ||
|
||
mkdir -p "${PANDOC_DIR}" | ||
curl -sSL "${URL}" | tar xz --strip-components 2 -C "${PANDOC_DIR}" -m - "pandoc-${PANDOC_VER}/bin" | ||
chmod -R u+x "${PANDOC_DIR}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
2.9.2.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
panflute~=1.12 |