I hope I got it right :)
On 08/16/2015 11:24 PM, Sandro Santilli wrote:
On Sun, Aug 16, 2015 at 07:43:55PM +0000, mtsio wrote:
This patch fixes bug #45766
Sandro Santilli:
It looks to me that the same file is used by both reference and user
manual. This patch changes the text in both. Do you confirm ?
Yes, that also changes the user manual. Maybe we should split the
audience section.
Agreed, patch welcome. --strk;
--strk;
>From 460af891b34f36feddb8dea0ce949335ec0868de Mon Sep 17 00:00:00 2001
From: mtsio <mt...@cryptolab.net>
Date: Mon, 17 Aug 2015 01:11:06 +0300
Subject: [PATCH] Split audience section for user and reference manual (see bug
#45766)
---
doc/C/gnashref.xml | 1 +
doc/C/gnashuser.xml | 1 +
doc/C/introduction.xml | 14 ++------------
doc/C/refmanual/audience.xml | 12 ++++++++++++
doc/C/usermanual/audience.xml | 11 +++++++++++
5 files changed, 27 insertions(+), 12 deletions(-)
create mode 100644 doc/C/refmanual/audience.xml
create mode 100644 doc/C/usermanual/audience.xml
diff --git a/doc/C/gnashref.xml b/doc/C/gnashref.xml
index 97238a3..ae7bdfc 100644
--- a/doc/C/gnashref.xml
+++ b/doc/C/gnashref.xml
@@ -12,6 +12,7 @@
<!ENTITY fdl-app SYSTEM "fdl-appendix.xml">
<!ENTITY programmers SYSTEM "app_authors.xml">
<!ENTITY introduction SYSTEM "introduction.xml">
+ <!ENTITY audience SYSTEM "refmanual/audience.xml">
<!ENTITY bugreport SYSTEM "bugreport.xml">
<!ENTITY amf SYSTEM "refmanual/amf.xml">
diff --git a/doc/C/gnashuser.xml b/doc/C/gnashuser.xml
index a556c45..3ce4dae 100644
--- a/doc/C/gnashuser.xml
+++ b/doc/C/gnashuser.xml
@@ -12,6 +12,7 @@
<!ENTITY fdl-app SYSTEM "fdl-appendix.xml">
<!ENTITY programmers SYSTEM "app_authors.xml">
<!ENTITY introduction SYSTEM "introduction.xml">
+ <!ENTITY audience SYSTEM "usermanual/audience.xml">
<!ENTITY security SYSTEM "security.xml">
<!ENTITY bugreport SYSTEM "bugreport.xml">
diff --git a/doc/C/introduction.xml b/doc/C/introduction.xml
index 493690c..6e7cca7 100644
--- a/doc/C/introduction.xml
+++ b/doc/C/introduction.xml
@@ -17,18 +17,6 @@
wrappers for any development library, and import them into the
player much like Perl or Python does.
</para>
-
- <sect1 id="audience">
- <title>Audience</title>
-
- <para>
- This manual is primarily focused on developers. If you are
- interested in how to get Gnash installed from a package, and
- basic usage as a web browser plugin, please refer to the Gnash
- User manual.
- </para>
-
- </sect1>
<sect1 id="runs-on">
<title>What Is Supported?</title>
@@ -93,5 +81,7 @@
</para>
</sect1>
+ &audience;
+
</chapter>
diff --git a/doc/C/refmanual/audience.xml b/doc/C/refmanual/audience.xml
new file mode 100644
index 0000000..8c45100
--- /dev/null
+++ b/doc/C/refmanual/audience.xml
@@ -0,0 +1,12 @@
+<sect1 id="audience">
+ <title>Audience</title>
+
+ <para>
+ This manual is focused on users interested in more technical
+ details, such as Gnash Extensions. It's also a good starting point
+ for developers that feel like contributing to the project. For
+ installation instructions from a package and basic usage, please
+ refer to the Gnash User Manual.
+ </para>
+
+</sect1>
diff --git a/doc/C/usermanual/audience.xml b/doc/C/usermanual/audience.xml
new file mode 100644
index 0000000..691feea
--- /dev/null
+++ b/doc/C/usermanual/audience.xml
@@ -0,0 +1,11 @@
+<sect1 id="audience">
+ <title>Audience</title>
+
+ <para>
+ This manual is primarily focused on users interested in how to get
+ Gnash installed from a package, and basic usage as a web browser
+ plugin. For more technical details, please refer to the Gnash
+ Reference manual.
+ </para>
+
+</sect1>
--
1.9.1
_______________________________________________
Gnash-dev mailing list
Gnash-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnash-dev