Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@ build:
bundle exec jekyll build --future --drafts --unpublished

test:
## Check for broken Markdown reference-style links that are displayed in text unchanged, e.g. [broken][broken link]
! find _site/ -name '*.html' | xargs grep ']\[' | grep -v skip-test | grep .
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the grep -v skip-test necessary?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not yet here, but it's been used to solve issues in other repositories:

user@devbco:~/bitcoincore.org$ git grep skip-test
Makefile:       ! find _site/ -name '*.html' | xargs grep ']\[' | grep -v skip-test | grep .
_releases/0.14.0.md:`"proxy"`      | `getnetworkinfo()["networks"][0]["proxy"]` <!--skip-test-->
_releases/0.14.0.md:array index or a non-quoted string (i.e. `listunspent()[0][txid]`). <!--skip-test--> Both

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense!

## Check for broken links
bundle exec htmlproofer --check-html --disable-external --url-ignore '/^\/bin/.*/' ./_site
4 changes: 4 additions & 0 deletions _posts/en/2018-07-30-xapo-consolidation.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ type: posts
layout: post
lang: en
version: 1
excerpt: >
A field report from Anthony Towns, a developer at Xapo, about how they
consolidated around 4 million UTXOs to prepare for potential future
fee increases.
---

{:.post-meta}
Expand Down