Working on getting rid of deadlinks

This commit is contained in:
Wen Kokke 2018-06-04 15:06:19 +01:00
parent 2bbdcfc8bb
commit dbfd79993f
24 changed files with 32 additions and 29 deletions

View file

@ -5,12 +5,16 @@ markdown := $(subst src/,out/,$(subst .lagda,.md,$(agda)))
all: $(markdown) all: $(markdown)
test: $(markdown) test: $(markdown)
ruby -S bundle exec jekyll clean
ruby -S bundle exec jekyll build -d _site/sf/ ruby -S bundle exec jekyll build -d _site/sf/
ruby -S bundle exec htmlproofer _site ruby -S bundle exec htmlproofer _site --disable-external
out/%.md: src/%.lagda out/:
mkdir -p out mkdir -p out/
agda2html --verbose --link-to-agda-stdlib --use-jekyll=out/ -i $< -o $@
out/%.md: src/%.lagda | out/
agda2html --verbose --link-to-agda-stdlib --use-jekyll=out/ -i $< -o $@ 2>&1 \
| sed '/^Generating.*/d; /^Warning\: HTML.*/d; /^reached from the.*/d; /^\s*$$/d'
# start server # start server
server-start: server-start:

View file

@ -22,9 +22,8 @@ description: >
disqus: disqus:
shortname: wenkokke shortname: wenkokke
# technical details below --- do not modify (ง'-')ง
baseurl: "/sf" baseurl: "/sf"
url: "https://wenkokke.github.io/sf" url: "https://wenkokke.github.io"
markdown: kramdown markdown: kramdown
theme: minima theme: minima
exclude: exclude:

View file

@ -15,7 +15,7 @@
<div class="trigger"> <div class="trigger">
<a class="page-link" href="{{ "/" | relative_url }}">Table of Contents</a> <a class="page-link" href="{{ "/" | relative_url }}">Table of Contents</a>
<a class="page-link" href="{{ "/about" | relative_url }}">About</a> <a class="page-link" href="{{ "/Acknowledgements" | relative_url }}">About</a>
</div> </div>
</nav> </nav>

View file

@ -1,7 +1,7 @@
--- ---
title : "Acknowledgements" title : "Acknowledgements"
layout : page layout : page
permalink : /Acknowledgements permalink : /Acknowledgements/
--- ---
Thank you to the following. Thank you to the following.
@ -14,7 +14,7 @@ To Conor McBride and James McKinna, for cool ideas and handholding.
To Andreas Abel and Ulf Norell, ditto. To Andreas Abel and Ulf Norell, ditto.
To David Darais, for showing me how much more compact it is to avoid raw terms. To David Darais, for showing us how much more compact it is to avoid raw terms.
For pull requests. For pull requests.
* Vikraman Choudhury * Vikraman Choudhury

View file

@ -1,7 +1,7 @@
--- ---
title : "Connectives: Conjunction, disjunction, and implication" title : "Connectives: Conjunction, disjunction, and implication"
layout : page layout : page
permalink : /Connectives permalink : /Connectives/
--- ---
This chapter introduces the basic logical connectives, by observing This chapter introduces the basic logical connectives, by observing

View file

@ -1,7 +1,7 @@
--- ---
title : "DeBruijn: Inherently typed De Bruijn representation" title : "DeBruijn: Inherently typed De Bruijn representation"
layout : page layout : page
permalink : /DeBruijn permalink : /DeBruijn/
--- ---
## Imports ## Imports

View file

@ -1,7 +1,7 @@
--- ---
title : "Decidable: Booleans and decision procedures" title : "Decidable: Booleans and decision procedures"
layout : page layout : page
permalink : /Decidable permalink : /Decidable/
--- ---
We have a choice as to how to represent relations: We have a choice as to how to represent relations:

View file

@ -1,7 +1,7 @@
--- ---
title : "Equality: Equality and equational reasoning" title : "Equality: Equality and equational reasoning"
layout : page layout : page
permalink : /Equality permalink : /Equality/
--- ---
Much of our reasoning has involved equality. Given two terms `M` Much of our reasoning has involved equality. Given two terms `M`

View file

@ -1,7 +1,7 @@
--- ---
title : "Extensions: Extensions to simply-typed lambda calculus" title : "Extensions: Extensions to simply-typed lambda calculus"
layout : page layout : page
permalink : /Extensions permalink : /Extensions/
--- ---
## Imports ## Imports

View file

@ -1,7 +1,7 @@
--- ---
title : "Fonts" title : "Fonts"
layout : page layout : page
permalink : /Fonts permalink : /Fonts/
--- ---
Test page for fonts. Test page for fonts.

View file

