diff --git a/404.html b/404.html
index c54ed6c83a..bfb66f087d 100644
--- a/404.html
+++ b/404.html
@@ -1,4 +1,7 @@
---
+# This file is licensed under the MIT License (MIT) available on
+# http://opensource.org/licenses/MIT.
+
layout: base
lang: en
id: index
diff --git a/Makefile b/Makefile
index 33d641689a..384ecb9167 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-## Optional Makefile: only used for testing & maintainer automation;
-## not used to build live site
+## This file is licensed under the MIT License (MIT) available on
+## http://opensource.org/licenses/MIT.
S=@ ## Silent: only print errors by default;
## run `make S='' [other args]` to print commands as they're run
@@ -198,6 +198,12 @@ check-for-missing-copyright-licenses:
## say MIT license, but it has to say something.) This can be extended
## to include other directories by adding them after "_includes/"
$S git grep -iL 'This file is licensed' _includes/ | eval $(ERROR_ON_OUTPUT)
+ $S git ls-files | grep -v '^_alerts' \
+ | while read file ; do \
+ if sed -n 1p $$file | grep -q '^---$$' ; then \
+ grep -iL 'This file is licensed' $$file ; \
+ fi ; \
+ done | eval $(ERROR_ON_OUTPUT)
check-for-missing-rpc-summaries:
## Make sure the Quick Reference section has a summary for each RPC we
diff --git a/README.md b/README.md
index 15fe83f3a0..21c9dfd8bf 100644
--- a/README.md
+++ b/README.md
@@ -408,6 +408,9 @@ recommend naming it after the release, such as `0.10.0.md`
Then copy in the following YAML header (the part between the three dashes, ---):
~~~
---
+# This file is licensed under the MIT License (MIT) available on
+# http://opensource.org/licenses/MIT.
+
## Required value below populates the %v variable (note: % needs to be escaped in YAML if it starts a value)
required_version: 0.10.0
## Optional release date. May be filled in hours/days after a release
diff --git a/_alerts/2015-07-04-spv-mining.md b/_alerts/2015-07-04-spv-mining.md
index 5824734ccd..a641cf5e25 100644
--- a/_alerts/2015-07-04-spv-mining.md
+++ b/_alerts/2015-07-04-spv-mining.md
@@ -1,4 +1,7 @@
---
+## This file is licensed under the MIT License (MIT) available on
+## http://opensource.org/licenses/MIT.
+
title: "Some Miners Generating Invalid Blocks"
alias: "spv-mining"
active: false
diff --git a/_posts/2015-06-16-hard-fork-policy.md b/_posts/2015-06-16-hard-fork-policy.md
index 81cacae269..e2ad00a595 100644
--- a/_posts/2015-06-16-hard-fork-policy.md
+++ b/_posts/2015-06-16-hard-fork-policy.md
@@ -1,4 +1,7 @@
---
+# This file is licensed under the MIT License (MIT) available on
+# http://opensource.org/licenses/MIT.
+
type: posts
layout: post
lang: en
diff --git a/_posts/2015-06-23-repository-move.md b/_posts/2015-06-23-repository-move.md
index 88334f1a45..cf5f9c5c3d 100644
--- a/_posts/2015-06-23-repository-move.md
+++ b/_posts/2015-06-23-repository-move.md
@@ -1,4 +1,7 @@
---
+# This file is licensed under the MIT License (MIT) available on
+# http://opensource.org/licenses/MIT.
+
type: posts
layout: post
lang: en
diff --git a/_releases/0.10.0.md b/_releases/0.10.0.md
index 39c00e4630..39be7f173f 100644
--- a/_releases/0.10.0.md
+++ b/_releases/0.10.0.md
@@ -1,4 +1,9 @@
---
+# This file is licensed under the MIT License (MIT) available on
+# http://opensource.org/licenses/MIT.
+# Text originally from Bitcoin Core project
+# Metadata and small formatting changes from Bitcoin.org project
+
## Required value below populates the %v variable (note: % needs to be escaped in YAML if it starts a value)
required_version: 0.10.0
## Optional release date. May be filled in hours/days after a release
diff --git a/_releases/0.10.1.md b/_releases/0.10.1.md
index 1917ba0e84..493b230090 100644
--- a/_releases/0.10.1.md
+++ b/_releases/0.10.1.md
@@ -1,4 +1,9 @@
---
+# This file is licensed under the MIT License (MIT) available on
+# http://opensource.org/licenses/MIT.
+# Text originally from Bitcoin Core project
+# Metadata and small formatting changes from Bitcoin.org project
+
## Required value below populates the %v variable (note: % needs to be escaped in YAML if it starts a value)
required_version: 0.10.1
## Optional release date. May be filled in hours/days after a release
diff --git a/_releases/0.10.2.md b/_releases/0.10.2.md
index cfc94cbf67..44d5d48d39 100644
--- a/_releases/0.10.2.md
+++ b/_releases/0.10.2.md
@@ -1,4 +1,9 @@
---
+# This file is licensed under the MIT License (MIT) available on
+# http://opensource.org/licenses/MIT.
+# Text originally from Bitcoin Core project
+# Metadata and small formatting changes from Bitcoin.org project
+
## Required value below populates the %v variable (note: % needs to be escaped in YAML if it starts a value)
required_version: 0.10.2
## Optional release date. May be filled in hours/days after a release
diff --git a/_releases/0.11.0.md b/_releases/0.11.0.md
index 4cfa982a8c..b9f5462526 100644
--- a/_releases/0.11.0.md
+++ b/_releases/0.11.0.md
@@ -1,4 +1,9 @@
---
+# This file is licensed under the MIT License (MIT) available on
+# http://opensource.org/licenses/MIT.
+# Text originally from Bitcoin Core project
+# Metadata and small formatting changes from Bitcoin.org project
+
## Required value below populates the %v variable (note: % needs to be escaped in YAML if it starts a value)
required_version: 0.11.0
## Optional release date. May be filled in hours/days after a release
diff --git a/_releases/0.3.21.md b/_releases/0.3.21.md
index 97373c6e48..fbe62f00e3 100644
--- a/_releases/0.3.21.md
+++ b/_releases/0.3.21.md
@@ -1,4 +1,9 @@
---
+# This file is licensed under the MIT License (MIT) available on
+# http://opensource.org/licenses/MIT.
+# Text originally from Bitcoin Core project
+# Metadata and small formatting changes from Bitcoin.org project
+
## Please see _releases/0.10.0.md for a release template
required_version: 0.3.21
optional_date: 2011-04-27
diff --git a/_releases/0.3.22.md b/_releases/0.3.22.md
index ace3560160..b1a4b1cc78 100644
--- a/_releases/0.3.22.md
+++ b/_releases/0.3.22.md
@@ -1,4 +1,9 @@
---
+# This file is licensed under the MIT License (MIT) available on
+# http://opensource.org/licenses/MIT.
+# Text originally from Bitcoin Core project
+# Metadata and small formatting changes from Bitcoin.org project
+
## Please see _releases/0.10.0.md for a release template
required_version: 0.3.22
optional_date: 2011-06-05
diff --git a/_releases/0.3.23.md b/_releases/0.3.23.md
index 11d86181c5..5a8ab003a1 100644
--- a/_releases/0.3.23.md
+++ b/_releases/0.3.23.md
@@ -1,4 +1,9 @@
---
+# This file is licensed under the MIT License (MIT) available on
+# http://opensource.org/licenses/MIT.
+# Text originally from Bitcoin Core project
+# Metadata and small formatting changes from Bitcoin.org project
+
## Please see _releases/0.10.0.md for a release template
required_version: 0.3.23
optional_date: 2011-06-14
diff --git a/_releases/0.3.24.md b/_releases/0.3.24.md
index 8bd6bfa073..0701fe9d35 100644
--- a/_releases/0.3.24.md
+++ b/_releases/0.3.24.md
@@ -1,4 +1,9 @@
---
+# This file is licensed under the MIT License (MIT) available on
+# http://opensource.org/licenses/MIT.
+# Text originally from Bitcoin Core project
+# Metadata and small formatting changes from Bitcoin.org project
+
## Please see _releases/0.10.0.md for a release template
required_version: 0.3.24
optional_date: 2011-07-08
diff --git a/_releases/0.4.0.md b/_releases/0.4.0.md
index 0b3888f53a..1d5809c533 100644
--- a/_releases/0.4.0.md
+++ b/_releases/0.4.0.md
@@ -1,4 +1,9 @@
---
+# This file is licensed under the MIT License (MIT) available on
+# http://opensource.org/licenses/MIT.
+# Text originally from Bitcoin Core project
+# Metadata and small formatting changes from Bitcoin.org project
+
## Please see _releases/0.10.0.md for a release template
required_version: 0.4.0
optional_date: 2011-09-23
diff --git a/_releases/0.5.0.md b/_releases/0.5.0.md
index b8682250f1..c9a13d9228 100644
--- a/_releases/0.5.0.md
+++ b/_releases/0.5.0.md
@@ -1,4 +1,9 @@
---
+# This file is licensed under the MIT License (MIT) available on
+# http://opensource.org/licenses/MIT.
+# Text originally from Bitcoin Core project
+# Metadata and small formatting changes from Bitcoin.org project
+
## Please see _releases/0.10.0.md for a release template
required_version: 0.5.0
optional_date: 2011-11-21
diff --git a/_releases/0.5.1.md b/_releases/0.5.1.md
index b0883a7e2d..bb4d228043 100644
--- a/_releases/0.5.1.md
+++ b/_releases/0.5.1.md
@@ -1,4 +1,9 @@
---
+# This file is licensed under the MIT License (MIT) available on
+# http://opensource.org/licenses/MIT.
+# Text originally from Bitcoin Core project
+# Metadata and small formatting changes from Bitcoin.org project
+
## Please see _releases/0.10.0.md for a release template
required_version: 0.5.1
optional_date: 2011-12-15
diff --git a/_releases/0.5.2.md b/_releases/0.5.2.md
index 6bd0d91596..2baf9f09a5 100644
--- a/_releases/0.5.2.md
+++ b/_releases/0.5.2.md
@@ -1,4 +1,9 @@
---
+# This file is licensed under the MIT License (MIT) available on
+# http://opensource.org/licenses/MIT.
+# Text originally from Bitcoin Core project
+# Metadata and small formatting changes from Bitcoin.org project
+
## Please see _releases/0.10.0.md for a release template
required_version: 0.5.2
optional_date: 2012-01-09
diff --git a/_releases/0.5.3.1.md b/_releases/0.5.3.1.md
index 8a1fda297f..bfda68402c 100644
--- a/_releases/0.5.3.1.md
+++ b/_releases/0.5.3.1.md
@@ -1,4 +1,9 @@
---
+# This file is licensed under the MIT License (MIT) available on
+# http://opensource.org/licenses/MIT.
+# Text originally from Bitcoin Core project
+# Metadata and small formatting changes from Bitcoin.org project
+
## Please see _releases/0.10.0.md for a release template
required_version: 0.5.3.1
optional_date: 2012-03-16
diff --git a/_releases/0.5.3.md b/_releases/0.5.3.md
index 67e4e05049..0e3e498848 100644
--- a/_releases/0.5.3.md
+++ b/_releases/0.5.3.md
@@ -1,4 +1,9 @@
---
+# This file is licensed under the MIT License (MIT) available on
+# http://opensource.org/licenses/MIT.
+# Text originally from Bitcoin Core project
+# Metadata and small formatting changes from Bitcoin.org project
+
## Please see _releases/0.10.0.md for a release template
required_version: 0.5.3
optional_date: 2012-03-14
diff --git a/_releases/0.6.0.md b/_releases/0.6.0.md
index 3e7bc39743..cfcd0b75cd 100644
--- a/_releases/0.6.0.md
+++ b/_releases/0.6.0.md
@@ -1,4 +1,9 @@
---
+# This file is licensed under the MIT License (MIT) available on
+# http://opensource.org/licenses/MIT.
+# Text originally from Bitcoin Core project
+# Metadata and small formatting changes from Bitcoin.org project
+
## Please see _releases/0.10.0.md for a release template
required_version: 0.6.0
optional_date: 2012-03-30
diff --git a/_releases/0.6.1.md b/_releases/0.6.1.md
index 6cb1472c71..295ba12e98 100644
--- a/_releases/0.6.1.md
+++ b/_releases/0.6.1.md
@@ -1,4 +1,9 @@
---
+# This file is licensed under the MIT License (MIT) available on
+# http://opensource.org/licenses/MIT.
+# Text originally from Bitcoin Core project
+# Metadata and small formatting changes from Bitcoin.org project
+
## Please see _releases/0.10.0.md for a release template
required_version: 0.6.1
optional_date: 2012-05-04
diff --git a/_releases/0.6.2.md b/_releases/0.6.2.md
index ba927fa6d9..20e7ef83a0 100644
--- a/_releases/0.6.2.md
+++ b/_releases/0.6.2.md
@@ -1,4 +1,9 @@
---
+# This file is licensed under the MIT License (MIT) available on
+# http://opensource.org/licenses/MIT.
+# Text originally from Bitcoin Core project
+# Metadata and small formatting changes from Bitcoin.org project
+
## Please see _releases/0.10.0.md for a release template
required_version: 0.6.2
optional_date: 2012-05-08
diff --git a/_releases/0.6.3.md b/_releases/0.6.3.md
index 8dc00ff11c..666b1c87bd 100644
--- a/_releases/0.6.3.md
+++ b/_releases/0.6.3.md
@@ -1,4 +1,9 @@
---
+# This file is licensed under the MIT License (MIT) available on
+# http://opensource.org/licenses/MIT.
+# Text originally from Bitcoin Core project
+# Metadata and small formatting changes from Bitcoin.org project
+
## Please see _releases/0.10.0.md for a release template
required_version: 0.6.3
optional_date: 2012-06-25
diff --git a/_releases/0.7.0.md b/_releases/0.7.0.md
index 7f5b288cf4..e0ebcb700c 100644
--- a/_releases/0.7.0.md
+++ b/_releases/0.7.0.md
@@ -1,4 +1,9 @@
---
+# This file is licensed under the MIT License (MIT) available on
+# http://opensource.org/licenses/MIT.
+# Text originally from Bitcoin Core project
+# Metadata and small formatting changes from Bitcoin.org project
+
## Please see _releases/0.10.0.md for a release template
required_version: 0.7.0
optional_date: 2012-09-17
diff --git a/_releases/0.7.1.md b/_releases/0.7.1.md
index c762be54f1..767582b69b 100644
--- a/_releases/0.7.1.md
+++ b/_releases/0.7.1.md
@@ -1,4 +1,9 @@
---
+# This file is licensed under the MIT License (MIT) available on
+# http://opensource.org/licenses/MIT.
+# Text originally from Bitcoin Core project
+# Metadata and small formatting changes from Bitcoin.org project
+
## Please see _releases/0.10.0.md for a release template
required_version: 0.7.1
optional_date: 2012-10-19
diff --git a/_releases/0.7.2.md b/_releases/0.7.2.md
index 52e803a416..5f7e9e56a3 100644
--- a/_releases/0.7.2.md
+++ b/_releases/0.7.2.md
@@ -1,4 +1,9 @@
---
+# This file is licensed under the MIT License (MIT) available on
+# http://opensource.org/licenses/MIT.
+# Text originally from Bitcoin Core project
+# Metadata and small formatting changes from Bitcoin.org project
+
## Please see _releases/0.10.0.md for a release template
required_version: 0.7.2
optional_date: 2012-12-14
diff --git a/_releases/0.8.0.md b/_releases/0.8.0.md
index edc4984793..d8c80dbe2a 100644
--- a/_releases/0.8.0.md
+++ b/_releases/0.8.0.md
@@ -1,4 +1,9 @@
---
+# This file is licensed under the MIT License (MIT) available on
+# http://opensource.org/licenses/MIT.
+# Text originally from Bitcoin Core project
+# Metadata and small formatting changes from Bitcoin.org project
+
## Please see _releases/0.10.0.md for a release template
required_version: 0.8.0
optional_date: 2013-02-19
diff --git a/_releases/0.8.1.md b/_releases/0.8.1.md
index a06f87dbe5..ca6cd3dce7 100644
--- a/_releases/0.8.1.md
+++ b/_releases/0.8.1.md
@@ -1,4 +1,9 @@
---
+# This file is licensed under the MIT License (MIT) available on
+# http://opensource.org/licenses/MIT.
+# Text originally from Bitcoin Core project
+# Metadata and small formatting changes from Bitcoin.org project
+
## Please see _releases/0.10.0.md for a release template
required_version: 0.8.1
optional_date: 2013-03-18
diff --git a/_releases/0.8.2.md b/_releases/0.8.2.md
index 95ca0ce952..a987177b25 100644
--- a/_releases/0.8.2.md
+++ b/_releases/0.8.2.md
@@ -1,4 +1,9 @@
---
+# This file is licensed under the MIT License (MIT) available on
+# http://opensource.org/licenses/MIT.
+# Text originally from Bitcoin Core project
+# Metadata and small formatting changes from Bitcoin.org project
+
## Please see _releases/0.10.0.md for a release template
required_version: 0.8.2
optional_date: 2013-05-29
diff --git a/_releases/0.8.3.md b/_releases/0.8.3.md
index 4549a57f5d..22ac856371 100644
--- a/_releases/0.8.3.md
+++ b/_releases/0.8.3.md
@@ -1,4 +1,9 @@
---
+# This file is licensed under the MIT License (MIT) available on
+# http://opensource.org/licenses/MIT.
+# Text originally from Bitcoin Core project
+# Metadata and small formatting changes from Bitcoin.org project
+
## Please see _releases/0.10.0.md for a release template
required_version: 0.8.3
optional_date: 2013-06-25
diff --git a/_releases/0.8.4.md b/_releases/0.8.4.md
index 8ab559fa21..b275ecab7f 100644
--- a/_releases/0.8.4.md
+++ b/_releases/0.8.4.md
@@ -1,4 +1,9 @@
---
+# This file is licensed under the MIT License (MIT) available on
+# http://opensource.org/licenses/MIT.
+# Text originally from Bitcoin Core project
+# Metadata and small formatting changes from Bitcoin.org project
+
## Please see _releases/0.10.0.md for a release template
required_version: 0.8.4
optional_date: 2013-09-03
diff --git a/_releases/0.8.5.md b/_releases/0.8.5.md
index 2c288dfd8f..c1236ae326 100644
--- a/_releases/0.8.5.md
+++ b/_releases/0.8.5.md
@@ -1,4 +1,9 @@
---
+# This file is licensed under the MIT License (MIT) available on
+# http://opensource.org/licenses/MIT.
+# Text originally from Bitcoin Core project
+# Metadata and small formatting changes from Bitcoin.org project
+
## Please see _releases/0.10.0.md for a release template
required_version: 0.8.5
optional_date: 2013-09-13
diff --git a/_releases/0.8.6.md b/_releases/0.8.6.md
index 41d5f5cf93..5ce19ddd25 100644
--- a/_releases/0.8.6.md
+++ b/_releases/0.8.6.md
@@ -1,4 +1,9 @@
---
+# This file is licensed under the MIT License (MIT) available on
+# http://opensource.org/licenses/MIT.
+# Text originally from Bitcoin Core project
+# Metadata and small formatting changes from Bitcoin.org project
+
## Please see _releases/0.10.0.md for a release template
required_version: 0.8.6
optional_date: 2013-12-09
diff --git a/_releases/0.9.0.md b/_releases/0.9.0.md
index ead5708e51..86a1d26b71 100644
--- a/_releases/0.9.0.md
+++ b/_releases/0.9.0.md
@@ -1,4 +1,9 @@
---
+# This file is licensed under the MIT License (MIT) available on
+# http://opensource.org/licenses/MIT.
+# Text originally from Bitcoin Core project
+# Metadata and small formatting changes from Bitcoin.org project
+
## Please see _releases/0.10.0.md for a release template
required_version: 0.9.0
optional_date: 2014-03-19
diff --git a/_releases/0.9.1.md b/_releases/0.9.1.md
index d2577b512d..9a5a7edd6b 100644
--- a/_releases/0.9.1.md
+++ b/_releases/0.9.1.md
@@ -1,4 +1,9 @@
---
+# This file is licensed under the MIT License (MIT) available on
+# http://opensource.org/licenses/MIT.
+# Text originally from Bitcoin Core project
+# Metadata and small formatting changes from Bitcoin.org project
+
## Please see _releases/0.10.0.md for a release template
required_version: 0.9.1
optional_date: 2014-04-08
diff --git a/_releases/0.9.2.1.md b/_releases/0.9.2.1.md
index c40ba8ae17..867b706139 100644
--- a/_releases/0.9.2.1.md
+++ b/_releases/0.9.2.1.md
@@ -1,4 +1,9 @@
---
+# This file is licensed under the MIT License (MIT) available on
+# http://opensource.org/licenses/MIT.
+# Text originally from Bitcoin Core project
+# Metadata and small formatting changes from Bitcoin.org project
+
## Please see _releases/0.10.0.md for a release template
required_version: 0.9.2.1
optional_date: 2014-06-19
diff --git a/_releases/0.9.2.md b/_releases/0.9.2.md
index 646cececda..1d47879771 100644
--- a/_releases/0.9.2.md
+++ b/_releases/0.9.2.md
@@ -1,4 +1,9 @@
---
+# This file is licensed under the MIT License (MIT) available on
+# http://opensource.org/licenses/MIT.
+# Text originally from Bitcoin Core project
+# Metadata and small formatting changes from Bitcoin.org project
+
## Please see _releases/0.10.0.md for a release template
required_version: 0.9.2
optional_date: 2014-06-16
diff --git a/_releases/0.9.3.md b/_releases/0.9.3.md
index 7d29a4a5c7..fef71a57ae 100644
--- a/_releases/0.9.3.md
+++ b/_releases/0.9.3.md
@@ -1,4 +1,9 @@
---
+# This file is licensed under the MIT License (MIT) available on
+# http://opensource.org/licenses/MIT.
+# Text originally from Bitcoin Core project
+# Metadata and small formatting changes from Bitcoin.org project
+
## Please see _releases/0.10.0.md for a release template
required_version: 0.9.3
optional_date: 2014-09-27
diff --git a/_templates/privacy.html b/_templates/privacy.html
index 750069fb42..5f1e252ca1 100755
--- a/_templates/privacy.html
+++ b/_templates/privacy.html
@@ -1,4 +1,7 @@
---
+# This file is licensed under the MIT License (MIT) available on
+# http://opensource.org/licenses/MIT.
+
layout: base
id: privacy
---
diff --git a/js/events.js b/js/events.js
index 0d446cd195..bf21ef2586 100644
--- a/js/events.js
+++ b/js/events.js
@@ -1,4 +1,7 @@
---
+# This file is licensed under the MIT License (MIT) available on
+# http://opensource.org/licenses/MIT.
+
layout: null
---