doc: Add field 'revdate' to asciidoc files
authorCarsten Schoenert <c.schoenert@t-online.de>
Thu, 13 Oct 2016 19:08:18 +0000 (21:08 +0200)
committerCarsten Schoenert <c.schoenert@t-online.de>
Fri, 23 Feb 2024 17:59:55 +0000 (18:59 +0100)
For reproducibility we need to set up a date that's not depending on the
current time and timezone. We add a extra asciidoc control field
'revdate' and expand the variable behind that while building the package
with the date from the changelog file.

Note!
Unfortunately using the modified files in the way it's originally
intended breaks the build of the source by using dpkg-buildpackage twice
in a row. Until this issue is solved the added fields are now commented
out.

Forwarded: Not-Needed

Gbp-Pq: Topic reproducibility
Gbp-Pq: Name doc-Add-field-revdate-to-asciidoc-files.patch

doc/src/doc_writing_style_policy/doc_writing_style_policy.adoc
doc/src/eeschema/eeschema.adoc
doc/src/gerbview/gerbview.adoc
doc/src/getting_started_in_kicad/getting_started_in_kicad.adoc
doc/src/kicad/kicad.adoc
doc/src/pcbnew/pcbnew.adoc
doc/src/pl_editor/pl_editor.adoc

index c852dc70a1dd7b19e597a16241133cfeb23c5abb..7bbad399709d72c90ed62a818b8ca6bfc2457a59 100644 (file)
@@ -1,5 +1,6 @@
 :author: The KiCad Team
 :doctype: article
+//:revdate: @REVDATE@
 :toc:
 :ascii-ids:
 
index 32f539ec58771df6b9db2ae7d23d337376217314..4f1a50c0abb52a037433264a087390c453332348 100644 (file)
@@ -1,5 +1,6 @@
 :author: The KiCad Team
 :doctype: book
+//:revdate: @REVDATE@
 :toc:
 :ascii-ids:
 :experimental:
index d231cdb55cdc606b684092cb8126114736639319..9aaa875ebd6c28e5cd13fdda717a019f4d782a52 100644 (file)
@@ -1,5 +1,6 @@
 :author: The KiCad Team
 :doctype: article
+//:revdate: @REVDATE@
 :toc:
 :ascii-ids:
 
index 24a9bf431a71f4a0933bd4c11e30c7465b30969a..812f49a8306f7f1f0ce0e538be1dce14cf03b2be 100644 (file)
@@ -1,5 +1,6 @@
 :author: The KiCad Team
 :doctype: book
+//:revdate: @REVDATE@
 :toc:
 :ascii-ids:
 :experimental:
index f70fd1dfe08cd196f69050f7419e9ee70bca2fe1..d55fa16eb38ccfe6a0e56a4cec24952c4d7ef6d8 100644 (file)
@@ -1,5 +1,6 @@
 :author: The KiCad Team
 :doctype: book
+//:revdate: @REVDATE@
 :toc:
 :ascii-ids:
 :experimental:
index eed8c8d2a75c75c3ba4bd9e2f4559813686da21b..ca24aa39a44058908e433053cc29e61b24078832 100644 (file)
@@ -1,5 +1,6 @@
 :author: The KiCad Team
 :doctype: book
+//:revdate: @REVDATE@
 :toc:
 :ascii-ids:
 
index 178c132c5afc9aa1015df00e19d934f87affffc1..381659f510ac12ac547b6445e55e2fd7e0212b8f 100644 (file)
@@ -1,5 +1,6 @@
 :author: The KiCad Team
 :doctype: article
+//:revdate: @REVDATE@
 :toc:
 :ascii-ids: