Skip to content

Commit

Permalink
Point to pandoc
Browse files Browse the repository at this point in the history
  • Loading branch information
samhedin committed Jan 30, 2022
1 parent 1f05d3d commit 54884aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
run: |
mkdir -p ~/.local/bin
mkdir -p ~/.local/share/emacs/rustic-doc/std/
sudo apt install -y libc6
cargo install fd-find
cargo install ripgrep
rustup component add rust-docs
Expand Down
3 changes: 2 additions & 1 deletion rustic-doc/convert.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env bash

FILTER="$HOME/.local/bin/rustic-doc/filter"
PANDOC="$HOME/.local/bin/rustic-doc/pandoc"
function get_toolchain {
rustup show | sed -nr 's/(.*) \(default\)/\1/p' | head -n 1
}
Expand Down Expand Up @@ -57,6 +58,6 @@ fd . \
-ehtml \
--ignore-file "$ignore_file" \
-j"$cores" \
-x pandoc '{}' \
-x $PANDOC '{}' \
--filter "$FILTER" \
-o "$DEST_DIR/{.}.org"

0 comments on commit 54884aa

Please sign in to comment.