build missing HTML files for entries
Setup a simple topnav for missing HTML files for entries. Added `bin/gen-other-html.sh` to build entry HTML files from markdown other than README.md to index.html HTML files. Fixed duplicate link text in `2020/ferguson1/gameplay.md`. Improved `inc/md2html.cfg` to support building the missing HTML files for entries. Added `make gen_other_html` to top level Makefile. Added `make gen_other_html` to `make quick_www` and `make www`. Fixed inventory links for year level index.html files. Changed `bin/output-year-index.sh` VERSION from "1.0.1 2024-02-23" to "1.1 2024-02-27". Added missing lines in `manifest.numbers`. Update the affected `.entry.json` files. The manifest (in both `manifest.numbers` and the collection of manifests from of all entry `.entry.json` files) now match. Errors from `make verify_entry_files` will now abort both `make quick_www` and `make www` rules in the top level `Makefile`. Changed markdown files in manifest to have an _inventory_order_ of _2000000000_ so that the `index.html` file will usually appear at the start of the _Secondary files_ set for the "#inventory" section of an entry's `index.html` file. Changed compressed tar files (files that end in _.tar.bz2_) in manifest to have an _inventory_order_ of _100000_ so that these files will usually appear at the end of the _Primary files_ set for the "#inventory" section of an entry's `index.html` file. Added 'Jump to top` link above the _Primary files_ section. Changed `bin/output-index-inventory.sh` VERSION from "1.1.1 2024-02-23" to "1.2 2024-02-27". Updated HTML files to perform the above via `make www`.
This commit is contained in:
1 parent
7babf792e4
commit
9d3438fb88
718 files changed
+17515
-4084
No files matched your search
@@ -55,6 +55,7 @@ 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_OTHER_HTML= bin/gen-other-html.sh
|
||||
README2INDEX= bin/readme2index.sh
|
||||
QUICK_README2INDEX= bin/quick-readme2index.sh
|
||||
TAR_ENTRY= bin/tar-entry.sh
|
||||
@@ -239,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 quick_entry_index \
|
||||
entry_index gen_top_md2html gen_other_html quick_entry_index \
|
||||
form_entry_tarball form_year_tarball form_all_tarball \
|
||||
gen_year_index quick_www www
|
||||
|
||||
@@ -258,6 +259,7 @@ help:
|
||||
@echo make gen_years
|
||||
@echo make entry_index
|
||||
@echo make gen_top_md2html
|
||||
@echo make gen_other_html
|
||||
@echo make gen_year_index
|
||||
@echo make quick_entry_index
|
||||
@echo make form_entry_tarball
|
||||
@@ -354,6 +356,13 @@ gen_top_md2html: ${GEN_TOP_MD2HTML}
|
||||
${GEN_TOP_MD2HTML} -v 1
|
||||
@echo '=-=-=-=-= IOCCC complete make $@ =-=-=-=-='
|
||||
|
||||
# generate build entry HTML files from markdown other than README.md to index.html HTML files
|
||||
#
|
||||
gen_other_html: ${GEN_OTHER_HTML}
|
||||
@echo '=-=-=-=-= IOCCC begin make $@ =-=-=-=-='
|
||||
${GEN_OTHER_HTML} -v 1
|
||||
@echo '=-=-=-=-= IOCCC complete make $@ =-=-=-=-='
|
||||
|
||||
# generate year level index.html files using the
|
||||
# ${GEN_YEAR_INDEX} tool (bin/gen-year-index.sh).
|
||||
#
|
||||
@@ -420,12 +429,13 @@ quick_www:
|
||||
${MAKE} clobber
|
||||
${MAKE} genpath
|
||||
${MAKE} genfilelist
|
||||
-${MAKE} verify_entry_files # XXX - remove - when all files exist
|
||||
${MAKE} verify_entry_files
|
||||
${MAKE} gen_authors
|
||||
${MAKE} gen_location
|
||||
${MAKE} gen_years
|
||||
${MAKE} gen_year_index
|
||||
${MAKE} gen_top_md2html
|
||||
${MAKE} gen_other_html
|
||||
${MAKE} quick_entry_index
|
||||
@echo XXX - disable tarball updates until mods settle down - XXX - ${MAKE} form_entry_tarball
|
||||
@echo XXX - disable tarball updates until mods settle down - XXX - ${MAKE} form_year_tarball
|
||||
@@ -441,12 +451,13 @@ www:
|
||||
${MAKE} clobber
|
||||
${MAKE} genpath
|
||||
${MAKE} genfilelist
|
||||
-${MAKE} verify_entry_files # XXX - remove - when all files exist
|
||||
${MAKE} verify_entry_files
|
||||
${MAKE} gen_authors
|
||||
${MAKE} gen_location
|
||||
${MAKE} gen_years
|
||||
${MAKE} gen_year_index
|
||||
${MAKE} gen_top_md2html
|
||||
${MAKE} gen_other_html
|
||||
${MAKE} entry_index
|
||||
@echo XXX - disable tarball updates until mods settle down - XXX - ${MAKE} form_entry_tarball
|
||||
@echo XXX - disable tarball updates until mods settle down - XXX - ${MAKE} form_year_tarball
|
||||
|
||||
Reference in new issue
Block a user