From 72c57a3d289686201c6c0f980dcd024fb677c586 Mon Sep 17 00:00:00 2001
From: Hannes Magnusson <bjori@php.net>
Date: Mon, 10 Dec 2007 18:13:35 +0000
Subject: [PATCH] MFB:     - Split reference.xml into book.xml, setup.xml &
 constants.xml     - Change the intro ID to intro.<extname>

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@247931 c90b9560-bf6c-de11-be94-00142212c4b1
---
 reference/apc/book.xml      | 45 +++++++++++++++++++++++
 reference/apc/constants.xml | 29 +++++++++++++++
 reference/apc/reference.xml | 63 +++-----------------------------
 reference/apc/setup.xml     | 72 +++++++++++++++++++++++++++++++++++++
 4 files changed, 150 insertions(+), 59 deletions(-)
 create mode 100644 reference/apc/book.xml
 create mode 100644 reference/apc/constants.xml
 create mode 100644 reference/apc/setup.xml

diff --git a/reference/apc/book.xml b/reference/apc/book.xml
new file mode 100644
index 0000000000..a1b7ee03a7
--- /dev/null
+++ b/reference/apc/book.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- $Revision: 1.2 $ -->
+<!-- Purpose: basic.php -->
+<!-- Membership: pecl -->
+
+<book xml:id="book.apc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title>Alternative PHP Cache</title>
+ <titleabbrev>APC</titleabbrev>
+
+ <preface xml:id="intro.apc">
+  &reftitle.intro;
+  <para>
+   The Alternative PHP Cache (APC) is a free and open opcode cache for PHP.
+   It was conceived of to provide a free, open, and robust framework for
+   caching and optimizing PHP intermediate code.
+  </para>
+ </preface>
+
+ &reference.apc.setup;
+ &reference.apc.constants;
+ &reference.apc.reference;
+
+</book>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"../../../manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
+
diff --git a/reference/apc/constants.xml b/reference/apc/constants.xml
new file mode 100644
index 0000000000..4aaefbbb1d
--- /dev/null
+++ b/reference/apc/constants.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- $Revision: 1.2 $ -->
+
+<appendix xml:id="apc.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ &reftitle.constants;
+ &no.constants;
+</appendix>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"../../../manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
+
diff --git a/reference/apc/reference.xml b/reference/apc/reference.xml
index d3c2eb4d23..147f9a01b6 100644
--- a/reference/apc/reference.xml
+++ b/reference/apc/reference.xml
@@ -1,67 +1,11 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
-<!-- Purpose: basic.php -->
-<!-- Membership: pecl -->
+<!-- $Revision: 1.8 $ -->
 
 <reference xml:id="ref.apc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
- <title>Alternative PHP Cache</title>
- <titleabbrev>APC</titleabbrev>
+ <title>APC &Functions;</title>
 
- <partintro>
-  <section xml:id="apc.intro">
-   &reftitle.intro;
-   <para>
-    The Alternative PHP Cache (APC) is a free and open opcode cache for PHP.
-    It was conceived of to provide a free, open, and robust framework for
-    caching and optimizing PHP intermediate code.
-   </para>
-  </section>
+ &reference.apc.entities.functions;
 
-  <section xml:id="apc.installation">
-   &reftitle.install;
-   <para>
-    &pecl.moved;
-   </para>
-   <para>
-    &pecl.info;
-    <link xlink:href="&url.pecl.package;apc">&url.pecl.package;apc</link>.
-   </para>
-   <para>
-    &pecl.windows.download;
-   </para>
-   <note>
-    <simpara>
-     On Windows, APC needs a temp path to exist, and be
-     writable by the web server.  It checks TMP, TEMP,
-     USERPROFILE environment variables in that order
-     and finally tries the WINDOWS directory if none of
-     those are set.
-    </simpara>
-   </note>
-   <note>
-    <simpara>
-     For more in-depth, highly technical implementation details, see the
-     <link xlink:href="&url.apc.technotes;">
-      developer-supplied TECHNOTES file
-     </link>.
-    </simpara>
-   </note>
-  </section>
-               
-  &reference.apc.ini;
- 
-  <section xml:id="apc.resources">
-   &reftitle.resources;
-   &no.resource;
-  </section>
-  
-  <section xml:id="apc.constants">
-   &reftitle.constants;
-   &no.constants;
-  </section>
- </partintro>
-
-&reference.apc.entities.functions;
 </reference>
 
 <!-- Keep this comment at the end of the file
@@ -84,3 +28,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
 vim: et tw=78 syn=sgml
 vi: ts=1 sw=1
 -->
+
diff --git a/reference/apc/setup.xml b/reference/apc/setup.xml
new file mode 100644
index 0000000000..35ac698198
--- /dev/null
+++ b/reference/apc/setup.xml
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- $Revision: 1.2 $ -->
+
+<chapter xml:id="apc.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ &reftitle.setup;
+
+ <section xml:id="apc.requirements">
+  &reftitle.required;
+  &no.requirement;
+ </section>
+
+ <section xml:id="apc.installation">
+  &reftitle.install;
+  <para>
+   &pecl.moved;
+  </para>
+  <para>
+   &pecl.info;
+   <link xlink:href="&url.pecl.package;apc">&url.pecl.package;apc</link>.
+  </para>
+  <para>
+   &pecl.windows.download;
+  </para>
+  <note>
+   <simpara>
+    On Windows, APC needs a temp path to exist, and be
+    writable by the web server.  It checks TMP, TEMP,
+    USERPROFILE environment variables in that order
+    and finally tries the WINDOWS directory if none of
+    those are set.
+   </simpara>
+  </note>
+  <note>
+   <simpara>
+    For more in-depth, highly technical implementation details, see the
+    <link xlink:href="&url.apc.technotes;">
+     developer-supplied TECHNOTES file
+    </link>.
+   </simpara>
+  </note>
+ </section>
+
+ &reference.apc.ini;
+
+ <section xml:id="apc.resources">
+  &reftitle.resources;
+  &no.resource;
+ </section>
+
+</chapter>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"../../../manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
+