Skip to content

Commit 0696757

Browse files
committed
fix links under inc/
1 parent b4f5983 commit 0696757

File tree

3 files changed

+41
-41
lines changed

3 files changed

+41
-41
lines changed

bin/README.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The [bin directory](index.html) holds tools that build files, such as HTML conte
99
[official IOCCC website](https://www.ioccc.org).
1010

1111
For HTML content, the [bin directory](index.html) tools make use of HTML
12-
fragments from the [inc directory](../inc/index.html) as well as various JSON
12+
fragments from the [inc directory](%%REPO_URL%%/inc/index.html) as well as various JSON
1313
files and other content from the [official IOCCC winner repo](https://github.com/ioccc-src/winner).
1414

1515

@@ -676,7 +676,7 @@ Examples of top level HTML pages built by this tool include:
676676
- [bugs.html](../bugs.html)
677677
- [contact.html](../contact.html)
678678
- [faq.html](../faq.html)
679-
- [inc/index.html](../inc/index.html)
679+
- [inc/index.html](%%REPO_URL%%/inc/index.html)
680680
- [index.html](../index.html)
681681
- [judges.html](../judges.html)
682682
- [news.html](../news.html)
@@ -882,7 +882,7 @@ became a favourite saying of his later, and passed into a proverb.
882882

883883
This is the primary tool that forms IOCCC generated HTML content from
884884
markdown files (permanent markdown files or temporarily generated
885-
markdown files) and HTML fragments from the [inc directory](../inc/index.html).
885+
markdown files) and HTML fragments from the [inc directory](%%REPO_URL%%/inc/index.html).
886886

887887
The [md2html.cfg](index.html#md2html_cfg) configuration file is
888888
used by [md2html.sh](%%REPO_URL%%/bin/md2html.sh) to drive the generation process.
@@ -1274,15 +1274,15 @@ is used to form all IOCCC related HTML pages for the
12741274

12751275
Nearly all IOCCC related HTML pages are built from markdown files,
12761276
from either permanent markdown files or temporary generated markdown files,
1277-
as well as HTML fragments from the [inc directory](../inc/index.html).
1277+
as well as HTML fragments from the [inc directory](%%REPO_URL%%/inc/index.html).
12781278

12791279
Most HTML content is built from permanent markdown files, such as a `README.md`
12801280
markdown file found in each entry directory. Some HTML content are generated
12811281
from temporary markdown files. These temporary markdown files are produced by
12821282
tools in the [bin directory](index.html) and exist only while the tool is running.
12831283

12841284
In addition to converting markdown to HTML, the canonical way that HTML content is
1285-
built uses, by default, files from the [inc directory](../inc/index.html), of
1285+
built uses, by default, files from the [inc directory](%%REPO_URL%%/inc/index.html), of
12861286
the file name form:
12871287

12881288
```
@@ -1302,8 +1302,8 @@ a non-default file may be used. For example:
13021302
-H navbar=up2index
13031303
```
13041304

1305-
will cause [inc/navbar.up2index.html](../inc/navbar.up2index.html)
1306-
instead of [inc/navbar.default.html](../inc/navbar.default.html) to be
1305+
will cause [inc/navbar.up2index.html](%%REPO_URL%%/inc/navbar.up2index.html)
1306+
instead of [inc/navbar.default.html](%%REPO_URL%%/inc/navbar.default.html) to be
13071307
used during the _navbar_ HTML phase.
13081308

13091309
If `name` is dot (i.e., `.`), then the given HTML phase is skipped.
@@ -1322,13 +1322,13 @@ will cause no HTML content to be produced during the `footer` HTML phase.
13221322

13231323
The following HTML phase files are used to build HTML content:
13241324

1325-
0. [inc/top.default.html](../inc/top.default.html)
1326-
1. [inc/head.default.html](../inc/head.default.html)
1327-
2. [inc/body.default.html](../inc/body.default.html)
1328-
3. [inc/topbar.default.html](../inc/topbar.default.html)
1329-
4. [inc/header.default.html](../inc/header.default.html)
1330-
5. [inc/navbar.default.html](../inc/navbar.default.html)
1331-
6. [inc/before-content.default.html](../inc/before-content.default.html)
1325+
0. [inc/top.default.html](%%REPO_URL%%/inc/top.default.html)
1326+
1. [inc/head.default.html](%%REPO_URL%%/inc/head.default.html)
1327+
2. [inc/body.default.html](%%REPO_URL%%/inc/body.default.html)
1328+
3. [inc/topbar.default.html](%%REPO_URL%%/inc/topbar.default.html)
1329+
4. [inc/header.default.html](%%REPO_URL%%/inc/header.default.html)
1330+
5. [inc/navbar.default.html](%%REPO_URL%%/inc/navbar.default.html)
1331+
6. [inc/before-content.default.html](%%REPO_URL%%/inc/before-content.default.html)
13321332

13331333
Phases 7-19 are reserved for future use.
13341334

@@ -1338,9 +1338,9 @@ Phases 7-19 are reserved for future use.
13381338

13391339
Phases 23-29 are reserved for future use.
13401340

1341-
30. [inc/after-content.default.html](../inc/after-content.default.html)
1342-
31. [inc/footer.default.html](../inc/footer.default.html)
1343-
32. [inc/bottom.default.html](../inc/bottom.default.html)
1341+
30. [inc/after-content.default.html](%%REPO_URL%%/inc/after-content.default.html)
1342+
31. [inc/footer.default.html](%%REPO_URL%%/inc/footer.default.html)
1343+
32. [inc/bottom.default.html](%%REPO_URL%%/inc/bottom.default.html)
13441344

13451345
Phases 33-39 are reserved for future use.
13461346

@@ -1524,7 +1524,7 @@ how such command lines are used.
15241524
Some of the files under this directory are used to form **MOST** of the HTML content
15251525
on the [official IOCCC website](https://www.ioccc.org).
15261526

1527-
... and in particular files under [inc](../inc/index.html) that are of the form
1527+
... and in particular files under [inc](%%REPO_URL%%/inc/index.html) that are of the form
15281528
(called default HTML files) ...:
15291529

15301530
```

bin/index.html

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ <h1 id="bin">bin</h1>
461461
<p>The <a href="index.html">bin directory</a> holds tools that build files, such as HTML content, for the
462462
<a href="https://www.ioccc.org">official IOCCC website</a>.</p>
463463
<p>For HTML content, the <a href="index.html">bin directory</a> tools make use of HTML
464-
fragments from the <a href="../inc/index.html">inc directory</a> as well as various JSON
464+
fragments from the <a href="https://github.com/ioccc-src/winner/blob/master/inc/index.html">inc directory</a> as well as various JSON
465465
files and other content from the <a href="https://github.com/ioccc-src/winner">official IOCCC winner repo</a>.</p>
466466
<h2 id="bin-tools-options"><a href="index.html">bin/</a> tools options</h2>
467467
<p>With the exception of the <code>awk(1)</code> and <code>sed(1)</code> scripts, all the tools in this
@@ -844,7 +844,7 @@ <h3 id="gen-top-html.sh"><a href="https://github.com/ioccc-src/winner/blob/maste
844844
<li><a href="../bugs.html">bugs.html</a></li>
845845
<li><a href="../contact.html">contact.html</a></li>
846846
<li><a href="../faq.html">faq.html</a></li>
847-
<li><a href="../inc/index.html">inc/index.html</a></li>
847+
<li><a href="https://github.com/ioccc-src/winner/blob/master/inc/index.html">inc/index.html</a></li>
848848
<li><a href="../index.html">index.html</a></li>
849849
<li><a href="../judges.html">judges.html</a></li>
850850
<li><a href="../news.html">news.html</a></li>
@@ -972,7 +972,7 @@ <h3 id="md2html.sh"><a href="https://github.com/ioccc-src/winner/blob/master/bin
972972
</div>
973973
<p>This is the primary tool that forms IOCCC generated HTML content from
974974
markdown files (permanent markdown files or temporarily generated
975-
markdown files) and HTML fragments from the <a href="../inc/index.html">inc directory</a>.</p>
975+
markdown files) and HTML fragments from the <a href="https://github.com/ioccc-src/winner/blob/master/inc/index.html">inc directory</a>.</p>
976976
<p>The <a href="index.html#md2html_cfg">md2html.cfg</a> configuration file is
977977
used by <a href="https://github.com/ioccc-src/winner/blob/master/bin/md2html.sh">md2html.sh</a> to drive the generation process.</p>
978978
<div id="new-dir">
@@ -1180,22 +1180,22 @@ <h1 id="how-ioccc-html-content-is-built">How IOCCC HTML content is built</h1>
11801180
<a href="https://www.ioccc.org">official IOCCC website</a>.</p>
11811181
<p>Nearly all IOCCC related HTML pages are built from markdown files,
11821182
from either permanent markdown files or temporary generated markdown files,
1183-
as well as HTML fragments from the <a href="../inc/index.html">inc directory</a>.</p>
1183+
as well as HTML fragments from the <a href="https://github.com/ioccc-src/winner/blob/master/inc/index.html">inc directory</a>.</p>
11841184
<p>Most HTML content is built from permanent markdown files, such as a <code>README.md</code>
11851185
markdown file found in each entry directory. Some HTML content are generated
11861186
from temporary markdown files. These temporary markdown files are produced by
11871187
tools in the <a href="index.html">bin directory</a> and exist only while the tool is running.</p>
11881188
<p>In addition to converting markdown to HTML, the canonical way that HTML content is
1189-
built uses, by default, files from the <a href="../inc/index.html">inc directory</a>, of
1189+
built uses, by default, files from the <a href="https://github.com/ioccc-src/winner/blob/master/inc/index.html">inc directory</a>, of
11901190
the file name form:</p>
11911191
<pre><code> *.default.html</code></pre>
11921192
<p>By using command line options of the form:</p>
11931193
<pre><code> -H phase=name</code></pre>
11941194
<p>where <code>phase</code> is the name of an HTML phase,
11951195
a non-default file may be used. For example:</p>
11961196
<pre><code> -H navbar=up2index</code></pre>
1197-
<p>will cause <a href="../inc/navbar.up2index.html">inc/navbar.up2index.html</a>
1198-
instead of <a href="../inc/navbar.default.html">inc/navbar.default.html</a> to be
1197+
<p>will cause <a href="https://github.com/ioccc-src/winner/blob/master/inc/navbar.up2index.html">inc/navbar.up2index.html</a>
1198+
instead of <a href="https://github.com/ioccc-src/winner/blob/master/inc/navbar.default.html">inc/navbar.default.html</a> to be
11991199
used during the <em>navbar</em> HTML phase.</p>
12001200
<p>If <code>name</code> is dot (i.e., <code>.</code>), then the given HTML phase is skipped.
12011201
For example:</p>
@@ -1206,13 +1206,13 @@ <h2 id="html-phases">HTML phases</h2>
12061206
</div>
12071207
<p>The following HTML phase files are used to build HTML content:</p>
12081208
<ol start="0" type="1">
1209-
<li><a href="../inc/top.default.html">inc/top.default.html</a></li>
1210-
<li><a href="../inc/head.default.html">inc/head.default.html</a></li>
1211-
<li><a href="../inc/body.default.html">inc/body.default.html</a></li>
1212-
<li><a href="../inc/topbar.default.html">inc/topbar.default.html</a></li>
1213-
<li><a href="../inc/header.default.html">inc/header.default.html</a></li>
1214-
<li><a href="../inc/navbar.default.html">inc/navbar.default.html</a></li>
1215-
<li><a href="../inc/before-content.default.html">inc/before-content.default.html</a></li>
1209+
<li><a href="https://github.com/ioccc-src/winner/blob/master/inc/top.default.html">inc/top.default.html</a></li>
1210+
<li><a href="https://github.com/ioccc-src/winner/blob/master/inc/head.default.html">inc/head.default.html</a></li>
1211+
<li><a href="https://github.com/ioccc-src/winner/blob/master/inc/body.default.html">inc/body.default.html</a></li>
1212+
<li><a href="https://github.com/ioccc-src/winner/blob/master/inc/topbar.default.html">inc/topbar.default.html</a></li>
1213+
<li><a href="https://github.com/ioccc-src/winner/blob/master/inc/header.default.html">inc/header.default.html</a></li>
1214+
<li><a href="https://github.com/ioccc-src/winner/blob/master/inc/navbar.default.html">inc/navbar.default.html</a></li>
1215+
<li><a href="https://github.com/ioccc-src/winner/blob/master/inc/before-content.default.html">inc/before-content.default.html</a></li>
12161216
</ol>
12171217
<p>Phases 7-19 are reserved for future use.</p>
12181218
<ol start="20" type="1">
@@ -1222,9 +1222,9 @@ <h2 id="html-phases">HTML phases</h2>
12221222
</ol>
12231223
<p>Phases 23-29 are reserved for future use.</p>
12241224
<ol start="30" type="1">
1225-
<li><a href="../inc/after-content.default.html">inc/after-content.default.html</a></li>
1226-
<li><a href="../inc/footer.default.html">inc/footer.default.html</a></li>
1227-
<li><a href="../inc/bottom.default.html">inc/bottom.default.html</a></li>
1225+
<li><a href="https://github.com/ioccc-src/winner/blob/master/inc/after-content.default.html">inc/after-content.default.html</a></li>
1226+
<li><a href="https://github.com/ioccc-src/winner/blob/master/inc/footer.default.html">inc/footer.default.html</a></li>
1227+
<li><a href="https://github.com/ioccc-src/winner/blob/master/inc/bottom.default.html">inc/bottom.default.html</a></li>
12281228
</ol>
12291229
<p>Phases 33-39 are reserved for future use.</p>
12301230
<p>In all of the above HTML phase numbers, symbols of the form <code>%%TOKEN%%</code> are
@@ -1335,7 +1335,7 @@ <h3 id="substitution-tokens">Substitution tokens</h3>
13351335
<h1 id="use-caution-when-modifying-inc-files">Use CAUTION when modifying <code>inc/</code> files</h1>
13361336
<p>Some of the files under this directory are used to form <strong>MOST</strong> of the HTML content
13371337
on the <a href="https://www.ioccc.org">official IOCCC website</a>.</p>
1338-
<p>… and in particular files under <a href="../inc/index.html">inc</a> that are of the form
1338+
<p>… and in particular files under <a href="https://github.com/ioccc-src/winner/blob/master/inc/index.html">inc</a> that are of the form
13391339
(called default HTML files) …:</p>
13401340
<pre><code> *.default.html</code></pre>
13411341
<p>… contain default content used to form IOCCC HTML / IOCCC web pages.</p>

sitemap.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16598,11 +16598,11 @@
1659816598
</url>
1659916599
<url>
1660016600
<loc>https://www.ioccc.org/bin/index.html</loc>
16601-
<lastmod>2025-07-26T18:35:03+00:00</lastmod>
16601+
<lastmod>2025-08-25T04:22:15+00:00</lastmod>
1660216602
</url>
1660316603
<url>
1660416604
<loc>https://www.ioccc.org/bin/index.html</loc>
16605-
<lastmod>2025-07-26T18:35:03+00:00</lastmod>
16605+
<lastmod>2025-08-25T04:22:15+00:00</lastmod>
1660616606
</url>
1660716607
<url>
1660816608
<loc>https://www.ioccc.org/bin/jfmt-wrapper.sh</loc>
@@ -16670,11 +16670,11 @@
1667016670
</url>
1667116671
<url>
1667216672
<loc>https://www.ioccc.org/bin/README.md</loc>
16673-
<lastmod>2025-07-26T07:13:08+00:00</lastmod>
16673+
<lastmod>2025-08-25T04:20:24+00:00</lastmod>
1667416674
</url>
1667516675
<url>
1667616676
<loc>https://www.ioccc.org/bin/README.md</loc>
16677-
<lastmod>2025-07-26T07:13:08+00:00</lastmod>
16677+
<lastmod>2025-08-25T04:20:24+00:00</lastmod>
1667816678
</url>
1667916679
<url>
1668016680
<loc>https://www.ioccc.org/bin/sgi.sh</loc>
@@ -16930,7 +16930,7 @@
1693016930
</url>
1693116931
<url>
1693216932
<loc>https://www.ioccc.org/status.html</loc>
16933-
<lastmod>2025-08-24T00:07:04+00:00</lastmod>
16933+
<lastmod>2025-08-25T04:29:45+00:00</lastmod>
1693416934
</url>
1693516935
<url>
1693616936
<loc>https://www.ioccc.org/status.json</loc>

0 commit comments

Comments
 (0)