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>
Wed, 1 May 2024 09:47:38 +0000 (11:47 +0200)
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 d83800d1ae6467c07e6d6a835ec61f405f40183e..0939c384c2d22df0fde135a7997831cb653f06b3 100644 (file)
@@ -1,5 +1,6 @@
 :author: The KiCad Team
 :doctype: book
+//:revdate: @REVDATE@
 :toc:
 :ascii-ids:
 :experimental:
index 255dc157691dac0bef3506356175f646a932398d..457fb9f120576882dee8d62a674fc2b0ab921eab 100644 (file)
@@ -1,5 +1,6 @@
 :author: The KiCad Team
 :doctype: article
+//:revdate: @REVDATE@
 :toc:
 :ascii-ids:
 
index bfe62434742d52d01b467b54e6c03736d56d4dad..76e8acc5208326208ce9ba522361189b389ea347 100644 (file)
@@ -1,5 +1,6 @@
 :author: The KiCad Team
 :doctype: book
+//:revdate: @REVDATE@
 :toc:
 :ascii-ids:
 :experimental:
index 12086158c39c28ec1001ceddc6bd97e4ff510cf3..424dfb6e27ddecc95a893c979dcd8c9d4cf24236 100644 (file)
@@ -1,5 +1,6 @@
 :author: The KiCad Team
 :doctype: book
+//:revdate: @REVDATE@
 :toc:
 :ascii-ids:
 :experimental:
index c33b33e0af26158e53aca71361fdbe66a73985a4..200a0494c3e3ec8d2dc6511d2b40c2d551885d2a 100644 (file)
@@ -1,5 +1,6 @@
 :author: The KiCad Team
 :doctype: book
+//:revdate: @REVDATE@
 :toc:
 :ascii-ids:
 
index d5f4b6bbcc932934fa118e436cb3284c5a104a18..592e0d9a62df3b0e45ab19134976ada4524cd4bc 100644 (file)
@@ -1,5 +1,6 @@
 :author: The KiCad Team
 :doctype: article
+//:revdate: @REVDATE@
 :toc:
 :ascii-ids: