Skip to content

Commit a31d5e8

Browse files
authored
[docs] Remove usage of |today| macro from website (#25833)
This avoids churn on the website, since it avoids the output changing every day.
1 parent f8e6458 commit a31d5e8

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

site/source/docs/contributing/AUTHORS.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ AUTHORS
77
The `AUTHORS <https://github.com/emscripten-core/emscripten/blob/main/AUTHORS>`_ file lists everyone who has contributed to Emscripten.
88
It is optional for a contributor to add themselves to the `AUTHORS <https://github.com/emscripten-core/emscripten/blob/main/AUTHORS>`_ file before :doc:`contributing <contributing>`.
99

10-
The contributors for releases up to Emscripten |release| inclusive (|today|) are listed below.
10+
The contributors for releases up to Emscripten |release| inclusive are listed below.
1111

1212
.. include:: ../../../../AUTHORS
1313
:literal:

site/source/docs/introducing_emscripten/emscripten_license.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ There is little, if any, practical difference between the licenses. They are bot
1111
- *MIT license* is well known and understood.
1212
- *University of Illinois/NCSA Open Source License* allows Emscripten's code to be integrated upstream into LLVM, should the opportunity arise.
1313

14-
The license for Emscripten |release| (|today|) is reproduced below. The `current full licence <https://github.com/emscripten-core/emscripten/blob/main/LICENSE>`_ can be found on GitHub (and is also present in the root of the SDK).
14+
The license for Emscripten |release| is reproduced below. The `current full licence <https://github.com/emscripten-core/emscripten/blob/main/LICENSE>`_ can be found on GitHub (and is also present in the root of the SDK).
1515

1616
.. include:: ../../../../LICENSE
1717
:literal:

tools/maint/update_docs.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,6 @@ def main(args):
5656
subprocess.check_call(['make', 'install', f'EMSCRIPTEN_SITE={site_out}'], cwd=site_dir)
5757

5858
files_changed = get_changed_files(site_out)
59-
# This AUTHORS.html file happens to always contains the current date, so we don't want
60-
# to consider updates that contain only this one file
61-
if 'docs/contributing/AUTHORS.html' in files_changed:
62-
files_changed.remove('docs/contributing/AUTHORS.html')
63-
6459
if not files_changed:
6560
print('docs are up-to-date; no changes found')
6661
return 0

0 commit comments

Comments
 (0)