template: Split license name metadata into full and abbreviated versions.

This commit is contained in:
Bradley Sepos 2016-03-25 18:31:44 -04:00
parent d6af0c0c45
commit 8c567a150e
32 changed files with 47 additions and 31 deletions

View File

@ -91,6 +91,7 @@ function build_source {
| sed -E 's|{{[ ]*meta\.authors[ ]*}}|'"${META_Authors:-}"'|g' \
| sed -E 's|{{[ ]*meta\.copyright[ ]*}}|'"${META_Copyright:-}"'|g' \
| sed -E 's|{{[ ]*meta\.license[ ]*}}|'"${META_License:-}"'|g' \
| sed -E 's|{{[ ]*meta\.license-abbr[ ]*}}|'"${META_License_Abbr:-}"'|g' \
| sed -E 's|{{[ ]*meta\.license-url[ ]*}}|'"${META_License_URL:-}"'|g' \
| sed -E 's|{{[ ]*base\.relpath[ ]*}}|'"${BASE_RELPATH:-}"'|g' \
>> "${BASE}.html"

View File

@ -33,7 +33,7 @@
<p>Continue to <a href="../workflow/open-video.html">Opening a video</a>.</p>
<footer>
<p><span class="authorship">This article is part of the <a href="../../../" title="HandBrake Documentation">HandBrake Documentation</a> and was written by Bradley Sepos.</span> <span class="contributing">Join us on GitHub to contribute your thoughts and ideas, and to suggest any necessary corrections.</span></p>
<small class="copyright">Copyright 2016 HandBrake Team. Licensed under the <a href="https://handbrake.fr/docs/license.html" title="License Summary">Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)</a>.</small>
<small class="copyright">Copyright 2016 HandBrake Team. <a href="../../../license-summary.html" title="License Summary"><abbr title="Creative Commons Attribution-ShareAlike 4.0 International">CC BY-SA 4.0</abbr></a>.</small>
</footer>
</article>
</body>

View File

@ -70,7 +70,7 @@
</div>
<footer>
<p><span class="authorship">This article is part of the <a href="../../../" title="HandBrake Documentation">HandBrake Documentation</a> and was written by Bradley Sepos.</span> <span class="contributing">Join us on GitHub to contribute your thoughts and ideas, and to suggest any necessary corrections.</span></p>
<small class="copyright">Copyright 2016 HandBrake Team. Licensed under the <a href="https://handbrake.fr/docs/license.html" title="License Summary">Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)</a>.</small>
<small class="copyright">Copyright 2016 HandBrake Team. <a href="../../../license-summary.html" title="License Summary"><abbr title="Creative Commons Attribution-ShareAlike 4.0 International">CC BY-SA 4.0</abbr></a>.</small>
</footer>
</article>
</body>

View File

@ -47,7 +47,7 @@
<p>Continue to <a href="download-and-install.html">Downloading and installing HandBrake</a>.</p>
<footer>
<p><span class="authorship">This article is part of the <a href="../../../" title="HandBrake Documentation">HandBrake Documentation</a> and was written by Bradley Sepos.</span> <span class="contributing">Join us on GitHub to contribute your thoughts and ideas, and to suggest any necessary corrections.</span></p>
<small class="copyright">Copyright 2016 HandBrake Team. Licensed under the <a href="https://handbrake.fr/docs/license.html" title="License Summary">Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)</a>.</small>
<small class="copyright">Copyright 2016 HandBrake Team. <a href="../../../license-summary.html" title="License Summary"><abbr title="Creative Commons Attribution-ShareAlike 4.0 International">CC BY-SA 4.0</abbr></a>.</small>
</footer>
</article>
</body>

View File

