File: add-field-revdate-to-asciidoc-files-of-documentation.patch

package info (click to toggle)
kicad 6.0.11%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 343,740 kB
  • sloc: cpp: 633,548; ansic: 128,181; python: 15,410; sh: 560; awk: 294; makefile: 264; xml: 231; asm: 222; perl: 10
file content (95 lines) | stat: -rw-r--r-- 3,160 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Thu, 13 Oct 2016 21:08:18 +0200
Subject: 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.
---
 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/kicad/kicad.adoc                                       | 1 +
 doc/src/pcbnew/pcbnew.adoc                                     | 1 +
 doc/src/pl_editor/pl_editor.adoc                               | 1 +
 7 files changed, 7 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 c852dc7..c3c2b98 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 bb106db..5e73812 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 d231cdb..06c1219 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 5ab5ce6..b23a79c 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 a2561f4..bca14d5 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 e82d31b..cd08803 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 178c132..80a7dd8 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: