[digikam-doc] /: factorize intro info

Gilles Caulier caulier.gilles at gmail.com
Sat Sep 3 14:27:34 UTC 2016


Git commit 690bbc87ff0b5df2bb0b87d2572a3237ae6bfc8b by Gilles Caulier.
Committed on 03/09/2016 at 14:26.
Pushed by cgilles into branch 'master'.

factorize intro info

M  +2    -15   digikam/index.docbook
A  +25   -0    digikam/intro-info.docbook
M  +35   -39   showfoto/index.docbook

http://commits.kde.org/digikam-doc/690bbc87ff0b5df2bb0b87d2572a3237ae6bfc8b

diff --git a/digikam/index.docbook b/digikam/index.docbook
index ef3cbbc..08c63c0 100644
--- a/digikam/index.docbook
+++ b/digikam/index.docbook
@@ -10,6 +10,7 @@
 
     <!-- Introduction Chapter -->
 
+    <!ENTITY doc-intro-info                       SYSTEM "intro-info.docbook">
     <!ENTITY doc-intro-background                 SYSTEM "intro-background.docbook">
     <!ENTITY doc-intro-contrib                    SYSTEM "intro-contrib.docbook">
     <!ENTITY doc-intro-firstrun                   SYSTEM "intro-firstrun.docbook">
@@ -195,21 +196,7 @@
 
     <bookinfo>
 
-        <title>The &digikam; Handbook</title>
-
-        <copyright>
-            <year>2001</year>
-            <year>2016</year>
-            <holder>The &digikam; developers team</holder>
-        </copyright>
-
-        <!-- Translators: put here the copyright notice of the translation -->
-        <!-- Put here the FDL notice.  Read the explanation in fdl-notice.docbook
-            and in the FDL itself on how to use it. -->
-        <legalnotice>&FDLNotice;</legalnotice>
-
-        <date>2016-08-21</date>
-        <releaseinfo>5.0</releaseinfo>
+        &doc-intro-info;
 
         <abstract>
 
diff --git a/digikam/intro-info.docbook b/digikam/intro-info.docbook
new file mode 100644
index 0000000..f364a2b
--- /dev/null
+++ b/digikam/intro-info.docbook
@@ -0,0 +1,25 @@
+<title>The &digikam; Handbook</title>
+
+<copyright>
+    <year>2001</year>
+    <year>2016</year>
+    <holder>The &digikam; developers team</holder>
+</copyright>
+
+<!-- Translators: put here the copyright notice of the translation -->
+<!-- Put here the FDL notice.  Read the explanation in fdl-notice.docbook
+    and in the FDL itself on how to use it. -->
+<legalnotice>&FDLNotice;</legalnotice>
+
+<date>Summer 2016</date>
+<releaseinfo>5.0</releaseinfo>
+
+<!--
+Local Variables:
+mode: sgml
+sgml-minimize-attributes:nil
+sgml-general-insert-case:lower
+sgml-indent-step:0
+sgml-indent-data:nil
+End:
+-->
diff --git a/showfoto/index.docbook b/showfoto/index.docbook
index 7f7fa62..f1fac79 100644
--- a/showfoto/index.docbook
+++ b/showfoto/index.docbook
@@ -10,6 +10,7 @@
     <!ENTITY digikam-app '<application>digiKam</application>'>
     <!ENTITY path "../digikam/"><!-- relative path to snapshots for showfoto -->
 
+    <!ENTITY doc-intro-info                       SYSTEM "../digikam/intro-info.docbook">
     <!ENTITY doc-intro-contrib                    SYSTEM "../digikam/intro-contrib.docbook">
     <!ENTITY doc-intro-imageformats               SYSTEM "../digikam/intro-imageformats.docbook">
 
@@ -113,45 +114,40 @@
 
     <bookinfo>
 
-    <title>The &showfoto; Handbook</title>
-
-    <copyright>
-        <year>2001</year>
-        <year>2016</year>
-        <holder>The &digikam-app; developers team</holder>
-    </copyright>
-
-    <!-- Translators: put here the copyright notice of the translation -->
-    <!-- Put here the FDL notice.  Read the explanation in fdl-notice.docbook
-         and in the FDL itself on how to use it. -->
-    <legalnotice>&FDLNotice;</legalnotice>
-
-    <date>2016-08-21</date>
-    <releaseinfo>5.0</releaseinfo>
-
-    <abstract>
-
-        <para>
-            <inlinemediaobject>
-                <imageobject><imagedata fileref="logo-showfoto.png" format="PNG"/></imageobject>
-                <textobject> <phrase>&showfoto; logo</phrase> </textobject>
-            </inlinemediaobject>
-        </para>
-
-        <para>
-            &showfoto; is a stand alone Photo Editor based on &digikam-app; Image Editor. &showfoto; is a part of &digikam-app; project.
-        </para>
-
-    </abstract>
-
-    <keywordset>
-        <keyword>digikam</keyword>
-        <keyword>showfoto</keyword>
-        <keyword>Graphics</keyword>
-        <keyword>Color Management</keyword>
-        <keyword>Metadata</keyword>
-        <keyword>Raw</keyword>
-    </keywordset>
+        &doc-intro-info;
+
+        <keywordset>
+            <keyword>digikam</keyword>
+            <keyword>showfoto</keyword>
+            <keyword>Graphics</keyword>
+            <keyword>Color Management</keyword>
+            <keyword>Metadata</keyword>
+            <keyword>Raw</keyword>
+        </keywordset>
+
+        <abstract>
+
+            <para>
+                <inlinemediaobject>
+                    <imageobject><imagedata fileref="logo-showfoto.png" format="PNG"/></imageobject>
+                    <textobject> <phrase>&showfoto; logo</phrase> </textobject>
+                </inlinemediaobject>
+            </para>
+
+            <para>
+                &showfoto; is a stand alone Photo Editor based on &digikam-app; Image Editor. &showfoto; is a part of &digikam-app; project.
+            </para>
+
+        </abstract>
+
+        <keywordset>
+            <keyword>digikam</keyword>
+            <keyword>showfoto</keyword>
+            <keyword>Graphics</keyword>
+            <keyword>Color Management</keyword>
+            <keyword>Metadata</keyword>
+            <keyword>Raw</keyword>
+        </keywordset>
 
     </bookinfo>
 



More information about the kde-doc-english mailing list