Skip to content

Commit 399f87b

Browse files
committed
Automatically add download.html and githubify boilerplate to releases
1 parent f1abce2 commit 399f87b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+9
-284
lines changed

_plugins/release-posts.rb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
class ReleasePostGenerator < Jekyll::Generator
2+
def generate(site)
3+
site.documents.each do |page|
4+
next unless page.data["type"] == "releases"
5+
6+
page.content = "{% include download.html %}\n{% githubify https://github.com/bitcoin/bitcoin %}\n#{page.content}\n{% endgithubify %}"
7+
end
8+
end
9+
end

_releases/en/0.11.0.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ excerpt: Bitcoin Core version 0.11.0 is now available
77
release: [0, 11, 0, 0]
88
date: 2015-07-12
99
---
10-
{% include download.html %}
11-
{% githubify https://github.com/bitcoin/bitcoin %}
1210

1311
Bitcoin Core version 0.11.0 is now available from:
1412

@@ -525,4 +523,3 @@ And all those who contributed additional code review and/or security research:
525523

526524
As well as everyone that helped translating on [Transifex](https://www.transifex.com/projects/p/bitcoin/).
527525

528-
{% endgithubify %}

_releases/en/0.11.1.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ release: [0, 11, 1, 0]
88
date: 2015-10-15
99
---
1010

11-
{% include download.html %}
12-
{% githubify https://github.com/bitcoin/bitcoin %}
1311

1412
Bitcoin Core version 0.11.1 is now available from:
1513

@@ -183,4 +181,3 @@ And those who contributed additional code review and/or security research:
183181

184182
As well as everyone that helped translating on [Transifex](https://www.transifex.com/projects/p/bitcoin/).
185183

186-
{% endgithubify %}

_releases/en/0.11.2.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ release: [0, 11, 2, 0]
88
date: 2015-11-13
99
---
1010

11-
{% include download.html %}
12-
{% githubify https://github.com/bitcoin/bitcoin %}
1311

1412
Bitcoin Core version 0.11.2 is now available from:
1513

@@ -229,4 +227,3 @@ And those who contributed additional code review and/or security research.
229227

230228
As well as everyone that helped translating on [Transifex](https://www.transifex.com/projects/p/bitcoin/).
231229

232-
{% endgithubify %}

_releases/en/0.12.0.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ excerpt: Bitcoin Core version 0.12.0 is now available
77
release: [0, 12, 0, 0]
88
date: 2016-02-23
99
---
10-
{% include download.html %}
11-
{% githubify https://github.com/bitcoin/bitcoin %}
1210

1311
Bitcoin Core version 0.12.0 is now available from:
1412

@@ -730,4 +728,3 @@ Thanks to everyone who directly contributed to this release:
730728

731729
As well as everyone that helped translating on [Transifex](https://www.transifex.com/projects/p/bitcoin/).
732730

733-
{% endgithubify %}

_releases/en/0.12.1.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ excerpt: Bitcoin Core version 0.12.1 is now available
77
release: [0, 12, 1, 0]
88
date: 2016-04-15
99
---
10-
{% include download.html %}
11-
{% githubify https://github.com/bitcoin/bitcoin %}
1210

1311
Bitcoin Core version 0.12.1 is now available from:
1412

@@ -208,4 +206,3 @@ Thanks to everyone who directly contributed to this release:
208206

209207
As well as everyone that helped translating on [Transifex](https://www.transifex.com/projects/p/bitcoin/).
210208

211-
{% endgithubify %}

_releases/en/0.13.0.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ date: 2016-08-23
99

1010
# From Core commit: d485a6c5a8d238cac5ad732ce9e744f4b121143c
1111
---
12-
{% include download.html %}
13-
{% githubify https://github.com/bitcoin/bitcoin %}
1412

1513
Bitcoin Core version 0.13.0 is now available from:
1614

@@ -895,4 +893,3 @@ Thanks to everyone who directly contributed to this release:
895893

896894
As well as everyone that helped translating on [Transifex](https://www.transifex.com/projects/p/bitcoin/).
897895

898-
{% endgithubify %}

_releases/en/0.13.1.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ date: 2016-10-27
99

1010
# From https://raw.githubusercontent.com/bitcoin/bitcoin/2e2388a5cbb9a6e101b36e4501698fec538a5738/doc/release-notes/release-notes-0.13.1.md
1111
---
12-
{% include download.html %}
13-
{% githubify https://github.com/bitcoin/bitcoin %}
1412

1513
Bitcoin Core version 0.13.1 is now available from:
1614

@@ -423,4 +421,3 @@ Thanks to everyone who directly contributed to this release:
423421

424422
As well as everyone that helped translating on [Transifex](https://www.transifex.com/projects/p/bitcoin/).
425423

426-
{% endgithubify %}

_releases/en/0.13.2.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ date: 2017-01-03
99

1010
# https://raw.githubusercontent.com/bitcoin/bitcoin/v0.13.2/doc/release-notes.md
1111
---
12-
{% include download.html %}
13-
{% githubify https://github.com/bitcoin/bitcoin %}
1412

1513
Bitcoin Core version 0.13.2 is now available from:
1614

@@ -167,4 +165,3 @@ Thanks to everyone who directly contributed to this release:
167165

168166
As well as everyone that helped translating on [Transifex](https://www.transifex.com/projects/p/bitcoin/).
169167

170-
{% endgithubify %}

_releases/en/0.14.0.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ date: 2017-03-08
1313
# absolute urls (https://github.com/bitcoin/bitcoin/doc/foo)
1414
# rather than relative urls (/bitcoin/bitcoin/doc/foo).
1515
---
16-
{% include download.html %}
17-
{% githubify https://github.com/bitcoin/bitcoin %}
1816

1917
Bitcoin Core version 0.14.0 is now available from:
2018

@@ -890,4 +888,3 @@ Thanks to everyone who directly contributed to this release:
890888

891889
As well as everyone that helped translating on [Transifex](https://www.transifex.com/projects/p/bitcoin/).
892890

893-
{% endgithubify %}

0 commit comments

Comments
 (0)