@ -45,7 +45,7 @@
<p>Continue to (TODO: link).</p>
<footer>
<p><span class="authorship">This article is part of the <a href="../../../" title="HandBrake Documentation">HandBrake Documentation</a> and was written by Bradley Sepos.</span> <span class="contributing">Join us on GitHub to contribute your thoughts and ideas, and to suggest any necessary corrections.</span></p>
<small class="copyright">Copyright 2016 HandBrake Team. Licensed under the <a href="https://handbrake.fr/docs/license.html" title="License Summary">Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)</a>.</small>
<small class="copyright">Copyright 2016 HandBrake Team. <a href="../../../license-summary.html" title="License Summary"><abbr title="Creative Commons Attribution-ShareAlike 4.0 International">CC BY-SA 4.0</abbr></a>.</small>
</footer>
</article>
</body>

View File

@ -67,7 +67,7 @@
<p>Continue to <a href="../get-handbrake/where-to-get-handbrake.html">Where to get HandBrake</a>.</p>
<footer>
<p><span class="authorship">This article is part of the <a href="../../../" title="HandBrake Documentation">HandBrake Documentation</a> and was written by Bradley Sepos.</span> <span class="contributing">Join us on GitHub to contribute your thoughts and ideas, and to suggest any necessary corrections.</span></p>
<small class="copyright">Copyright 2016 HandBrake Team. Licensed under the <a href="https://handbrake.fr/docs/license.html" title="License Summary">Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)</a>.</small>
<small class="copyright">Copyright 2016 HandBrake Team. <a href="../../../license-summary.html" title="License Summary"><abbr title="Creative Commons Attribution-ShareAlike 4.0 International">CC BY-SA 4.0</abbr></a>.</small>
</footer>
</article>
</body>

View File

@ -85,7 +85,7 @@
<p>Continue to <a href="about.html">About HandBrake</a>.</p>
<footer>
<p><span class="authorship">This article is part of the <a href="../../../" title="HandBrake Documentation">HandBrake Documentation</a> and was written by Bradley Sepos.</span> <span class="contributing">Join us on GitHub to contribute your thoughts and ideas, and to suggest any necessary corrections.</span></p>
<small class="copyright">Copyright 2016 HandBrake Team. Licensed under the <a href="https://handbrake.fr/docs/license.html" title="License Summary">Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)</a>.</small>
<small class="copyright">Copyright 2016 HandBrake Team. <a href="../../../license-summary.html" title="License Summary"><abbr title="Creative Commons Attribution-ShareAlike 4.0 International">CC BY-SA 4.0</abbr></a>.</small>
</footer>
</article>
</body>

View File

@ -291,7 +291,7 @@
</ul>
<footer>
<p><span class="authorship">This article is part of the <a href="../../" title="HandBrake Documentation">HandBrake Documentation</a> and was written by Bradley Sepos.</span> <span class="contributing">Join us on GitHub to contribute your thoughts and ideas, and to suggest any necessary corrections.</span></p>
<small class="copyright">Copyright 2016 HandBrake Team. Licensed under the <a href="https://handbrake.fr/docs/license.html" title="License Summary">Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)</a>.</small>
<small class="copyright">Copyright 2016 HandBrake Team. <a href="../../license-summary.html" title="License Summary"><abbr title="Creative Commons Attribution-ShareAlike 4.0 International">CC BY-SA 4.0</abbr></a>.</small>
</footer>
</article>
</body>

View File

@ -68,7 +68,7 @@
</div>
<footer>
<p><span class="authorship">This article is part of the <a href="../../../" title="HandBrake Documentation">HandBrake Documentation</a> and was written by Bradley Sepos.</span> <span class="contributing">Join us on GitHub to contribute your thoughts and ideas, and to suggest any necessary corrections.</span></p>
<small class="copyright">Copyright 2016 HandBrake Team. Licensed under the <a href="https://handbrake.fr/docs/license.html" title="License Summary">Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)</a>.</small>
<small class="copyright">Copyright 2016 HandBrake Team. <a href="../../../license-summary.html" title="License Summary"><abbr title="Creative Commons Attribution-ShareAlike 4.0 International">CC BY-SA 4.0</abbr></a>.</small>
</footer>
</article>
</body>

View File

