From 0afb2f0ee518d101d16c54198615ea89c3d100fb Mon Sep 17 00:00:00 2001 From: Carsten Schoenert Date: Thu, 13 Oct 2016 21:08:18 +0200 Subject: [PATCH] add field 'revdate' to asciidoc files of documentation 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. Gbp-Pq: Topic reproducibility Gbp-Pq: Name add-field-revdate-to-asciidoc-files-of-documentation.patch --- doc/src/cvpcb/cvpcb.adoc | 1 + doc/src/doc_writing_style_policy/doc_writing_style_policy.adoc | 1 + doc/src/eeschema/eeschema.adoc | 1 + doc/src/gerbview/gerbview.adoc | 1 + doc/src/getting_started_in_kicad/getting_started_in_kicad.adoc | 1 + doc/src/idf_exporter/idf_exporter.adoc | 1 + doc/src/kicad/kicad.adoc | 1 + doc/src/pcbnew/pcbnew.adoc | 1 + doc/src/pl_editor/pl_editor.adoc | 1 + doc/src/plugins/plugins.adoc | 1 + 10 files changed, 10 insertions(+) diff --git a/doc/src/cvpcb/cvpcb.adoc b/doc/src/cvpcb/cvpcb.adoc index 6fc50b94..be8528c3 100644 --- a/doc/src/cvpcb/cvpcb.adoc +++ b/doc/src/cvpcb/cvpcb.adoc @@ -1,5 +1,6 @@ :author: The KiCad Team :doctype: article +:revdate: @REVDATE@ :toc: :ascii-ids: diff --git a/doc/src/doc_writing_style_policy/doc_writing_style_policy.adoc b/doc/src/doc_writing_style_policy/doc_writing_style_policy.adoc index 3f9be8df..15ccd22b 100644 --- a/doc/src/doc_writing_style_policy/doc_writing_style_policy.adoc +++ b/doc/src/doc_writing_style_policy/doc_writing_style_policy.adoc @@ -1,5 +1,6 @@ :author: The KiCad Team :doctype: article +:revdate: @REVDATE@ :toc: :ascii-ids: diff --git a/doc/src/eeschema/eeschema.adoc b/doc/src/eeschema/eeschema.adoc index d1e116c4..68c00c8d 100644 --- a/doc/src/eeschema/eeschema.adoc +++ b/doc/src/eeschema/eeschema.adoc @@ -1,5 +1,6 @@ :author: The KiCad Team :doctype: book +:revdate: @REVDATE@ :toc: :ascii-ids: diff --git a/doc/src/gerbview/gerbview.adoc b/doc/src/gerbview/gerbview.adoc index 0ae24e4c..10c81064 100644 --- a/doc/src/gerbview/gerbview.adoc +++ b/doc/src/gerbview/gerbview.adoc @@ -1,5 +1,6 @@ :author: The KiCad Team :doctype: article +:revdate: @REVDATE@ :toc: :ascii-ids: diff --git a/doc/src/getting_started_in_kicad/getting_started_in_kicad.adoc b/doc/src/getting_started_in_kicad/getting_started_in_kicad.adoc index 6bb54fc6..43c4cbf3 100644 --- a/doc/src/getting_started_in_kicad/getting_started_in_kicad.adoc +++ b/doc/src/getting_started_in_kicad/getting_started_in_kicad.adoc @@ -1,5 +1,6 @@ :author: The KiCad Team :doctype: book +:revdate: @REVDATE@ :toc: :ascii-ids: diff --git a/doc/src/idf_exporter/idf_exporter.adoc b/doc/src/idf_exporter/idf_exporter.adoc index a95f05d1..75b03878 100644 --- a/doc/src/idf_exporter/idf_exporter.adoc +++ b/doc/src/idf_exporter/idf_exporter.adoc @@ -1,5 +1,6 @@ :author: The KiCad Team :doctype: article +:revdate: @REVDATE@ :toc: :ascii-ids: diff --git a/doc/src/kicad/kicad.adoc b/doc/src/kicad/kicad.adoc index 6ca7ee56..538ce2d3 100644 --- a/doc/src/kicad/kicad.adoc +++ b/doc/src/kicad/kicad.adoc @@ -1,5 +1,6 @@ :author: The KiCad Team :doctype: book +:revdate: @REVDATE@ :toc: :ascii-ids: diff --git a/doc/src/pcbnew/pcbnew.adoc b/doc/src/pcbnew/pcbnew.adoc index ccd6ac47..ce3c81e5 100644 --- a/doc/src/pcbnew/pcbnew.adoc +++ b/doc/src/pcbnew/pcbnew.adoc @@ -1,5 +1,6 @@ :author: The KiCad Team :doctype: book +:revdate: @REVDATE@ :toc: :ascii-ids: diff --git a/doc/src/pl_editor/pl_editor.adoc b/doc/src/pl_editor/pl_editor.adoc index c4db6b38..709dbe92 100644 --- a/doc/src/pl_editor/pl_editor.adoc +++ b/doc/src/pl_editor/pl_editor.adoc @@ -1,5 +1,6 @@ :author: The KiCad Team :doctype: article +:revdate: @REVDATE@ :toc: :ascii-ids: diff --git a/doc/src/plugins/plugins.adoc b/doc/src/plugins/plugins.adoc index 09292ed9..bd2f8f2e 100644 --- a/doc/src/plugins/plugins.adoc +++ b/doc/src/plugins/plugins.adoc @@ -1,5 +1,6 @@ :author: The KiCad Team :doctype: article +:revdate: @REVDATE@ :toc: :ascii-ids: -- 2.30.2