@ -1,7 +1,7 @@
--- ---
title : "Inference: Bidirectional type inference" title : "Inference: Bidirectional type inference"
layout : page layout : page
permalink : /Inference permalink : /Inference/
--- ---
## Imports ## Imports

View file

@ -1,7 +1,7 @@
--- ---
title : "Isomorphism: Isomorphism and Embedding" title : "Isomorphism: Isomorphism and Embedding"
layout : page layout : page
permalink : /Isomorphism permalink : /Isomorphism/
--- ---
This section introduces isomorphism as a way of asserting that two This section introduces isomorphism as a way of asserting that two

View file

@ -1,7 +1,7 @@
--- ---
title : "Lambda: Introduction to Lambda Calculus" title : "Lambda: Introduction to Lambda Calculus"
layout : page layout : page
permalink : /Lambda permalink : /Lambda/
--- ---
The _lambda-calculus_, first published by the logician Alonzo Church in The _lambda-calculus_, first published by the logician Alonzo Church in

View file

@ -1,7 +1,7 @@
--- ---
title : "LambdaProp: Properties of Simply-Typed Lambda Calculus" title : "LambdaProp: Properties of Simply-Typed Lambda Calculus"
layout : page layout : page
permalink : /LambdaProp permalink : /LambdaProp/
--- ---
This chapter develops the fundamental theory of the Simply This chapter develops the fundamental theory of the Simply

View file

@ -1,7 +1,7 @@
--- ---
title : "Lists: Lists and higher-order functions" title : "Lists: Lists and higher-order functions"
layout : page layout : page
permalink : /Lists permalink : /Lists/
--- ---
This chapter discusses the list data type. It gives further examples This chapter discusses the list data type. It gives further examples

View file

@ -1,7 +1,7 @@
--- ---
title : "Modules: Modules and List Examples" title : "Modules: Modules and List Examples"
layout : page layout : page
permalink : /Modules permalink : /Modules/
--- ---
** Turn this into a Setoid example. Copy equivalence relation and setoid ** Turn this into a Setoid example. Copy equivalence relation and setoid

View file

@ -1,7 +1,7 @@
--- ---
title : "Naturals: Natural numbers" title : "Naturals: Natural numbers"
layout : page layout : page
permalink : /Naturals permalink : /Naturals/
--- ---
The night sky holds more stars than I can count, though fewer than five The night sky holds more stars than I can count, though fewer than five

View file

@ -1,7 +1,7 @@
--- ---
title : "Negation: Negation, with intuitionistic and classical logic" title : "Negation: Negation, with intuitionistic and classical logic"
layout : page layout : page
permalink : /Negation permalink : /Negation/
--- ---
This chapter introduces negation, and discusses intuitionistic This chapter introduces negation, and discusses intuitionistic

View file

@ -1,7 +1,7 @@
--- ---
title : "Preface" title : "Preface"
layout : page layout : page
permalink : /Preface permalink : /Preface/
--- ---
This book is an introduction to programming language theory, written This book is an introduction to programming language theory, written

View file

@ -1,7 +1,7 @@
--- ---
title : "Properties: Proof by Induction" title : "Properties: Proof by Induction"
layout : page layout : page
permalink : /Properties permalink : /Properties/
--- ---
Now that we've defined the naturals and operations upon them, our next Now that we've defined the naturals and operations upon them, our next

View file

@ -1,7 +1,7 @@
--- ---
title : "Pure: Pure Type Systems" title : "Pure: Pure Type Systems"
layout : page layout : page
permalink : /Pure permalink : /Pure/
--- ---
Barendregt, H. (1991). Introduction to generalized type Barendregt, H. (1991). Introduction to generalized type

View file

@ -1,7 +1,7 @@
--- ---
title : "Quantifiers: Universals and existentials" title : "Quantifiers: Universals and existentials"
layout : page layout : page
permalink : /Quantifiers permalink : /Quantifiers/
--- ---
This chapter introduces universal and existential quantification. This chapter introduces universal and existential quantification.

View file

@ -1,7 +1,7 @@
--- ---
title : "Relations: Inductive definition of relations" title : "Relations: Inductive definition of relations"
layout : page layout : page
permalink : /Relations permalink : /Relations/
--- ---
After having defined operations such as addition and multiplication, After having defined operations such as addition and multiplication,

View file

@ -1,7 +1,7 @@
--- ---
title : "Untyped: Untyped lambda calculus with full normalisation" title : "Untyped: Untyped lambda calculus with full normalisation"
layout : page layout : page
permalink : /Untyped permalink : /Untyped/
--- ---
This chapter considers a system that varies, in interesting ways, This chapter considers a system that varies, in interesting ways,