@ -69,7 +69,7 @@
</div>
<footer>
<p><span class="authorship">This article is part of the <a href="../../../" title="HandBrake Documentation">HandBrake Documentation</a> and was written by Bradley Sepos.</span> <span class="contributing">Join us on GitHub to contribute your thoughts and ideas, and to suggest any necessary corrections.</span></p>
<small class="copyright">Copyright 2016 HandBrake Team. Licensed under the <a href="https://handbrake.fr/docs/license.html" title="License Summary">Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)</a>.</small>
<small class="copyright">Copyright 2016 HandBrake Team. <a href="../../../license-summary.html" title="License Summary"><abbr title="Creative Commons Attribution-ShareAlike 4.0 International">CC BY-SA 4.0</abbr></a>.</small>
</footer>
</article>
</body>

View File

@ -70,7 +70,7 @@
</div>
<footer>
<p><span class="authorship">This article is part of the <a href="../../../" title="HandBrake Documentation">HandBrake Documentation</a> and was written by Bradley Sepos.</span> <span class="contributing">Join us on GitHub to contribute your thoughts and ideas, and to suggest any necessary corrections.</span></p>
<small class="copyright">Copyright 2016 HandBrake Team. Licensed under the <a href="https://handbrake.fr/docs/license.html" title="License Summary">Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)</a>.</small>
<small class="copyright">Copyright 2016 HandBrake Team. <a href="../../../license-summary.html" title="License Summary"><abbr title="Creative Commons Attribution-ShareAlike 4.0 International">CC BY-SA 4.0</abbr></a>.</small>
</footer>
</article>
</body>

View File

@ -67,7 +67,7 @@
<p>Once you are satisfied, continue to <a href="start-encoding.html">Starting encoding</a>.</p>
<footer>
<p><span class="authorship">This article is part of the <a href="../../../" title="HandBrake Documentation">HandBrake Documentation</a> and was written by Bradley Sepos.</span> <span class="contributing">Join us on GitHub to contribute your thoughts and ideas, and to suggest any necessary corrections.</span></p>
<small class="copyright">Copyright 2016 HandBrake Team. Licensed under the <a href="https://handbrake.fr/docs/license.html" title="License Summary">Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)</a>.</small>
<small class="copyright">Copyright 2016 HandBrake Team. <a href="../../../license-summary.html" title="License Summary"><abbr title="Creative Commons Attribution-ShareAlike 4.0 International">CC BY-SA 4.0</abbr></a>.</small>
</footer>
</article>
</body>

View File

@ -41,7 +41,7 @@
<p>Continue to <a href="adjust-quality.html">Adjusting quality</a>.</p>
<footer>
<p><span class="authorship">This article is part of the <a href="../../../" title="HandBrake Documentation">HandBrake Documentation</a> and was written by Bradley Sepos.</span> <span class="contributing">Join us on GitHub to contribute your thoughts and ideas, and to suggest any necessary corrections.</span></p>
<small class="copyright">Copyright 2016 HandBrake Team. Licensed under the <a href="https://handbrake.fr/docs/license.html" title="License Summary">Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)</a>.</small>
<small class="copyright">Copyright 2016 HandBrake Team. <a href="../../../license-summary.html" title="License Summary"><abbr title="Creative Commons Attribution-ShareAlike 4.0 International">CC BY-SA 4.0</abbr></a>.</small>
</footer>
</article>
</body>

View File

@ -49,7 +49,7 @@
<p>Continue to (TODO: add link).</p>
<footer>
<p><span class="authorship">This article is part of the <a href="../../../" title="HandBrake Documentation">HandBrake Documentation</a> and was written by Bradley Sepos.</span> <span class="contributing">Join us on GitHub to contribute your thoughts and ideas, and to suggest any necessary corrections.</span></p>
<small class="copyright">Copyright 2016 HandBrake Team. Licensed under the <a href="https://handbrake.fr/docs/license.html" title="License Summary">Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)</a>.</small>
<small class="copyright">Copyright 2016 HandBrake Team. <a href="../../../license-summary.html" title="License Summary"><abbr title="Creative Commons Attribution-ShareAlike 4.0 International">CC BY-SA 4.0</abbr></a>.</small>
</footer>
</article>
</body>

View File

@ -49,7 +49,7 @@
</div>
<footer>
<p><span class="authorship">This article is part of the <a href="" title="HandBrake Documentation">HandBrake Documentation</a> and was written by Bradley Sepos.</span> <span class="contributing">Join us on GitHub to contribute your thoughts and ideas, and to suggest any necessary corrections.</span></p>
<small class="copyright">Copyright 2016 HandBrake Team. Licensed under the <a href="https://handbrake.fr/docs/license.html" title="License Summary">Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)</a>.</small>
<small class="copyright">Copyright 2016 HandBrake Team. <a href="license-summary.html" title="License Summary"><abbr title="Creative Commons Attribution-ShareAlike 4.0 International">CC BY-SA 4.0</abbr></a>.</small>
</footer>
</article>
</body>

View File

@ -165,7 +165,7 @@ For the avoidance of doubt, this Section 6(b) does not affect any right the Lice
</ol>
<footer>
<p><span class="authorship">This article is part of the <a href="" title="HandBrake Documentation">HandBrake Documentation</a> and was written by Bradley Sepos.</span> <span class="contributing">Join us on GitHub to contribute your thoughts and ideas, and to suggest any necessary corrections.</span></p>
<small class="copyright">Copyright 2016 HandBrake Team. Licensed under the <a href="https://handbrake.fr/docs/license.html" title="License Summary">Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)</a>.</small>
<small class="copyright">Copyright 2016 HandBrake Team. <a href="license-summary.html" title="License Summary"><abbr title="Creative Commons Attribution-ShareAlike 4.0 International">CC BY-SA 4.0</abbr></a>.</small>
</footer>
</article>
</body>

View File

@ -8,7 +8,8 @@ Language_Code: en
Text_Encoding: utf-8
Authors: Bradley Sepos
Copyright: 2016 HandBrake Team
License: Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
License: Creative Commons Attribution-ShareAlike 4.0 International
License_Abbr: CC BY-SA 4.0
License_URL: https://handbrake.fr/docs/license.html
---

View File

@ -8,7 +8,8 @@ Language_Code: en
Text_Encoding: utf-8
Authors: Bradley Sepos
Copyright: 2016 HandBrake Team
License: Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
License: Creative Commons Attribution-ShareAlike 4.0 International
License_Abbr: CC BY-SA 4.0
License_URL: https://handbrake.fr/docs/license.html
---

View File

@ -8,7 +8,8 @@ Language_Code: en
Text_Encoding: utf-8
Authors: Bradley Sepos
Copyright: 2016 HandBrake Team
License: Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
License: Creative Commons Attribution-ShareAlike 4.0 International
License_Abbr: CC BY-SA 4.0
License_URL: https://handbrake.fr/docs/license.html
---

View File

@ -8,7 +8,8 @@ Language_Code: en
Text_Encoding: utf-8
Authors: Bradley Sepos
Copyright: 2016 HandBrake Team
License: Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
License: Creative Commons Attribution-ShareAlike 4.0 International
License_Abbr: CC BY-SA 4.0
License_URL: https://handbrake.fr/docs/license.html
---

View File

@ -8,7 +8,8 @@ Language_Code: en
Text_Encoding: utf-8
Authors: Bradley Sepos
Copyright: 2016 HandBrake Team
License: Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
License: Creative Commons Attribution-ShareAlike 4.0 International
License_Abbr: CC BY-SA 4.0
License_URL: https://handbrake.fr/docs/license.html
---

View File

@ -8,7 +8,8 @@ Language_Code: en
Text_Encoding: utf-8
Authors: Bradley Sepos
Copyright: 2016 HandBrake Team
License: Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
License: Creative Commons Attribution-ShareAlike 4.0 International
License_Abbr: CC BY-SA 4.0
License_URL: https://handbrake.fr/docs/license.html
---

View File

