Skip to content

Commit

Permalink
fix: Backport Jekyll changes (#38)
Browse files Browse the repository at this point in the history
We updated Jekyll and need to make changes to maintain compatibility

---------

Signed-off-by: Fabio Madge <[email protected]>
  • Loading branch information
fabiomadge authored Jan 12, 2024
1 parent 6ec6c4f commit e5073ce
Show file tree
Hide file tree
Showing 153 changed files with 463 additions and 170 deletions.
8 changes: 8 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,11 @@ exclude:
- vendor/cache/
- vendor/gems/
- vendor/ruby/


defaults:
-
scope:
path: "" # an empty string here means all files in the project
values:
layout: "single"
18 changes: 18 additions & 0 deletions _layouts/single.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html lang="{{ page.lang | default: site.lang | default: "en" }}">

{%- include head.html -%}

<body>

<main class="page-content" aria-label="Content">
<div class="wrapper">
{{ content }}
</div>
</main>

{%- include footer.html -%}

</body>

</html>
4 changes: 3 additions & 1 deletion latest/Compilation/AutoInitialization.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<p></p> <!-- avoids duplicate title -->
---
title: Automatic Initialization of Variables
---

Automatic Initialization of Variables
=====================================
Expand Down
4 changes: 3 additions & 1 deletion latest/Compilation/Boogie.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<p></p> <!-- avoids duplicate title -->
---
title: Dafny compilation to Boogie
---

# Dafny compilation to Boogie

Expand Down
4 changes: 3 additions & 1 deletion latest/Compilation/Go.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<p></p> <!-- avoids duplicate title -->
---
title: Dafny compilation to Go
---

Dafny compilation to Go
=======================
Expand Down
4 changes: 3 additions & 1 deletion latest/Compilation/ReferenceTypes.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<p></p> <!-- avoids duplicate title -->
---
title: Dafny compilation of trait and class
---

Dafny compilation of trait and class
====================================
Expand Down
4 changes: 3 additions & 1 deletion latest/Compilation/StringsAndChars.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<p></p> <!-- avoids duplicate title -->
---
title: Strings and Characters
---

# Strings and Characters

Expand Down
4 changes: 2 additions & 2 deletions latest/HowToFAQ/FAQForallTricks.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
title: Why can't I write 'forall t: Test :: t.i == 1' for an object t?
title: "Why can't I write `forall t: Test :: t.i == 1` for an object `t`?"
---

## Question:

Why can't I write `forall t: Test :: t.i == 1` for an object t?
Why can\'t I write `forall t: Test :: t.i == 1` for an object `t`?

## Answer:

Expand Down
2 changes: 1 addition & 1 deletion latest/Installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,4 +236,4 @@ To setup Dafny to compile to python3:

To separately compile and run your program for Python:
- `dafny build -t:py MyProgram.dfy`
- `python3 MyProgram-py/MyProgram.py
- `python3 MyProgram-py/MyProgram.py`
4 changes: 3 additions & 1 deletion latest/OnlineTutorial/Lemmas.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<p></p> <!-- avoids duplicate title -->
---
title: Lemmas and Induction
---

# Lemmas and Induction

Expand Down
4 changes: 3 additions & 1 deletion latest/OnlineTutorial/Modules.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<p></p> <!-- avoids duplicate title -->
---
title: Modules
---

# Modules

Expand Down
4 changes: 3 additions & 1 deletion latest/OnlineTutorial/Sequences.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<p></p> <!-- avoids duplicate title -->
---
title: Sequences
---

# Sequences

Expand Down
4 changes: 3 additions & 1 deletion latest/OnlineTutorial/Sets.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<p></p> <!-- avoids duplicate title -->
---
title: Sets
---

# Sets

Expand Down
4 changes: 3 additions & 1 deletion latest/OnlineTutorial/Termination.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<p></p> <!-- avoids duplicate title -->
---
title: Termination
---

# Termination

Expand Down
4 changes: 3 additions & 1 deletion latest/OnlineTutorial/ValueTypes.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<p></p> <!-- avoids duplicate title -->
---
title: Collection Types
---

# Collection Types

Expand Down
4 changes: 3 additions & 1 deletion latest/OnlineTutorial/guide.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<p></p> <!-- avoids duplicate title -->
---
title: "Getting Started with Dafny: A Guide"
---

# Getting Started with Dafny: A Guide

Expand Down
5 changes: 3 additions & 2 deletions latest/QuickReference.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<p></p>
<link rel="stylesheet" href="assets/main.css">
---
title: Dafny Quick Reference
---

# Dafny Quick Reference

Expand Down
4 changes: 3 additions & 1 deletion v3.10.0/Compilation/AutoInitialization.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<p></p> <!-- avoids duplicate title -->
---
title: Automatic Initialization of Variables
---

Automatic Initialization of Variables
=====================================
Expand Down
4 changes: 3 additions & 1 deletion v3.10.0/Compilation/Go.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<p></p> <!-- avoids duplicate title -->
---
title: Dafny compilation to Go
---

Dafny compilation to Go
=======================
Expand Down
4 changes: 3 additions & 1 deletion v3.10.0/Compilation/ReferenceTypes.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<p></p> <!-- avoids duplicate title -->
---
title: Dafny compilation of trait and class
---

Dafny compilation of trait and class
====================================
Expand Down
4 changes: 3 additions & 1 deletion v3.10.0/OnlineTutorial/Lemmas.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<p></p> <!-- avoids duplicate title -->
---
title: Lemmas and Induction
---

# Lemmas and Induction

Expand Down
4 changes: 3 additions & 1 deletion v3.10.0/OnlineTutorial/Modules.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<p></p> <!-- avoids duplicate title -->
---
title: Modules
---

# Modules

Expand Down
4 changes: 3 additions & 1 deletion v3.10.0/OnlineTutorial/Sequences.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<p></p> <!-- avoids duplicate title -->
---
title: Sequences
---

# Sequences

Expand Down
4 changes: 3 additions & 1 deletion v3.10.0/OnlineTutorial/Sets.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<p></p> <!-- avoids duplicate title -->
---
title: Sets
---

# Sets

Expand Down
4 changes: 3 additions & 1 deletion v3.10.0/OnlineTutorial/Termination.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<p></p> <!-- avoids duplicate title -->
---
title: Termination
---

# Termination

Expand Down
4 changes: 3 additions & 1 deletion v3.10.0/OnlineTutorial/ValueTypes.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<p></p> <!-- avoids duplicate title -->
---
title: Collection Types
---

# Collection Types

Expand Down
4 changes: 3 additions & 1 deletion v3.10.0/OnlineTutorial/guide.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<p></p> <!-- avoids duplicate title -->
---
title: "Getting Started with Dafny: A Guide"
---

# Getting Started with Dafny: A Guide

Expand Down
5 changes: 3 additions & 2 deletions v3.10.0/QuickReference.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<p></p>
<link rel="stylesheet" href="assets/main.css">
---
title: Dafny Quick Reference
---

# Dafny Quick Reference

Expand Down
4 changes: 3 additions & 1 deletion v3.11.0/Compilation/AutoInitialization.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<p></p> <!-- avoids duplicate title -->
---
title: Automatic Initialization of Variables
---

Automatic Initialization of Variables
=====================================
Expand Down
4 changes: 3 additions & 1 deletion v3.11.0/Compilation/Boogie.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<p></p> <!-- avoids duplicate title -->
---
title: Dafny compilation to Boogie
---

# Dafny compilation to Boogie

Expand Down
4 changes: 3 additions & 1 deletion v3.11.0/Compilation/Go.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<p></p> <!-- avoids duplicate title -->
---
title: Dafny compilation to Go
---

Dafny compilation to Go
=======================
Expand Down
4 changes: 3 additions & 1 deletion v3.11.0/Compilation/ReferenceTypes.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<p></p> <!-- avoids duplicate title -->
---
title: Dafny compilation of trait and class
---

Dafny compilation of trait and class
====================================
Expand Down
4 changes: 3 additions & 1 deletion v3.11.0/Compilation/StringsAndChars.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<p></p> <!-- avoids duplicate title -->
---
title: Strings and Characters
---

# Strings and Characters

Expand Down
4 changes: 3 additions & 1 deletion v3.11.0/OnlineTutorial/Lemmas.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<p></p> <!-- avoids duplicate title -->
---
title: Lemmas and Induction
---

# Lemmas and Induction

Expand Down
4 changes: 3 additions & 1 deletion v3.11.0/OnlineTutorial/Modules.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<p></p> <!-- avoids duplicate title -->
---
title: Modules
---

# Modules

Expand Down
4 changes: 3 additions & 1 deletion v3.11.0/OnlineTutorial/Sequences.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<p></p> <!-- avoids duplicate title -->
---
title: Sequences
---

# Sequences

Expand Down
4 changes: 3 additions & 1 deletion v3.11.0/OnlineTutorial/Sets.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<p></p> <!-- avoids duplicate title -->
---
title: Sets
---

# Sets

Expand Down
4 changes: 3 additions & 1 deletion v3.11.0/OnlineTutorial/Termination.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<p></p> <!-- avoids duplicate title -->
---
title: Termination
---

# Termination

Expand Down
4 changes: 3 additions & 1 deletion v3.11.0/OnlineTutorial/ValueTypes.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<p></p> <!-- avoids duplicate title -->
---
title: Collection Types
---

# Collection Types

Expand Down
4 changes: 3 additions & 1 deletion v3.11.0/OnlineTutorial/guide.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<p></p> <!-- avoids duplicate title -->
---
title: "Getting Started with Dafny: A Guide"
---

# Getting Started with Dafny: A Guide

Expand Down
5 changes: 3 additions & 2 deletions v3.11.0/QuickReference.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<p></p>
<link rel="stylesheet" href="assets/main.css">
---
title: Dafny Quick Reference
---

# Dafny Quick Reference

Expand Down
4 changes: 3 additions & 1 deletion v3.12.0/Compilation/AutoInitialization.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<p></p> <!-- avoids duplicate title -->
---
title: Automatic Initialization of Variables
---

Automatic Initialization of Variables
=====================================
Expand Down
4 changes: 3 additions & 1 deletion v3.12.0/Compilation/Boogie.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<p></p> <!-- avoids duplicate title -->
---
title: Dafny compilation to Boogie
---

# Dafny compilation to Boogie

Expand Down
4 changes: 3 additions & 1 deletion v3.12.0/Compilation/Go.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<p></p> <!-- avoids duplicate title -->
---
title: Dafny compilation to Go
---

Dafny compilation to Go
=======================
Expand Down
4 changes: 3 additions & 1 deletion v3.12.0/Compilation/ReferenceTypes.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<p></p> <!-- avoids duplicate title -->
---
title: Dafny compilation of trait and class
---

Dafny compilation of trait and class
====================================
Expand Down
4 changes: 3 additions & 1 deletion v3.12.0/Compilation/StringsAndChars.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<p></p> <!-- avoids duplicate title -->
---
title: Strings and Characters
---

# Strings and Characters

Expand Down
Loading

0 comments on commit e5073ce

Please sign in to comment.