Skip to content

Commit c5316d1

Browse files
committed
Merge #569: Bugfix: fix broken Markdown reference-style links
53b8472 Translations: 0.13.1 release: change link to segwit benefits page (David A. Harding) 0e7d61a Travis: fix bug with colored text supressing some output (David A. Harding) 3069b03 Makefile: add test for broken Markdown reference-style links (David A. Harding) f6faef9 Drop untranslated zh_TW Support BIPs page after adding a redirect (David A. Harding) 916a896 Translations Bugfix: repair missing/broken Markdown reference-style links (David A. Harding) 5435c3b Bugfix: repair missing/broken Markdown reference-style links (David A. Harding) Pull request description: If you create a Markdown reference-style link whose target isn't defined, the link definition is rendered unchanged onto the resultant page. E.g. [broken][broken link] This PR adds a test that greps for those broken definitions and fixes all current instances of them. Tree-SHA512: ba481a4491fe236d72a1de91b3e22fc169573a6371edc877374af6ea4b89ef219816e4030291d14ea56b5b303388244fe57fb301da113a8432c08c2447b0e43a
2 parents 8112259 + 53b8472 commit c5316d1

21 files changed

+52
-48
lines changed

Makefile

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ build:
88
bundle exec jekyll clean
99
bundle exec jekyll build --future --drafts --unpublished
1010

11-
test:
12-
bundle exec htmlproof --check-html --disable-external --url-ignore '/^\/bin/.*/' ./_site
11+
test: test-fast test-slow
12+
13+
test-slow:
14+
## Check for malformed HTML and broken internal links
15+
bundle exec htmlproof --check-html --disable-external --url-ignore '/^\/bin/.*/' ./_site | cat
16+
## Check that links on the /en/download page point to the separately-stored binaries in /bin
1317
contrib/qa/test-binary-availability.sh && echo "SUCCESS checking URLs for binaries"
18+
19+
test-fast:
20+
## Check for broken Markdown reference-style links that are displayed in text unchanged, e.g. [broken][broken link]
21+
! find _site/ -name '*.html' | xargs grep ']\[' | grep -v skip-test | grep .

_posts/en/meetings/2015-12-17-meeting.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,5 @@ YYYYYYYEEEEEAAAAAAAAAAHHHHHHHHHHHH
100100
## Credits
101101

102102
This summary was originally compiled by Stefan Gilis aka "G1lius" and posted to the [bitcoin-discuss mailing list][meetingsource] with the disclaimer, "Please bear in mind I'm not a developer so some things might be incorrect or plain wrong." and placed copyright in the Public Domain.
103+
103104
[meetingsource]: http://lists.linuxfoundation.org/pipermail/bitcoin-discuss/2015-December/000039.html

_posts/en/meetings/2016-07-21-meeting.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,5 +126,6 @@ This summary was compiled without input from any of the participants in the disc
126126
[#7081]: https://github.com/bitcoin/bitcoin/pull/7081
127127
[#8364]: https://github.com/bitcoin/bitcoin/pull/8364
128128
[#8365]: https://github.com/bitcoin/bitcoin/pull/8365
129+
[#8388]: https://github.com/bitcoin/bitcoin/pull/8388
129130

130131
{% include _references.md %}

_posts/en/meetings/2016-08-04-meeting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ There's no clear cut solution for this.
8787

8888
This summary was compiled without input from any of the participants in the discussion, so any errors are the fault of the summary author and not the discussion participants.
8989

90-
[#8483]: https://github.com/bitcoin/bitcoin/pull/8483
90+
[#8438]: https://github.com/bitcoin/bitcoin/pull/8438
9191
[#8365]: https://github.com/bitcoin/bitcoin/pull/8365
9292

9393
{% include _references.md %}

_posts/en/meetings/2016-12-01-meeting.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ This summary was compiled without input from any of the participants in the disc
132132
[#9188]: https://github.com/bitcoin/bitcoin/pull/9188
133133
[#9239]: https://github.com/bitcoin/bitcoin/pull/9239
134134
[#9252]: https://github.com/bitcoin/bitcoin/pull/9252
135+
[#9253]: https://github.com/bitcoin/bitcoin/pull/9253
135136
[#9143]: https://github.com/bitcoin/bitcoin/pull/9143
136137
[#9256]: https://github.com/bitcoin/bitcoin/pull/9256
137138
[#8723]: https://github.com/bitcoin/bitcoin/pull/8723

_posts/en/meetings/2016-12-22-meeting.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,5 +121,6 @@ This summary was compiled without input from any of the participants in the disc
121121
[#9375]: https://github.com/bitcoin/bitcoin/pull/9375
122122
[#7533]: https://github.com/bitcoin/bitcoin/pull/7533
123123
[#9138]: https://github.com/bitcoin/bitcoin/pull/9138
124+
[#8776]: https://github.com/bitcoin/bitcoin/pull/8776
124125

125126
{% include _references.md %}

_posts/en/meetings/2017-04-06-meeting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Since a lot of developers where missing or not focussed on the meeting because o
3838
- Sipa has been working on things related to database/cache/flush/memory usage.
3939
- Morcos is coding and recoding fee estimation for months, but it's much more complicated and will be hard to review.
4040
- Sdaftuar has been working on CreateNewBlock, introducing a way to skip recently added transactions if the block income for doing so is below some theshold.
41-
- Jtimon worked on some refactoring PRs, like [#9494][], [#10119][] and [#101118][]
41+
- Jtimon worked on some refactoring PRs, like [#9494][], [#10119][] and [#10118][]
4242

4343
## High priority review
4444

_posts/en/meetings/2017-05-11-meeting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ This summary was compiled without input from any of the participants in the disc
110110

111111
[#9343]: https://github.com/bitcoin/bitcoin/pull/9343
112112
[#10333]: https://github.com/bitcoin/bitcoin/pull/10333
113-
[#8649]: https://github.com/bitcoin/bitcoin/pull/8649
113+
[#8694]: https://github.com/bitcoin/bitcoin/pull/8694
114114
[#10240]: https://github.com/bitcoin/bitcoin/pull/10240
115115
[#9494]: https://github.com/bitcoin/bitcoin/pull/9494
116116
[#10195]: https://github.com/bitcoin/bitcoin/pull/10195

_posts/en/pages/2016-01-13-supported-bips.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ lang: en
77
permalink: /en/bips/
88
share: false
99
version: 2
10+
redirect_from:
11+
- /zh_TW/bips/
1012
---
1113
Bitcoin Core supports the following [BIPs][BIP1].
1214

_posts/en/posts/2016-04-15-release-0-12-1.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ type: posts
88
layout: post
99
share: true
1010
version: 1
11+
excerpt: >-
12+
We are pleased to announce the release of Bitcoin Core 0.12.1. This
13+
maintenance update includes the first soft fork deployment utilising
14+
version bits
1115
---
1216
We are pleased to announce the release of Bitcoin Core 0.12.1. This maintenance update includes the first soft fork deployment utilising "[version bits][BIP9]" as part of the [capacity increases](/en/2015/12/23/capacity-increases-faq/) roadmap.
1317

0 commit comments

Comments
 (0)