@ -8,7 +8,8 @@ Language_Code: en
Text_Encoding: utf-8
Authors: Bradley Sepos
Copyright: 2016 HandBrake Team
License: Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
License: Creative Commons Attribution-ShareAlike 4.0 International
License_Abbr: CC BY-SA 4.0
License_URL: https://handbrake.fr/docs/license.html
---

View File

@ -8,7 +8,8 @@ Language_Code: en
Text_Encoding: utf-8
Authors: Bradley Sepos
Copyright: 2016 HandBrake Team
License: Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
License: Creative Commons Attribution-ShareAlike 4.0 International
License_Abbr: CC BY-SA 4.0
License_URL: https://handbrake.fr/docs/license.html
---

View File

@ -8,7 +8,8 @@ Language_Code: en
Text_Encoding: utf-8
Authors: Bradley Sepos
Copyright: 2016 HandBrake Team
License: Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
License: Creative Commons Attribution-ShareAlike 4.0 International
License_Abbr: CC BY-SA 4.0
License_URL: https://handbrake.fr/docs/license.html
---

View File

@ -8,7 +8,8 @@ Language_Code: en
Text_Encoding: utf-8
Authors: Bradley Sepos
Copyright: 2016 HandBrake Team
License: Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
License: Creative Commons Attribution-ShareAlike 4.0 International
License_Abbr: CC BY-SA 4.0
License_URL: https://handbrake.fr/docs/license.html
---

View File

@ -8,7 +8,8 @@ Language_Code: en
Text_Encoding: utf-8
Authors: Bradley Sepos
Copyright: 2016 HandBrake Team
License: Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
License: Creative Commons Attribution-ShareAlike 4.0 International
License_Abbr: CC BY-SA 4.0
License_URL: https://handbrake.fr/docs/license.html
---

View File

@ -8,7 +8,8 @@ Language_Code: en
Text_Encoding: utf-8
Authors: Bradley Sepos
Copyright: 2016 HandBrake Team
License: Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
License: Creative Commons Attribution-ShareAlike 4.0 International
License_Abbr: CC BY-SA 4.0
License_URL: https://handbrake.fr/docs/license.html
---

View File

@ -8,7 +8,8 @@ Language_Code: en
Text_Encoding: utf-8
Authors: Bradley Sepos
Copyright: 2016 HandBrake Team
License: Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
License: Creative Commons Attribution-ShareAlike 4.0 International
License_Abbr: CC BY-SA 4.0
License_URL: https://handbrake.fr/docs/license.html
---

View File

@ -8,7 +8,8 @@ Language_Code: en
Text_Encoding: utf-8
Authors: Bradley Sepos
Copyright: 2016 HandBrake Team
License: Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
License: Creative Commons Attribution-ShareAlike 4.0 International
License_Abbr: CC BY-SA 4.0
License_URL: https://handbrake.fr/docs/license.html
---

View File

@ -8,7 +8,8 @@ Language_Code: en
Text_Encoding: utf-8
Authors: Bradley Sepos
Copyright: 2016 HandBrake Team
License: Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
License: Creative Commons Attribution-ShareAlike 4.0 International
License_Abbr: CC BY-SA 4.0
License_URL: https://handbrake.fr/docs/license.html
---

View File

@ -17,7 +17,7 @@
{{ document.content }}
<footer>
<p><span class="authorship">This article is part of the <a href="{{ base.relpath }}" title="{{ meta.project }} Documentation">{{ meta.project }} Documentation</a> and was written by {{ meta.authors }}.</span> <span class="contributing">Join us on GitHub to contribute your thoughts and ideas, and to suggest any necessary corrections.</span></p>
<small class="copyright">Copyright {{ meta.copyright }}. Licensed under the <a href="{{ meta.license-url }}" title="License Summary">{{ meta.license }}</a>.</small>
<small class="copyright">Copyright {{ meta.copyright }}. <a href="{{ base.relpath }}license-summary.html" title="License Summary"><abbr title="{{ meta.license }}">{{ meta.license-abbr }}</abbr></a>.</small>
</footer>
</article>
</body>