From d954708ef157591af14e299c8aa0f44bda2e9889 Mon Sep 17 00:00:00 2001
From: "David A. Harding"
-A bug caused a temporary block chain fork on 11 March, 2013. +A bug caused a temporary block chain fork on 11 March, 2013. After investigating that bug, we determined that the bug can happen even if the entire network was still running old versions of Bitcoin-Qt/bitcoind. Therefore, the only option is to diff --git a/_build/update_site.sh b/_build/update_site.sh index b5e12843..bc4ac246 100755 --- a/_build/update_site.sh +++ b/_build/update_site.sh @@ -49,7 +49,7 @@ lasttime=`stat -c %Y "$SITEDIR/_buildlock" | cut -d ' ' -f1` # Build website in a child process ( cd $WORKDIR -JEKYLL_COMMAND='jekyll' make all +make all touch "$WORKDIR/_builddone" )& diff --git a/_build/update_txpreview.sh b/_build/update_txpreview.sh index fd649e15..115e65ae 100755 --- a/_build/update_txpreview.sh +++ b/_build/update_txpreview.sh @@ -91,7 +91,7 @@ done # Build website in a child process ( cd $WORKDIR -ENABLED_PLUGINS='alerts redirects releases' JEKYLL_COMMAND='jekyll' make all +ENABLED_PLUGINS='alerts redirects releases' JEKYLL_COMMAND='jekyll' make touch "$WORKDIR/_builddone" )& diff --git a/_contrib/bco-htmlproof b/_contrib/bco-htmlproof new file mode 100755 index 00000000..b799f8e3 --- /dev/null +++ b/_contrib/bco-htmlproof @@ -0,0 +1,52 @@ +#!/usr/bin/env ruby + +require 'html/proofer' + +## Will throw an exception (exiting false) if any internal links don't +## work. The Makefile will terminate on the failure +HTML::Proofer.new( + ## To test, uncomment the array below and comment out ./_site and :disable_external + #[ "/foo/bar#baz", "/foo/bar", "#", "#wallet", "/foo.css", "/bar.png", "/zh_TW/bitcoin-for-businesses" ], + "./_site", + + { + ## Disable external link checking by default to avoid spurious + ## Travis CI failures. TODO: take an argument to optionally + ## enable external link checking as part of the Makefile + ## manual checks + :disable_external => true, + + ## Links to ignore + :href_ignore => [ + '#', ## hrefs pointing to the current page (htmlproofer fails them) + /^\/bin/, ## /bin dir is not part of repository; holds Bitcoin Core binaries + /^\/stats/ ## /stats dir is not part of repository; generated by separate stats script + ], + + ## Mangle links. If we enable external link checking, this will + ## require updating + :href_swap => { + ## (Hack) Append '$' to the ends of filenames we don't want to append .html to + /(css|png|rss|pdf|jpg|asc)$/ => '\1$', + + ## Append .html to end of most URLs so proofer can find the local files + /^( + [^#]+ ## Don't match URL containing a hash, we'll deal with them separately + [^\/$] ## Don't match URLs ending in a slash or $ + )$/x => '\1.html', + + ## Insert .html between page and anchor, but only if there's a + ## page name + /^(.+)(#.+)/ => '\1.html\2', + + ## (Un-hack) Remove previously-appended '$' from URLs + /\$$/ => '', + }, + + ## It'd be nice if we had a _local_config.yaml file or something + ## for settings specific to particular systems, but for now I + ## think 2 is a good setting for Travis CI ("1.5 processors") + ## and me (usually 2 processors) + :parallel => { :in_processes => 2 } + } +).run diff --git a/_layouts/base.html b/_layouts/base.html index afeb9079..5e236f03 100644 --- a/_layouts/base.html +++ b/_layouts/base.html @@ -92,7 +92,12 @@ {% else %} {% translate menu-privacy layout %} {% endcase %} + {% case page.lang %} + {% when 'sv' %} + Press + {% else %} {% translate menu-press layout %} + {% endcase %} {% translate menu-about-us layout %}
Saïvann CarignanWebsite maintenance
-Garland William Binns IIITranslation maintenance
+Garland William Binns IIITranslation maintenance
David HardingDocumentation maintenance
Garland William Binns IIIMaintenance
-@arviccoRussian
-Simon Alexander HinterreiterGerman
-Jacob BurenstamSwedish
-Péter KemenczésHungarian
-Matija MaziSlovenian
-Mihai OnosieRomanian
-Boštjan PirnarSlovenian
-Luigigiuseppe ProsperiItalian
-Thomas PrydsDanish
+Garland William Binns IIIMaintenance
+@arviccoRussian
+Simon Alexander HinterreiterGerman
+Jacob BurenstamSwedish
+Péter KemenczésHungarian
+Matija MaziSlovenian
+Mihai OnosieRomanian
+Boštjan PirnarSlovenian
+Luigigiuseppe ProsperiItalian
+Thomas PrydsDanish
Bitcoin Association Switzerland
diff --git a/_templates/getting-started.html b/_templates/getting-started.html index 5ccaeb7d..732fc194 100644 --- a/_templates/getting-started.html +++ b/_templates/getting-started.html @@ -9,7 +9,7 @@ id: getting-started{% translate pagedesc %}
- +{% translate trusttext %}
{% translate resiliencytext %}
{% translate automationtext %}