Przeglądaj źródła

Avoid "Last updated [timestamp]" footer on each docs page

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>
tags/V1_9_21_2
Alexander Kriegisch 3 miesięcy temu
rodzic
commit
743c3bf291
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4
    0
      docs/pom.xml

+ 4
- 0
docs/pom.xml Wyświetl plik

@@ -29,6 +29,10 @@
<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' -->

Ładowanie…
Anuluj
Zapisz