From 4ce746de613fd7d82db485c7b65a92bcc44ed12b Mon Sep 17 00:00:00 2001 From: Syndamia Date: Tue, 24 Jan 2023 12:00:53 +0200 Subject: [awk-edits] Updated documentation of multiple scripts --- awk-edits/Pagenav.awk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'awk-edits/Pagenav.awk') diff --git a/awk-edits/Pagenav.awk b/awk-edits/Pagenav.awk index ddf74ff..2971dd7 100644 --- a/awk-edits/Pagenav.awk +++ b/awk-edits/Pagenav.awk @@ -5,11 +5,13 @@ # and GitLab source link. # Currently it only works for blog and tutorial pages. # -# This is by far the most hard-coded and inefficient awk script in the generate-hooks. +# This is by far the most hard-coded and inefficient awk script in awk-edits. # Creation and last edited dates are taken from git commits, and getting the correct info -# by file name can easily only be done with git log, which unfortunately is very slow. +# by file name can only be done (easily) with git log, which is unfortunately very slow. # Another issue is that it depends on the build directories in build scripts, meaning # it won't work without modification if you try to build it somewhere else. +# +# Split into Pagenav.awk and post-pagenav.awk BEGIN { fileCheck = ARGV[1] # FILENAME isn't available in BEGIN -- cgit v1.3.1-26-gb76a