Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion markdown/config/pandoc-defaults.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from: markdown-implicit_figures
to: html
highlight-style: null
standalone: true
2 changes: 1 addition & 1 deletion markdown/config/template.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"https://www.w3.org/TR/html4/strict.dtd">
<html lange="en">
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small typo

<html lang="en">
<head>
<title>$title$ - Learn You a Haskell for Great Good!</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
Expand Down
3 changes: 2 additions & 1 deletion markdown/generate.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
#!/usr/bin/env bash
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hardcoding the path of bash will force this execution plan. If the environment is using a different bash it won't work. This line will use the first one on the PATH.

set -e
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will stop the script in case of failure.


mapfile -t filename <config/file-list.txt

Expand Down
1,360 changes: 0 additions & 1,360 deletions markdown/generated_html/a-fistful-of-monads.html

This file was deleted.

233 changes: 0 additions & 233 deletions markdown/generated_html/chapters.html

This file was deleted.

82 changes: 0 additions & 82 deletions markdown/generated_html/faq.html

This file was deleted.

Loading