]> source.dussan.org Git - aspectj.git/commitdiff
Avoid "Last updated [timestamp]" footer on each docs page
authorAlexander Kriegisch <Alexander@Kriegisch.name>
Thu, 15 Feb 2024 12:34:26 +0000 (19:34 +0700)
committerAlexander Kriegisch <Alexander@Kriegisch.name>
Thu, 15 Feb 2024 12:34:26 +0000 (19:34 +0700)
Set Asciidoctor option 'nofooter' to avoid the annoying timestamps. It
makes updating the website difficult, because always there are "changes"
in each file. Diffing real changes in generated files for the website
before committing becomes difficult. Furthermore, the user does not have
any immediate benefit for most documents, as they change infrequently or
never (e.g. old release notes).

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
docs/pom.xml

index dcaae9f2d033492f1c0b54330efc738b1b7c2788..b69a6810810b133be9fced211ac2320674aa050c 100644 (file)
               <sourceDirectory>${project.basedir}</sourceDirectory>
               <preserveDirectories>true</preserveDirectories>
               <relativeBaseDir>true</relativeBaseDir>
+              <attributes>
+                <!-- Avoid "Last updated [timestamp]" footer on each page -->
+                <nofooter>true</nofooter>
+              </attributes>
               <resources>
                 <resource>
                   <!-- Mandatory, even though identical to 'sourceDirectory' -->