From 06967578696a5088c01a554060855dc44b99ed41 Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Sun, 24 Aug 2025 21:30:15 -0700 Subject: [PATCH] fix links under inc/ --- bin/README.md | 36 ++++++++++++++++++------------------ bin/index.html | 36 ++++++++++++++++++------------------ sitemap.xml | 10 +++++----- 3 files changed, 41 insertions(+), 41 deletions(-) diff --git a/bin/README.md b/bin/README.md index 536b86d88..49bf02b20 100644 --- a/bin/README.md +++ b/bin/README.md @@ -9,7 +9,7 @@ The [bin directory](index.html) holds tools that build files, such as HTML conte [official IOCCC website](https://www.ioccc.org). For HTML content, the [bin directory](index.html) tools make use of HTML -fragments from the [inc directory](../inc/index.html) as well as various JSON +fragments from the [inc directory](%%REPO_URL%%/inc/index.html) as well as various JSON files and other content from the [official IOCCC winner repo](https://github.com/ioccc-src/winner). @@ -676,7 +676,7 @@ Examples of top level HTML pages built by this tool include: - [bugs.html](../bugs.html) - [contact.html](../contact.html) - [faq.html](../faq.html) -- [inc/index.html](../inc/index.html) +- [inc/index.html](%%REPO_URL%%/inc/index.html) - [index.html](../index.html) - [judges.html](../judges.html) - [news.html](../news.html) @@ -882,7 +882,7 @@ became a favourite saying of his later, and passed into a proverb. This is the primary tool that forms IOCCC generated HTML content from markdown files (permanent markdown files or temporarily generated -markdown files) and HTML fragments from the [inc directory](../inc/index.html). +markdown files) and HTML fragments from the [inc directory](%%REPO_URL%%/inc/index.html). The [md2html.cfg](index.html#md2html_cfg) configuration file is used by [md2html.sh](%%REPO_URL%%/bin/md2html.sh) to drive the generation process. @@ -1274,7 +1274,7 @@ is used to form all IOCCC related HTML pages for the Nearly all IOCCC related HTML pages are built from markdown files, from either permanent markdown files or temporary generated markdown files, -as well as HTML fragments from the [inc directory](../inc/index.html). +as well as HTML fragments from the [inc directory](%%REPO_URL%%/inc/index.html). Most HTML content is built from permanent markdown files, such as a `README.md` markdown file found in each entry directory. Some HTML content are generated @@ -1282,7 +1282,7 @@ from temporary markdown files. These temporary markdown files are produced by tools in the [bin directory](index.html) and exist only while the tool is running. In addition to converting markdown to HTML, the canonical way that HTML content is -built uses, by default, files from the [inc directory](../inc/index.html), of +built uses, by default, files from the [inc directory](%%REPO_URL%%/inc/index.html), of the file name form: ``` @@ -1302,8 +1302,8 @@ a non-default file may be used. For example: -H navbar=up2index ``` -will cause [inc/navbar.up2index.html](../inc/navbar.up2index.html) -instead of [inc/navbar.default.html](../inc/navbar.default.html) to be +will cause [inc/navbar.up2index.html](%%REPO_URL%%/inc/navbar.up2index.html) +instead of [inc/navbar.default.html](%%REPO_URL%%/inc/navbar.default.html) to be used during the _navbar_ HTML phase. 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. The following HTML phase files are used to build HTML content: -0. [inc/top.default.html](../inc/top.default.html) -1. [inc/head.default.html](../inc/head.default.html) -2. [inc/body.default.html](../inc/body.default.html) -3. [inc/topbar.default.html](../inc/topbar.default.html) -4. [inc/header.default.html](../inc/header.default.html) -5. [inc/navbar.default.html](../inc/navbar.default.html) -6. [inc/before-content.default.html](../inc/before-content.default.html) +0. [inc/top.default.html](%%REPO_URL%%/inc/top.default.html) +1. [inc/head.default.html](%%REPO_URL%%/inc/head.default.html) +2. [inc/body.default.html](%%REPO_URL%%/inc/body.default.html) +3. [inc/topbar.default.html](%%REPO_URL%%/inc/topbar.default.html) +4. [inc/header.default.html](%%REPO_URL%%/inc/header.default.html) +5. [inc/navbar.default.html](%%REPO_URL%%/inc/navbar.default.html) +6. [inc/before-content.default.html](%%REPO_URL%%/inc/before-content.default.html) Phases 7-19 are reserved for future use. @@ -1338,9 +1338,9 @@ Phases 7-19 are reserved for future use. Phases 23-29 are reserved for future use. -30. [inc/after-content.default.html](../inc/after-content.default.html) -31. [inc/footer.default.html](../inc/footer.default.html) -32. [inc/bottom.default.html](../inc/bottom.default.html) +30. [inc/after-content.default.html](%%REPO_URL%%/inc/after-content.default.html) +31. [inc/footer.default.html](%%REPO_URL%%/inc/footer.default.html) +32. [inc/bottom.default.html](%%REPO_URL%%/inc/bottom.default.html) Phases 33-39 are reserved for future use. @@ -1524,7 +1524,7 @@ how such command lines are used. Some of the files under this directory are used to form **MOST** of the HTML content on the [official IOCCC website](https://www.ioccc.org). -... and in particular files under [inc](../inc/index.html) that are of the form +... and in particular files under [inc](%%REPO_URL%%/inc/index.html) that are of the form (called default HTML files) ...: ``` diff --git a/bin/index.html b/bin/index.html index 39a6e5d7f..fb1b3b4fb 100644 --- a/bin/index.html +++ b/bin/index.html @@ -461,7 +461,7 @@ weren’t written in a certain language. :-)

The bin directory holds tools that build files, such as HTML content, for the official IOCCC website.

For HTML content, the bin directory tools make use of HTML -fragments from the inc directory as well as various JSON +fragments from the inc directory as well as various JSON files and other content from the official IOCCC winner repo.

bin/ tools options

With the exception of the awk(1) and sed(1) scripts, all the tools in this @@ -844,7 +844,7 @@ do that, that is not a problem.

  • bugs.html
  • contact.html
  • faq.html
  • -
  • inc/index.html
  • +
  • inc/index.html
  • index.html
  • judges.html
  • news.html
  • @@ -972,7 +972,7 @@ became a favourite saying of his later, and passed into a proverb.

    This is the primary tool that forms IOCCC generated HTML content from markdown files (permanent markdown files or temporarily generated -markdown files) and HTML fragments from the inc directory.

    +markdown files) and HTML fragments from the inc directory.

    The md2html.cfg configuration file is used by md2html.sh to drive the generation process.

    @@ -1180,13 +1180,13 @@ is used to form all IOCCC related HTML pages for the official IOCCC website.

    Nearly all IOCCC related HTML pages are built from markdown files, from either permanent markdown files or temporary generated markdown files, -as well as HTML fragments from the inc directory.

    +as well as HTML fragments from the inc directory.

    Most HTML content is built from permanent markdown files, such as a README.md markdown file found in each entry directory. Some HTML content are generated from temporary markdown files. These temporary markdown files are produced by tools in the bin directory and exist only while the tool is running.

    In addition to converting markdown to HTML, the canonical way that HTML content is -built uses, by default, files from the inc directory, of +built uses, by default, files from the inc directory, of the file name form:

        *.default.html

    By using command line options of the form:

    @@ -1194,8 +1194,8 @@ the file name form:

    where phase is the name of an HTML phase, a non-default file may be used. For example:

        -H navbar=up2index
    -

    will cause inc/navbar.up2index.html -instead of inc/navbar.default.html to be +

    will cause inc/navbar.up2index.html +instead of inc/navbar.default.html to be used during the navbar HTML phase.

    If name is dot (i.e., .), then the given HTML phase is skipped. For example:

    @@ -1206,13 +1206,13 @@ For example:

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

      -
    1. inc/top.default.html
    2. -
    3. inc/head.default.html
    4. -
    5. inc/body.default.html
    6. -
    7. inc/topbar.default.html
    8. -
    9. inc/header.default.html
    10. -
    11. inc/navbar.default.html
    12. -
    13. inc/before-content.default.html
    14. +
    15. inc/top.default.html
    16. +
    17. inc/head.default.html
    18. +
    19. inc/body.default.html
    20. +
    21. inc/topbar.default.html
    22. +
    23. inc/header.default.html
    24. +
    25. inc/navbar.default.html
    26. +
    27. inc/before-content.default.html

    Phases 7-19 are reserved for future use.

      @@ -1222,9 +1222,9 @@ For example:

    Phases 23-29 are reserved for future use.

      -
    1. inc/after-content.default.html
    2. -
    3. inc/footer.default.html
    4. -
    5. inc/bottom.default.html
    6. +
    7. inc/after-content.default.html
    8. +
    9. inc/footer.default.html
    10. +
    11. inc/bottom.default.html

    Phases 33-39 are reserved for future use.

    In all of the above HTML phase numbers, symbols of the form %%TOKEN%% are @@ -1335,7 +1335,7 @@ how such command lines are used.

    Use CAUTION when modifying inc/ files

    Some of the files under this directory are used to form MOST of the HTML content on the official IOCCC website.

    -

    … and in particular files under inc that are of the form +

    … and in particular files under inc that are of the form (called default HTML files) …:

        *.default.html

    … contain default content used to form IOCCC HTML / IOCCC web pages.

    diff --git a/sitemap.xml b/sitemap.xml index 462f4bcd6..471e78d06 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -16598,11 +16598,11 @@ https://www.ioccc.org/bin/index.html - 2025-07-26T18:35:03+00:00 + 2025-08-25T04:22:15+00:00 https://www.ioccc.org/bin/index.html - 2025-07-26T18:35:03+00:00 + 2025-08-25T04:22:15+00:00 https://www.ioccc.org/bin/jfmt-wrapper.sh @@ -16670,11 +16670,11 @@ https://www.ioccc.org/bin/README.md - 2025-07-26T07:13:08+00:00 + 2025-08-25T04:20:24+00:00 https://www.ioccc.org/bin/README.md - 2025-07-26T07:13:08+00:00 + 2025-08-25T04:20:24+00:00 https://www.ioccc.org/bin/sgi.sh @@ -16930,7 +16930,7 @@ https://www.ioccc.org/status.html - 2025-08-24T00:07:04+00:00 + 2025-08-25T04:29:45+00:00 https://www.ioccc.org/status.json