From: Carsten Schoenert Date: Thu, 13 Oct 2016 19:08:18 +0000 (+0200) Subject: add field 'revdate' to asciidoc files of documentation X-Git-Tag: archive/raspbian/6.0.2+dfsg-1+rpi1~1^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=82dc6277e867152591fb6e411ce341d830488521;p=kicad.git 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 --- 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 62092a9a..9393a3b1 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: :experimental: 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: