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>
Sun, 8 Oct 2023 08:54:42 +0000 (09:54 +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 7315e97a5a08014b488af4fd1222b8d426455db2..72a1c080b6ae494c001c3f6e9c6359d5beb7a384 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 082c62e1715703b7f22a3f05174fb96f1374e382..5c4ed0f60898e17f3d18b3d7105a68a9b89a96bf 100644 (file)
@@ -1,5 +1,6 @@
 :author: The KiCad Team
 :doctype: book
+//:revdate: @REVDATE@
 :toc:
 :ascii-ids:
 :experimental:
index 59fd6d1a6a47eaa03f222739f7265dab2a1d87ac..74105ea33f2cd858705009fc8c6c4ffa1af2f5e8 100644 (file)
@@ -1,5 +1,6 @@
 :author: The KiCad Team
 :doctype: book
+//:revdate: @REVDATE@
 :toc:
 :ascii-ids:
 :experimental:
index 2b03d1f4703213623f48346077f356a6ded2ce4d..bf53f9ad5282e859d2ddb4c5eb6662a9db0d45b5 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: