rename bin/gen-top-html.sh, added archive/historic/index.html
We rename `bin/gen-top-md2html.sh` to `bin/gen-top-html.sh`. Modified the `bin/gen-top-html.sh` tool to build `archive/historic/index.html` from `archive/historic/README.md`. In `bin/gen-top-html.sh` changed VERSION from "1.1 2024-02-28" to "1.2 2024-02-29". Renamed `make gen_top_md2html` to `gen_top_html` in the top level `Makefile`. Improved `archive/historic/README.md`. Updated `robots.txt` to include the Sitemap directive. Moved unused `valid-html401.png` to `png/valid-html401.png`. This png image may be used later. Performed `make gen_top_html` which rebuilt all top level HTML files as well as `bin/index.html` and `inc/index.html`.
This commit is contained in:
1 parent
0f8a0a3af9
commit
fb43b1dfef
19 files changed
+319
-26
No files matched your search
@@ -10,7 +10,7 @@
|
||||
<!-- -->
|
||||
<!-- END: this line ends content from: inc/top.default.html -->
|
||||
<!-- -->
|
||||
<!-- The original markdown content was formed by the tool: bin/gen-top-md2html.sh -->
|
||||
<!-- The original markdown content was formed by the tool: bin/gen-top-html.sh -->
|
||||
<!-- The HTML was converted from markdown by the tool: bin/md2html.sh -->
|
||||
<!-- -->
|
||||
<!-- START: this line starts content from: inc/head.default.html -->
|
||||
|
||||
@@ -54,7 +54,7 @@ GEN_LOCATION= bin/gen-location.sh
|
||||
GEN_YEARS= bin/gen-years.sh
|
||||
GEN_YEAR_INDEX= bin/gen-year-index.sh
|
||||
CHK_ENTRY= bin/chk-entry.sh
|
||||
GEN_TOP_MD2HTML= bin/gen-top-md2html.sh
|
||||
GEN_TOP_HTML= bin/gen-top-html.sh
|
||||
GEN_OTHER_HTML= bin/gen-other-html.sh
|
||||
README2INDEX= bin/readme2index.sh
|
||||
QUICK_README2INDEX= bin/quick-readme2index.sh
|
||||
@@ -240,7 +240,7 @@ indent.c:
|
||||
# They might not even work (right now). :-)
|
||||
|
||||
.PHONY: help genpath genfilelist verify_entry_files gen_authors gen_location gen_years \
|
||||
entry_index gen_top_md2html gen_other_html quick_entry_index \
|
||||
entry_index gen_top_html gen_other_html quick_entry_index \
|
||||
form_entry_tarball form_year_tarball form_all_tarball \
|
||||
gen_year_index quick_www www tar
|
||||
|
||||
@@ -258,7 +258,7 @@ help:
|
||||
@echo make gen_location
|
||||
@echo make gen_years
|
||||
@echo make entry_index
|
||||
@echo make gen_top_md2html
|
||||
@echo make gen_top_html
|
||||
@echo make gen_other_html
|
||||
@echo make gen_year_index
|
||||
@echo make quick_entry_index
|
||||
@@ -352,9 +352,9 @@ entry_index readme2index: ${ALL_RUN} ${README2INDEX}
|
||||
|
||||
# generate a number of the top level HTML files from top level markdown files
|
||||
#
|
||||
gen_top_md2html: ${GEN_TOP_MD2HTML}
|
||||
gen_top_html: ${GEN_TOP_HTML}
|
||||
@echo '=-=-=-=-= IOCCC begin make $@ =-=-=-=-='
|
||||
${GEN_TOP_MD2HTML} -v 1
|
||||
${GEN_TOP_HTML} -v 1
|
||||
@echo '=-=-=-=-= IOCCC complete make $@ =-=-=-=-='
|
||||
|
||||
# generate build entry HTML files from markdown other than README.md to index.html HTML files
|
||||
@@ -435,7 +435,7 @@ quick_www:
|
||||
${MAKE} gen_location
|
||||
${MAKE} gen_years
|
||||
${MAKE} gen_year_index
|
||||
${MAKE} gen_top_md2html
|
||||
${MAKE} gen_top_html
|
||||
${MAKE} gen_other_html
|
||||
${MAKE} quick_entry_index
|
||||
@echo '=-=-=-=-= IOCCC complete make $@ =-=-=-=-='
|
||||
@@ -454,7 +454,7 @@ www:
|
||||
${MAKE} gen_location
|
||||
${MAKE} gen_years
|
||||
${MAKE} gen_year_index
|
||||
${MAKE} gen_top_md2html
|
||||
${MAKE} gen_top_html
|
||||
${MAKE} gen_other_html
|
||||
${MAKE} entry_index
|
||||
@echo '=-=-=-=-= IOCCC complete make $@ =-=-=-=-='
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@
|
||||
<!-- -->
|
||||
<!-- END: this line ends content from: inc/top.default.html -->
|
||||
<!-- -->
|
||||
<!-- The original markdown content was formed by the tool: bin/gen-top-md2html.sh -->
|
||||
<!-- The original markdown content was formed by the tool: bin/gen-top-html.sh -->
|
||||
<!-- The HTML was converted from markdown by the tool: bin/md2html.sh -->
|
||||
<!-- -->
|
||||
<!-- START: this line starts content from: inc/head.default.html -->
|
||||
|
||||
@@ -1,4 +1,48 @@
|
||||
# archive IOCCC winning source
|
||||
# Historic archive of IOCCC winning entries
|
||||
|
||||
|
||||
## Historic archives as bz2 compressed tarballs
|
||||
|
||||
**WARNING:** These historic archives contain lots of code that will no longer compile,
|
||||
contains lots of typos, has broken links, has missing files, and contains many programs that will not
|
||||
run in modern systems.
|
||||
<br><br>
|
||||
These archives provided for historic purposes and are
|
||||
**NOT RECOMMENDED** for casual viewing.
|
||||
<br><br>
|
||||
**Instead of using these archives, you should use the code from the** [Winning Entries](../../years.html) and related links.
|
||||
|
||||
* [archive-all.tar.bz2](archive-all.tar.bz2)
|
||||
* [archive-1984.tar.bz2](archive-1984.tar.bz2)
|
||||
* [archive-1985.tar.bz2](archive-1985.tar.bz2)
|
||||
* [archive-1986.tar.bz2](archive-1986.tar.bz2)
|
||||
* [archive-1987.tar.bz2](archive-1987.tar.bz2)
|
||||
* [archive-1988.tar.bz2](archive-1988.tar.bz2)
|
||||
* [archive-1989.tar.bz2](archive-1989.tar.bz2)
|
||||
* [archive-1990.tar.bz2](archive-1990.tar.bz2)
|
||||
* [archive-1991.tar.bz2](archive-1991.tar.bz2)
|
||||
* [archive-1992.tar.bz2](archive-1992.tar.bz2)
|
||||
* [archive-1993.tar.bz2](archive-1993.tar.bz2)
|
||||
* [archive-1994.tar.bz2](archive-1994.tar.bz2)
|
||||
* [archive-1995.tar.bz2](archive-1995.tar.bz2)
|
||||
* [archive-1996.tar.bz2](archive-1996.tar.bz2)
|
||||
* [archive-1998.tar.bz2](archive-1998.tar.bz2)
|
||||
* [archive-2000.tar.bz2](archive-2000.tar.bz2)
|
||||
* [archive-2001.tar.bz2](archive-2001.tar.bz2)
|
||||
* [archive-2004.tar.bz2](archive-2004.tar.bz2)
|
||||
* [archive-2005.tar.bz2](archive-2005.tar.bz2)
|
||||
* [archive-2006.tar.bz2](archive-2006.tar.bz2)
|
||||
* [archive-2011.tar.bz2](archive-2011.tar.bz2)
|
||||
* [archive-2012.tar.bz2](archive-2012.tar.bz2)
|
||||
* [archive-2013.tar.bz2](archive-2013.tar.bz2)
|
||||
* [archive-2014.tar.bz2](archive-2014.tar.bz2)
|
||||
* [archive-2015.tar.bz2](archive-2015.tar.bz2)
|
||||
* [archive-2018.tar.bz2](archive-2018.tar.bz2)
|
||||
* [archive-2019.tar.bz2](archive-2019.tar.bz2)
|
||||
* [archive-2020.tar.bz2](archive-2020.tar.bz2)
|
||||
|
||||
|
||||
## Notes on these archives
|
||||
|
||||
These zip2 compressed tarballs were preserved as an archive of the
|
||||
winning source code that was available on the [official IOCCC web
|
||||
@@ -30,6 +74,9 @@ tarballs as found in the [Internet Archive Wayback
|
||||
Machine](https://web.archive.org) as of [2022 Dec
|
||||
28)(https://web.archive.org/web/20201228005211/https://www.ioccc.org/).
|
||||
|
||||
|
||||
## How to unpack
|
||||
|
||||
*HINT*: To uncompress a given bzip2 compressed tarball file, use:
|
||||
|
||||
```sh
|
||||
|
||||
@@ -0,0 +1,221 @@
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<!-- START: two lines up starts content from: inc/top.default.html -->
|
||||
<!-- -->
|
||||
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
||||
<!-- !!! DO NOT MODIFY THIS FILE - This file is generated by a tool !!! -->
|
||||
<!-- !!! DO NOT MODIFY THIS FILE - This file is generated by a tool !!! -->
|
||||
<!-- !!! DO NOT MODIFY THIS FILE - This file is generated by a tool !!! -->
|
||||
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
||||
<!-- -->
|
||||
<!-- END: this line ends content from: inc/top.default.html -->
|
||||
<!-- -->
|
||||
<!-- The original markdown content was formed by the tool: bin/gen-top-html.sh -->
|
||||
<!-- The HTML was converted from markdown by the tool: bin/md2html.sh -->
|
||||
<!-- -->
|
||||
<!-- START: this line starts content from: inc/head.default.html -->
|
||||
|
||||
<head>
|
||||
<link rel="stylesheet" href="../../ioccc.css">
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
|
||||
<title>The International Obfuscated C Code Contest</title>
|
||||
<meta name="description" content="Historic archive of IOCCC winning entries">
|
||||
<meta name="keywords" content="IOCCC, archive, historic, historic archive, IOCCC archive">
|
||||
</head>
|
||||
|
||||
<!-- END: this line ends content from: inc/head.default.html -->
|
||||
<!-- START: this line starts content from: inc/body.default.html -->
|
||||
|
||||
<body>
|
||||
|
||||
<!-- END: this line ends content from: inc/body.default.html -->
|
||||
<!-- START: this line starts content from: inc/header.default.html -->
|
||||
|
||||
<div class="header">
|
||||
<img src="../../png/ioccc.png" alt="IOCCC image by Matt Zucker" width=300 height=110>
|
||||
<h1>The International Obfuscated C Code Contest</h1>
|
||||
<h2>Historic archive of IOCCC winning entries</h2>
|
||||
</div>
|
||||
|
||||
<!-- END: this line ends content from: inc/header.default.html -->
|
||||
<!-- START: this line starts content from: inc/begin-row.default.html -->
|
||||
|
||||
<div class="row">
|
||||
|
||||
<!-- END: this line ends content from: inc/begin-row.default.html -->
|
||||
<!-- START: this line starts content from: inc/begin-leftcolumn.default.html -->
|
||||
|
||||
<div class="leftcolumn">
|
||||
|
||||
<!-- END: this line ends content from: inc/begin-leftcolumn.default.html -->
|
||||
<!-- START: this line starts content from: inc/sidenav.default.html -->
|
||||
|
||||
<div class="sidenav">
|
||||
<a href="#content">Jump to contents</a>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="sidenav">
|
||||
<a href="../../index.html">IOCCC Home</a>
|
||||
<a href="../../years.html">Winning Entries</a>
|
||||
<a href="../../authors.html">People who have won</a>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="sidenav">
|
||||
<a href="../../news.html">IOCCC News</a>
|
||||
<a href="../../faq.html#submit">How to enter the IOCCC</a>
|
||||
<a href="../../faq.html">FAQ</a>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="sidenav">
|
||||
<a href="../../bugs.html">Bugs & (mis)features</a>
|
||||
<a href="../../faq.html#fix_an_entry">Fixing IOCCC entries</a>
|
||||
<a href="../../faq.html#fix_web_site">Fixing the web site</a>
|
||||
<a href="../../faq.html#fix_author">Fixing author info</a>
|
||||
<a href="../../thanks-for-help.html">Thanks for the help</a>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="sidenav">
|
||||
<a href="../../judges.html">The IOCCC Judges</a>
|
||||
<a href="../../contact.html">Contacting the IOCCC</a>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="sidenav">
|
||||
<a href="#top">Jump to top</a>
|
||||
</div>
|
||||
|
||||
<!-- END: this line ends content from: inc/sidenav.default.html -->
|
||||
<!-- START: this line starts content from: inc/end-leftcolumn.default.html -->
|
||||
|
||||
</div>
|
||||
|
||||
<!-- END: this line ends content from: inc/end-leftcolumn.default.html -->
|
||||
<!-- START: this line starts content from: inc/begin-rightcolumn.default.html -->
|
||||
|
||||
<div class="rightcolumn">
|
||||
|
||||
<!-- END: this line ends content from: inc/begin-rightcolumn.default.html -->
|
||||
<!-- START: this line starts content from: inc/before-content.default.html -->
|
||||
|
||||
<a name="content"></a>
|
||||
|
||||
<!-- END: this line ends content from: inc/before-content.default.html -->
|
||||
<!-- START: this line starts content for HTML phase 21 by: bin/pandoc-wrapper.sh via bin/md2html.sh -->
|
||||
|
||||
<h1 id="historic-archive-of-ioccc-winning-entries">Historic archive of
|
||||
IOCCC winning entries</h1>
|
||||
<h2 id="historic-archives-as-bz2-compressed-tarballs">Historic archives
|
||||
as bz2 compressed tarballs</h2>
|
||||
<p><strong>WARNING:</strong> These historic archives contain lots of
|
||||
code that will no longer compile, contains lots of typos, has broken
|
||||
links, has missing files, and contains many programs that will not run
|
||||
in modern systems. <br><br> These archives provided for historic
|
||||
purposes and are <strong>NOT RECOMMENDED</strong> for casual viewing.
|
||||
<br><br> <strong>Instead of using these archives, you should use the
|
||||
code from the</strong> <a href="../../years.html">Winning Entries</a>
|
||||
and related links.</p>
|
||||
<ul>
|
||||
<li><a href="archive-all.tar.bz2">archive-all.tar.bz2</a></li>
|
||||
<li><a href="archive-1984.tar.bz2">archive-1984.tar.bz2</a></li>
|
||||
<li><a href="archive-1985.tar.bz2">archive-1985.tar.bz2</a></li>
|
||||
<li><a href="archive-1986.tar.bz2">archive-1986.tar.bz2</a></li>
|
||||
<li><a href="archive-1987.tar.bz2">archive-1987.tar.bz2</a></li>
|
||||
<li><a href="archive-1988.tar.bz2">archive-1988.tar.bz2</a></li>
|
||||
<li><a href="archive-1989.tar.bz2">archive-1989.tar.bz2</a></li>
|
||||
<li><a href="archive-1990.tar.bz2">archive-1990.tar.bz2</a></li>
|
||||
<li><a href="archive-1991.tar.bz2">archive-1991.tar.bz2</a></li>
|
||||
<li><a href="archive-1992.tar.bz2">archive-1992.tar.bz2</a></li>
|
||||
<li><a href="archive-1993.tar.bz2">archive-1993.tar.bz2</a></li>
|
||||
<li><a href="archive-1994.tar.bz2">archive-1994.tar.bz2</a></li>
|
||||
<li><a href="archive-1995.tar.bz2">archive-1995.tar.bz2</a></li>
|
||||
<li><a href="archive-1996.tar.bz2">archive-1996.tar.bz2</a></li>
|
||||
<li><a href="archive-1998.tar.bz2">archive-1998.tar.bz2</a></li>
|
||||
<li><a href="archive-2000.tar.bz2">archive-2000.tar.bz2</a></li>
|
||||
<li><a href="archive-2001.tar.bz2">archive-2001.tar.bz2</a></li>
|
||||
<li><a href="archive-2004.tar.bz2">archive-2004.tar.bz2</a></li>
|
||||
<li><a href="archive-2005.tar.bz2">archive-2005.tar.bz2</a></li>
|
||||
<li><a href="archive-2006.tar.bz2">archive-2006.tar.bz2</a></li>
|
||||
<li><a href="archive-2011.tar.bz2">archive-2011.tar.bz2</a></li>
|
||||
<li><a href="archive-2012.tar.bz2">archive-2012.tar.bz2</a></li>
|
||||
<li><a href="archive-2013.tar.bz2">archive-2013.tar.bz2</a></li>
|
||||
<li><a href="archive-2014.tar.bz2">archive-2014.tar.bz2</a></li>
|
||||
<li><a href="archive-2015.tar.bz2">archive-2015.tar.bz2</a></li>
|
||||
<li><a href="archive-2018.tar.bz2">archive-2018.tar.bz2</a></li>
|
||||
<li><a href="archive-2019.tar.bz2">archive-2019.tar.bz2</a></li>
|
||||
<li><a href="archive-2020.tar.bz2">archive-2020.tar.bz2</a></li>
|
||||
</ul>
|
||||
<h2 id="notes-on-these-archives">Notes on these archives</h2>
|
||||
<p>These zip2 compressed tarballs were preserved as an archive of the
|
||||
winning source code that was available on the <a
|
||||
href="https://www.ioccc.org">official IOCCC web site</a> as of 2020 Dec
|
||||
28. These zip2 compressed tarballs represent the “<em>released</em>”
|
||||
IOCCC winning source, as modified by the IOCCC judges and winning
|
||||
authors as of <a
|
||||
href="https://web.archive.org/web/20201228005211/https://www.ioccc.org/">2020
|
||||
Dec 28</a>.</p>
|
||||
<p>You might wish to note that the <a
|
||||
href="/archive/historic/archive-all.tar.bz2">archive/historic/archive-all.tar.bz2</a>
|
||||
file found in this archive produces a somewhat newer version of the
|
||||
released IOCCC source for 1984, 1985, 1986 and 1987 in that the winners
|
||||
for those years were still found in single year directories. Thus the <a
|
||||
href="/archive/historic/archive-1984.tar.bz2">archive/historic/archive-1984.tar.bz2</a>,
|
||||
<a
|
||||
href="/archive/historic/archive-1985.tar.bz2">archive/historic/archive-1985.tar.bz2</a>,
|
||||
<a
|
||||
href="/archive/historic/archive-1986.tar.bz2">archive/historic/archive-1986.tar.bz2</a>,
|
||||
<a
|
||||
href="/archive/historic/archive-1987.tar.bz2">archive/historic/archive-1987.tar.bz2</a>,
|
||||
zip2 compressed tarballs represent a somewhat earlier form of the
|
||||
“<em>released</em>” IOCCC winning source for those years. This a
|
||||
somewhat earlier set of IOCCC winning source may be found in the
|
||||
archive/archive-YYYY.tar.bz2 files.</p>
|
||||
<p>In addition the <code>archive/archive-all.tar.bz2</code> file has a
|
||||
slightly newer version of the 2011 rules and guidelines. as well as a
|
||||
newer version of 2012/tromp hint files.</p>
|
||||
<p>For your convenience we keep an archive of the zip2 compressed
|
||||
tarballs as found in the <a href="https://web.archive.org">Internet
|
||||
Archive Wayback Machine</a> as of [2022 Dec
|
||||
28)(https://web.archive.org/web/20201228005211/https://www.ioccc.org/).</p>
|
||||
<h2 id="how-to-unpack">How to unpack</h2>
|
||||
<p><em>HINT</em>: To uncompress a given bzip2 compressed tarball file,
|
||||
use:</p>
|
||||
<div class="sourceCode" id="cb1"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="fu">tar</span> <span class="at">-jxvf</span> file.tar.bz2</span></code></pre></div>
|
||||
<p>where “<em>file.tar.bz2</em>” is the name of a file found in this
|
||||
directory.</p>
|
||||
<p>To uncompress all of the 2022 Dec 28 archive using the year based
|
||||
bzip2 compressed tarball files:</p>
|
||||
<div class="sourceCode" id="cb2"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="cf">for</span> year <span class="kw">in</span> 198<span class="dt">{4</span><span class="op">,</span><span class="dt">5</span><span class="op">,</span><span class="dt">6</span><span class="op">,</span><span class="dt">7</span><span class="op">,</span><span class="dt">8</span><span class="op">,</span><span class="dt">9}</span> 199<span class="dt">{0</span><span class="op">,</span><span class="dt">1</span><span class="op">,</span><span class="dt">2</span><span class="op">,</span><span class="dt">3</span><span class="op">,</span><span class="dt">4</span><span class="op">,</span><span class="dt">5</span><span class="op">,</span><span class="dt">6</span><span class="op">,</span><span class="dt">8}</span> 200<span class="dt">{0</span><span class="op">,</span><span class="dt">1</span><span class="op">,</span><span class="dt">4</span><span class="op">,</span><span class="dt">5</span><span class="op">,</span><span class="dt">6}</span> 201<span class="dt">{1</span><span class="op">,</span><span class="dt">2</span><span class="op">,</span><span class="dt">3</span><span class="op">,</span><span class="dt">4</span><span class="op">,</span><span class="dt">5</span><span class="op">,</span><span class="dt">8</span><span class="op">,</span><span class="dt">9}</span> 2020<span class="kw">;</span> <span class="cf">do</span></span>
|
||||
<span id="cb2-2"><a href="#cb2-2" aria-hidden="true" tabindex="-1"></a> <span class="fu">rm</span> <span class="at">-rf</span> <span class="st">"</span><span class="va">$year</span><span class="st">"</span></span>
|
||||
<span id="cb2-3"><a href="#cb2-3" aria-hidden="true" tabindex="-1"></a> <span class="fu">tar</span> <span class="at">-jxvf</span> <span class="st">"archive-</span><span class="va">$year</span><span class="st">.tar.bz2"</span></span>
|
||||
<span id="cb2-4"><a href="#cb2-4" aria-hidden="true" tabindex="-1"></a><span class="cf">done</span></span></code></pre></div>
|
||||
|
||||
<!-- END: this line ends content for HTML phase 21 by: bin/pandoc-wrapper.sh via bin/md2html.sh -->
|
||||
<!-- START: this line starts content from: inc/after-content.default.html -->
|
||||
|
||||
<!-- END: this line ends content from: inc/after-content.default.html -->
|
||||
<!-- START: this line starts content from: inc/end-rightcolumn.default.html -->
|
||||
|
||||
</div>
|
||||
|
||||
<!-- END: this line ends content from: inc/end-rightcolumn.default.html -->
|
||||
<!-- START: this line starts content from: inc/end-row.default.html -->
|
||||
|
||||
</div>
|
||||
|
||||
<!-- END: this line ends content from: inc/end-row.default.html -->
|
||||
<!-- START: this line starts content from: inc/footer.default.html -->
|
||||
|
||||
<div class="footer">
|
||||
<hr>
|
||||
<h2>Coda</h2>
|
||||
<p><a href="https://validator.w3.org/nu/?doc=https%3A%2F%2Fioccc-src.github.io%2Ftemp-test-ioccc%2Flocation.html">Nu HTML check this web page</a></p>
|
||||
<p><a href="#top">Jump to top</a> <a href="#content">Jump to Content</a> <a href="#inventory">Jump to Inventory</a></p>
|
||||
</div>
|
||||
|
||||
<!-- END: this line ends content from: inc/footer.default.html -->
|
||||
<!-- START: this line starts content from: inc/bottom.default.html -->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<!-- END: this line ends content from: inc/bottom.default.html -->
|
||||
+2
-2
@@ -102,14 +102,14 @@ bin/gen-other-html.sh -v 1
|
||||
```
|
||||
|
||||
|
||||
### [gen-top-md2html.sh](gen-top-md2html.sh)
|
||||
### [gen-top-html.sh](gen-top-html.sh)
|
||||
|
||||
Generate a number of top level HTML pages for the IOCCC web sites.
|
||||
|
||||
Usage:
|
||||
|
||||
```sh
|
||||
bin/gen-top-md2html.sh -v 1
|
||||
bin/gen-top-html.sh -v 1
|
||||
```
|
||||
|
||||
Examples of top level HTML pages built by this tool include:
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
# gen-top-md2html.sh - generate select top level HTML files from markdown files
|
||||
# gen-top-html.sh - generate select top level HTML files from markdown files
|
||||
#
|
||||
# We also generate the bin/index.html file from the bin/README.md file.
|
||||
# We also generate the inc/index.html file from the inc/README.md file.
|
||||
# We also generate the archive/historic/index.html file from the archive/historic/README.md file.
|
||||
#
|
||||
# Copyright (c) 2024 by Landon Curt Noll. All Rights Reserved.
|
||||
#
|
||||
@@ -52,7 +54,7 @@ TOP_MD_SET+=("faq")
|
||||
|
||||
# set variables referenced in the usage message
|
||||
#
|
||||
export VERSION="1.1 2024-02-28"
|
||||
export VERSION="1.2 2024-02-29"
|
||||
NAME=$(basename "$0")
|
||||
export NAME
|
||||
export V_FLAG=0
|
||||
@@ -78,6 +80,7 @@ export SITE_URL="https://ioccc-src.github.io/temp-test-ioccc"
|
||||
unset TOP_MD_SET
|
||||
TOP_MD_SET+=("CODE_OF_CONDUCT")
|
||||
TOP_MD_SET+=("README")
|
||||
TOP_MD_SET+=("archive/historic/README")
|
||||
TOP_MD_SET+=("bin/README")
|
||||
TOP_MD_SET+=("bugs")
|
||||
TOP_MD_SET+=("contact")
|
||||
@@ -445,6 +448,10 @@ for name in "${TOP_MD_SET[@]}"; do
|
||||
if [[ $name == inc/README ]]; then
|
||||
HTML_FILE="inc/index.html"
|
||||
fi
|
||||
# archive/historic/README is a special case
|
||||
if [[ $name == archive/historic/README ]]; then
|
||||
HTML_FILE="archive/historic/index.html"
|
||||
fi
|
||||
|
||||
# use the md2html.sh tool to form the HTML file, unless -n
|
||||
#
|
||||
+4
-4
@@ -10,7 +10,7 @@
|
||||
<!-- -->
|
||||
<!-- END: this line ends content from: inc/top.default.html -->
|
||||
<!-- -->
|
||||
<!-- The original markdown content was formed by the tool: bin/gen-top-md2html.sh -->
|
||||
<!-- The original markdown content was formed by the tool: bin/gen-top-html.sh -->
|
||||
<!-- The HTML was converted from markdown by the tool: bin/md2html.sh -->
|
||||
<!-- -->
|
||||
<!-- START: this line starts content from: inc/head.default.html -->
|
||||
@@ -150,13 +150,13 @@ href="gen-other-html.sh">gen-other-html.sh</a></h3>
|
||||
index.html HTML files.</p>
|
||||
<p>Usage:</p>
|
||||
<div class="sourceCode" id="cb9"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb9-1"><a href="#cb9-1" aria-hidden="true" tabindex="-1"></a><span class="ex">bin/gen-other-html.sh</span> <span class="at">-v</span> 1</span></code></pre></div>
|
||||
<h3 id="gen-top-md2html.sh"><a
|
||||
href="gen-top-md2html.sh">gen-top-md2html.sh</a></h3>
|
||||
<h3 id="gen-top-html.sh"><a
|
||||
href="gen-top-html.sh">gen-top-html.sh</a></h3>
|
||||
<p>Generate a number of top level HTML pages for the IOCCC web
|
||||
sites.</p>
|
||||
<p>Usage:</p>
|
||||
<div class="sourceCode" id="cb10"><pre
|
||||
class="sourceCode sh"><code class="sourceCode bash"><span id="cb10-1"><a href="#cb10-1" aria-hidden="true" tabindex="-1"></a><span class="ex">bin/gen-top-md2html.sh</span> <span class="at">-v</span> 1</span></code></pre></div>
|
||||
class="sourceCode sh"><code class="sourceCode bash"><span id="cb10-1"><a href="#cb10-1" aria-hidden="true" tabindex="-1"></a><span class="ex">bin/gen-top-html.sh</span> <span class="at">-v</span> 1</span></code></pre></div>
|
||||
<p>Examples of top level HTML pages built by this tool include:</p>
|
||||
<ul>
|
||||
<li><a href="CODE_OF_CONDUCT.html">CODE_OF_CONDUCT.html</a></li>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<!-- -->
|
||||
<!-- END: this line ends content from: inc/top.default.html -->
|
||||
<!-- -->
|
||||
<!-- The original markdown content was formed by the tool: bin/gen-top-md2html.sh -->
|
||||
<!-- The original markdown content was formed by the tool: bin/gen-top-html.sh -->
|
||||
<!-- The HTML was converted from markdown by the tool: bin/md2html.sh -->
|
||||
<!-- -->
|
||||
<!-- START: this line starts content from: inc/head.default.html -->
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@
|
||||
<!-- -->
|
||||
<!-- END: this line ends content from: inc/top.default.html -->
|
||||
<!-- -->
|
||||
<!-- The original markdown content was formed by the tool: bin/gen-top-md2html.sh -->
|
||||
<!-- The original markdown content was formed by the tool: bin/gen-top-html.sh -->
|
||||
<!-- The HTML was converted from markdown by the tool: bin/md2html.sh -->
|
||||
<!-- -->
|
||||
<!-- START: this line starts content from: inc/head.default.html -->
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<!-- -->
|
||||
<!-- END: this line ends content from: inc/top.default.html -->
|
||||
<!-- -->
|
||||
<!-- The original markdown content was formed by the tool: bin/gen-top-md2html.sh -->
|
||||
<!-- The original markdown content was formed by the tool: bin/gen-top-html.sh -->
|
||||
<!-- The HTML was converted from markdown by the tool: bin/md2html.sh -->
|
||||
<!-- -->
|
||||
<!-- START: this line starts content from: inc/head.default.html -->
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@
|
||||
<!-- -->
|
||||
<!-- END: this line ends content from: inc/top.default.html -->
|
||||
<!-- -->
|
||||
<!-- The original markdown content was formed by the tool: bin/gen-top-md2html.sh -->
|
||||
<!-- The original markdown content was formed by the tool: bin/gen-top-html.sh -->
|
||||
<!-- The HTML was converted from markdown by the tool: bin/md2html.sh -->
|
||||
<!-- -->
|
||||
<!-- START: this line starts content from: inc/head.default.html -->
|
||||
|
||||
@@ -259,6 +259,22 @@ years.md
|
||||
-D
|
||||
./
|
||||
|
||||
archive/historic/README.md
|
||||
-H
|
||||
topnav=.
|
||||
-o
|
||||
bin/subst.default.sh
|
||||
-s
|
||||
TITLE=The International Obfuscated C Code Contest
|
||||
-s
|
||||
DESCRIPTION=Historic archive of IOCCC winning entries
|
||||
-s
|
||||
KEYWORDS=IOCCC, archive, historic, historic archive, IOCCC archive
|
||||
-s
|
||||
HEADER_2=Historic archive of IOCCC winning entries
|
||||
-D
|
||||
../../
|
||||
|
||||
bin/README.md
|
||||
-H
|
||||
topnav=.
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@
|
||||
<!-- -->
|
||||
<!-- END: this line ends content from: inc/top.default.html -->
|
||||
<!-- -->
|
||||
<!-- The original markdown content was formed by the tool: bin/gen-top-md2html.sh -->
|
||||
<!-- The original markdown content was formed by the tool: bin/gen-top-html.sh -->
|
||||
<!-- The HTML was converted from markdown by the tool: bin/md2html.sh -->
|
||||
<!-- -->
|
||||
<!-- START: this line starts content from: inc/head.default.html -->
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@
|
||||
<!-- -->
|
||||
<!-- END: this line ends content from: inc/top.default.html -->
|
||||
<!-- -->
|
||||
<!-- The original markdown content was formed by the tool: bin/gen-top-md2html.sh -->
|
||||
<!-- The original markdown content was formed by the tool: bin/gen-top-html.sh -->
|
||||
<!-- The HTML was converted from markdown by the tool: bin/md2html.sh -->
|
||||
<!-- -->
|
||||
<!-- START: this line starts content from: inc/head.default.html -->
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<!-- -->
|
||||
<!-- END: this line ends content from: inc/top.default.html -->
|
||||
<!-- -->
|
||||
<!-- The original markdown content was formed by the tool: bin/gen-top-md2html.sh -->
|
||||
<!-- The original markdown content was formed by the tool: bin/gen-top-html.sh -->
|
||||
<!-- The HTML was converted from markdown by the tool: bin/md2html.sh -->
|
||||
<!-- -->
|
||||
<!-- START: this line starts content from: inc/head.default.html -->
|
||||
|
||||
File renamed without changes.
@@ -1 +1,3 @@
|
||||
User-Agent: *
|
||||
Allow: /
|
||||
Sitemap: https://www.ioccc.org/sitemap.xml
|
||||
@@ -10,7 +10,7 @@
|
||||
<!-- -->
|
||||
<!-- END: this line ends content from: inc/top.default.html -->
|
||||
<!-- -->
|
||||
<!-- The original markdown content was formed by the tool: bin/gen-top-md2html.sh -->
|
||||
<!-- The original markdown content was formed by the tool: bin/gen-top-html.sh -->
|
||||
<!-- The HTML was converted from markdown by the tool: bin/md2html.sh -->
|
||||
<!-- -->
|
||||
<!-- START: this line starts content from: inc/head.default.html -->
|
||||
|
||||
Reference in new issue
Block a user