Skip to content

Commit 95033b0

Browse files
committed
Reformatted announcements.
1 parent 59eb458 commit 95033b0

13 files changed

+42
-36
lines changed

RELEASES.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22

33
For a project such as PLFA, [Semantic Versioning][SemVer] doesn’t make a huge amount of sense. Instead, we’ve adopted [Calendar Versioning][CalVer], following, e.g., [Ubuntu][Ubuntu]. PLFA versions are of the form `YY.0M`, where `YY` is the short year, and `0M` is the zero-padded month. For each release, there are two tags in the repository:
44

5-
- `dev-YY0M`: a copy of the contents of the `dev` branch at the time of release; and
6-
- `web-YY0M`: a copy of the web version of PLFA only.
5+
- `dev-YY.0M`: a copy of the contents of the `dev` branch at the time of release; and
6+
- `web-YY.0M`: a copy of the web version of PLFA only.
77

88
The former contains everything you’d need to work with that version of PLFA, whereas the latter consists only of the relevant files to deploy a web version of PLFA.
99

1010
There are several steps to creating a new release for PLFA:
1111

12-
- [ ] Create a new tag `dev-YY0M` of the `dev` branch.
13-
- [ ] Create a new tag `web-YY0M` of the `master` branch.
12+
- [ ] Create a new tag `dev-YY.0M` of the `dev` branch.
13+
- [ ] Create a new tag `web-YY.0M` of the `master` branch.
1414
- [ ] Push the new tags.
15-
- [ ] Draft a new release [on GitHub][releases] linked to the `dev-YY0M` tag.
16-
- [ ] Add the release version `YY0M` to the end of the `RELEASE_VERSIONS` variable in the Makefile.
15+
- [ ] Draft a new release [on GitHub][releases] linked to the `dev-YY.0M` tag.
16+
- [ ] Add the release version `YY.0M` to the end of the `RELEASE_VERSIONS` variable in the Makefile.
1717
- [ ] Write an announcement for the release in the `_posts` folder, describing any major changes.
1818
- [ ] Run `make build build-history test` and deal with any problems.
1919
- [ ] Commit and push.

_config.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ url: "https://plfa.github.io"
5454
markdown: kramdown
5555
theme: minima
5656
excerpt_separator: <!--more-->
57-
show_excerpts: true
5857
exclude:
5958
- "hs/"
6059
- "extra/"

_includes/script.html

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,7 @@
11
<!-- Import jQuery -->
22
<script type="text/javascript" src="{{ "/assets/jquery.js" | prepend: site.baseurl }}"></script>
33

4-
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.2.2/anchor.min.js" integrity="sha256-E4RlfxwyJVmkkk0szw7LYJxuPlp6evtPSBDlWHsYYL8=" crossorigin="anonymous"></script>
54
<script type="text/javascript">
6-
anchors.add();
7-
</script>
8-
9-
<script type="text/javascript">
10-
11-
// Makes sandwich menu work
12-
$('.menu-icon').click(function(){
13-
$('.trigger').toggle();
14-
});
155

166
// Script which allows for foldable code blocks
177
$('div.foldable pre').each(function(){

_layouts/default.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515

1616
{%- include footer.html -%}
1717

18+
<script type="text/javascript">
19+
// Fix sandwich menu
20+
$('.menu-icon').click(function(){
21+
$('.trigger').toggle();
22+
});
23+
</script>
24+
1825
{%- include script.html -%}
1926

2027
</body>

_layouts/home.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ <h2 class="post-list-heading">{{ page.list_title | default: "Posts" }}</h2>
1313
<li>
1414
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
1515
<span class="post-meta">{{ post.date | date: date_format }}</span>
16-
<h3>
17-
<a class="post-link" href="{{ post.url | relative_url }}">
18-
{{ post.title | escape }}
19-
</a>
20-
</h3>
21-
{%- if site.show_excerpts -%}
16+
<h3>{{ post.title | escape }}</h3>
17+
{%- if post.short -%}
2218
{{ post.excerpt }}
19+
{%- else -%}
20+
{{ post.excerpt }}
21+
<br />
22+
<a class="post-link" href="{{ post.url | relative_url }}">(more)</a>
2323
{%- endif -%}
2424
</li>
2525
{%- endfor -%}

_layouts/page.html

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
layout: default
33
---
4+
45
<article class="post">
56

67
<header class="post-header">
@@ -10,9 +11,17 @@ <h1 class="post-title">{{ page.title | escape }}</h1>
1011
{% include next.html %}
1112

1213
<div class="post-content">
13-
{{ content }}
14+
{{ content }}
1415
</div>
1516

1617
{% include next.html %}
1718

1819
</article>
20+
21+
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.2.2/anchor.min.js" integrity="sha256-E4RlfxwyJVmkkk0szw7LYJxuPlp6evtPSBDlWHsYYL8=" crossorigin="anonymous"></script>
22+
<script type="text/javascript">
23+
// Add anchors on DOMContentLoaded
24+
document.addEventListener('DOMContentLoaded', function(event) {
25+
anchors.add();
26+
});
27+
</script>

_posts/2019-07-12-migration-to-2.6.0.1.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
layout : post
33
title : "Migration to Agda 2.6.0.1"
4+
short : false
45
---
56

67
We upgraded to [Agda 2.6.0.1](https://github.com/agda/agda/releases/tag/v2.6.0.1) and [version 1.1 of the standard library](https://github.com/agda/agda-stdlib/releases/tag/v1.1). If you want to continue working with the book, you'll have to update your versions locally. Please follow the instructions in [Getting Started]({{ site.baseurl }}/GettingStarted/) to reinstall Agda and the standard library.

_posts/2020-01-10-plfa-as-a-notebook.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
---
22
layout : post
33
title : "PLFA as a Notebook"
4+
short : true
45
---
56

6-
NextJournal has created [a notebook version of PLFA][NextJournal-PLFA], which lets you edit and run the code samples from the book online!
7-
8-
The notebook is based on [PLFA version 19.08][PLFA-19.08], with some minor changes to adapt the contents to NextJournal.
7+
NextJournal has created [a notebook version of PLFA][NextJournal-PLFA], which lets you edit and run the code samples from the book online! The notebook is based on [PLFA version 19.08][PLFA-19.08], with some minor changes to adapt the contents to NextJournal.
98

109
[PLFA-19.08]: https://plfa.github.io/19.08/
1110
[NextJournal-PLFA]: https://nextjournal.com/plfa/ToC

_posts/2020-04-30-praise-for-plfa.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
layout : post
33
title : "Praise for PLFA!"
4+
short : true
45
---
56

67
[*Types and Semantics for Programming Languages*][TSPL-2019], the course we teach in Edinburgh, was shortlisted as an Outstanding Course by the [Edinburgh University Student Association][EUSA-2020] (Runner Up)!

_posts/2020-06-02-plfa-as-epub.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
---
22
layout : post
33
title : "PLFA as EPUB"
4+
short : true
45
---
56

6-
It has been just over a year and a half since this feature was first requested in [#112][issue112]
7-
8-
Thanks to hard work by [Michael Reed][mreed20], and a little elbow grease on our part, it is finally here!
9-
10-
[An EPUB version of PLFA!][EPUB]
7+
It has been just over a year and a half since this feature was first requested in [#112][issue112]… Thanks to hard work by [Michael Reed][mreed20], and a little elbow grease on our part, it is finally here! [An EPUB version of PLFA!][EPUB]
118

129
[EPUB]: https://plfa.github.io/out/epub/plfa.epub
1310
[issue112]: https://github.com/plfa/plfa.github.io/issues/112

0 commit comments

Comments
 (0)