Просмотр исходного кода

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 месяцев назад
Родитель
Сommit
743c3bf291
1 измененных файлов: 4 добавлений и 0 удалений
  1. 4
    0
      docs/pom.xml

+ 4
- 0
docs/pom.xml Просмотреть файл

@@ -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' -->

Загрузка…
Отмена
Сохранить