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.9+dfsg-1+rpi1^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a5453ec099e44a28ea94cd3e12af2c31fb4f21ef;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/doc_writing_style_policy/doc_writing_style_policy.adoc b/doc/src/doc_writing_style_policy/doc_writing_style_policy.adoc index c852dc70..c3c2b98b 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 bb106db5..5e738126 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: :experimental: diff --git a/doc/src/gerbview/gerbview.adoc b/doc/src/gerbview/gerbview.adoc index d231cdb5..06c1219f 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 5ab5ce64..b23a79c6 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/kicad/kicad.adoc b/doc/src/kicad/kicad.adoc index a2561f44..bca14d52 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 e82d31bd..cd088035 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 178c132c..80a7dd86 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: