From 4ad3368e19f373da8933c950453b146c5d67cfe0 Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Wed, 19 Nov 2025 16:05:09 -0800 Subject: [PATCH] [docs] Remove using `|today|` from website This avoids churn on the website, since it avoids the output changing every day. --- site/source/docs/contributing/AUTHORS.rst | 2 +- .../docs/introducing_emscripten/emscripten_license.rst | 2 +- tools/maint/update_docs.py | 5 ----- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/site/source/docs/contributing/AUTHORS.rst b/site/source/docs/contributing/AUTHORS.rst index 819dd4409069a..1fa08dd5586ce 100644 --- a/site/source/docs/contributing/AUTHORS.rst +++ b/site/source/docs/contributing/AUTHORS.rst @@ -7,7 +7,7 @@ AUTHORS The `AUTHORS `_ file lists everyone who has contributed to Emscripten. It is optional for a contributor to add themselves to the `AUTHORS `_ file before :doc:`contributing `. -The contributors for releases up to Emscripten |release| inclusive (|today|) are listed below. +The contributors for releases up to Emscripten |release| inclusive are listed below. .. include:: ../../../../AUTHORS :literal: diff --git a/site/source/docs/introducing_emscripten/emscripten_license.rst b/site/source/docs/introducing_emscripten/emscripten_license.rst index fe78ed037f5c4..6971453752c03 100644 --- a/site/source/docs/introducing_emscripten/emscripten_license.rst +++ b/site/source/docs/introducing_emscripten/emscripten_license.rst @@ -11,7 +11,7 @@ There is little, if any, practical difference between the licenses. They are bot - *MIT license* is well known and understood. - *University of Illinois/NCSA Open Source License* allows Emscripten's code to be integrated upstream into LLVM, should the opportunity arise. -The license for Emscripten |release| (|today|) is reproduced below. The `current full licence `_ can be found on GitHub (and is also present in the root of the SDK). +The license for Emscripten |release| is reproduced below. The `current full licence `_ can be found on GitHub (and is also present in the root of the SDK). .. include:: ../../../../LICENSE :literal: diff --git a/tools/maint/update_docs.py b/tools/maint/update_docs.py index 13714c962c72d..92bfedecba0c0 100755 --- a/tools/maint/update_docs.py +++ b/tools/maint/update_docs.py @@ -56,11 +56,6 @@ def main(args): subprocess.check_call(['make', 'install', f'EMSCRIPTEN_SITE={site_out}'], cwd=site_dir) files_changed = get_changed_files(site_out) - # This AUTHORS.html file happens to always contains the current date, so we don't want - # to consider updates that contain only this one file - if 'docs/contributing/AUTHORS.html' in files_changed: - files_changed.remove('docs/contributing/AUTHORS.html') - if not files_changed: print('docs are up-to-date; no changes found') return 0