Skip to content

Commit

Permalink
made doc generation marginally easier
Browse files Browse the repository at this point in the history
  • Loading branch information
eihart123 committed Mar 4, 2024
1 parent cc8fe70 commit 4f79428
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/dependencies.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
sudo npm install -g [email protected]
sudo npm install --global mermaid-filter
1 change: 1 addition & 0 deletions docs/make_doc.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pandoc --number-sections hide_protocol.md misc_protocol.md flash.md -F mermaid-filter -o UIUC_Documentation.pdf --pdf-engine=tectonic
4 changes: 4 additions & 0 deletions docs/run_once.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
chmod +x dependencies.sh
chmod +x make_doc.sh
nix-shell shell.nix
./dependencies.sh
11 changes: 11 additions & 0 deletions docs/shell.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# shell.nix

{ pkgs ? import <nixpkgs> {} }:

pkgs.mkShell {
buildInputs = [
pkgs.pandoc
pkgs.nodejs
pkgs.tectonic
];
}

0 comments on commit 4f79428

Please sign in to comment.