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>
Thu, 18 Jul 2024 15:32:31 +0000 (17:32 +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 0332de1f3e9657f9ece877b434e148acf965881c..442f2c3d1b569998cd4945b137bbf065ddbd5d48 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 e991f4bc5e989f60fc8fcac55a094f1e93aa6817..5cd7685e93e48bc370c48f21480b62a4bf0aabae 100644 (file)
@@ -1,5 +1,6 @@
 :author: The KiCad Team
 :doctype: article
+//:revdate: @REVDATE@
 :toc:
 :ascii-ids: