From 20f916b7e1546140939a5d809256ebb71a107009 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/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 + 9 files changed, 9 insertions(+) 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 8b207507..5e4bcc71 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 538a7a6c..84eaa7d9 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 684d8e20..70305678 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 94936487..4388c72d 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 651cefc8..7283fa8a 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 84546ab9..63e9e1df 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 e763a226..f7a3fcc9 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