Skip to content

Commit 798bf8b

Browse files
hardingjnewbery
authored andcommitted
Links: deprecate some old links that conflict with modern topics
1 parent 2baf566 commit 798bf8b

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

_includes/references.md

+14-7
Original file line numberDiff line numberDiff line change
@@ -28,24 +28,31 @@
2828
[bolts repo]: https://github.com/lightningnetwork/lightning-rfc/
2929
[c-lightning]: https://github.com/ElementsProject/lightning
3030
[c-lightning repo]: https://github.com/ElementsProject/lightning
31+
[eclair repo]: https://github.com/ACINQ/eclair
32+
[hwi repo]: https://github.com/bitcoin-core/HWI
33+
[libminisketch]: https://github.com/sipa/minisketch
34+
[libsecp256k1]: https://github.com/bitcoin-core/secp256k1
35+
[libsecp256k1 repo]: https://github.com/bitcoin-core/secp256k1
36+
[lnd repo]: https://github.com/lightningnetwork/lnd/
37+
[rust-lightning repo]: https://github.com/rust-bitcoin/rust-lightning
38+
39+
{% comment %}<!-- deprecated links; don't use these any more -->{% endcomment %}
40+
{% assign pagedate_epoch = page.date | date: '%s' %}
41+
{% assign deprecated_links_v0_epoch = '2020-09-24' | date: '%s' %}
42+
{% if pagedate_epoch < deprecated_links_v0_epoch %}
3143
[cve-2012-2459]: https://bitcointalk.org/?topic=102395
3244
[cve-2017-12842]: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-12842
3345
[cve-2018-17144]: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-17144
34-
[descriptor]: https://github.com/bitcoin/bitcoin/blob/master/doc/descriptors.md
35-
[eclair repo]: https://github.com/ACINQ/eclair
3646
[eltoo]: https://blockstream.com/eltoo.pdf
3747
[erlay]: https://arxiv.org/pdf/1905.10518.pdf
3848
[hwi]: https://github.com/bitcoin-core/HWI
39-
[libminisketch]: https://github.com/sipa/minisketch
40-
[libsecp256k1]: https://github.com/bitcoin-core/secp256k1
41-
[libsecp256k1 repo]: https://github.com/bitcoin-core/secp256k1
42-
[lnd repo]: https://github.com/lightningnetwork/lnd/
4349
[miniscript]: /en/topics/miniscript/
4450
[musig]: https://eprint.iacr.org/2018/068
4551
{% assign _link_descriptors = 'https://github.com/bitcoin/bitcoin/blob/master/doc/descriptors.md' %}
52+
[descriptor]: {{_link_descriptors}}
4653
[output script descriptor]: {{_link_descriptors}}
4754
[output script descriptors]: {{_link_descriptors}}
48-
[rust-lightning repo]: https://github.com/rust-bitcoin/rust-lightning
55+
{% endif %}
4956

5057
{% comment %}<!-- BIPs in order lowest to highest
5158
Note: as of 2019-02-24/Jekyll 3.8.3, this is currently inefficient as

0 commit comments

Comments
 (0)