MFB: Upgrade to the new-reference-structure

- (Created missing setup sections in setup.xml, if any)
 - Moved the intro to book.xml
 - Changed the intro ID from <extname>.intro to intro.<extname>
 - Moved the constants entity to book.xml
 - Changed constants.xml to be an appendix
 - Moved the requrements and resources sections to setup.xml


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@248778 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Hannes Magnusson 2007-12-22 16:58:35 +00:00
parent a907f0aaa2
commit cce9620f6d
4 changed files with 118 additions and 42 deletions

46
reference/hash/book.xml Normal file
View file

@ -0,0 +1,46 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.2 $ -->
<!-- Purpose: mathcrypto.crypto -->
<!-- Membership: bundled, pecl -->
<!-- State: experimental -->
<book xml:id="book.hash" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>hash</title>
<!-- {{{ preface -->
<preface xml:id="intro.hash">
&reftitle.intro;
<para>
Message Digest (hash) engine. Allows direct or incremental processing
of arbitrary length messages using a variety of hashing algorithms.
</para>
</preface>
<!-- }}} -->
&reference.hash.setup;
&reference.hash.constants;
&reference.hash.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
-->

View file

@ -1,6 +1,6 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.2 $ -->
<section xml:id="hash.constants" xmlns="http://docbook.org/ns/docbook">
<!-- $Revision: 1.3 $ -->
<appendix xml:id="hash.constants" xmlns="http://docbook.org/ns/docbook">
&reftitle.constants;
&extension.constants;
<variablelist>
@ -18,7 +18,7 @@
</listitem>
</varlistentry>
</variablelist>
</section>
</appendix>
<!-- Keep this comment at the end of the file
Local variables:

View file

@ -1,46 +1,10 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.7 $ -->
<!-- Purpose: mathcrypto.crypto -->
<!-- Membership: bundled, pecl -->
<!-- State: experimental -->
<!-- $Revision: 1.8 $ -->
<reference xml:id="ref.hash" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>hash Functions</title>
<title>hash &Functions;</title>
<titleabbrev>hash</titleabbrev>
<partintro>
<section xml:id="hash.intro">
&reftitle.intro;
<para>
Message Digest (hash) engine. Allows direct or incremental processing
of arbitrary length messages using a variety of hashing algorithms.
</para>
</section>
<section xml:id="hash.requirements">
&reftitle.required;
<simpara>
The Hash extension requires no external libraries and is enabled by
default as of PHP 5.1.2. It may be explicitly disabled by using the
--disable-hash switch to configure. Earlier versions of PHP may
incorporate the Hash extension by installing the
<link xlink:href="&url.pecl.package;hash">PECL module</link>.
</simpara>
</section>
<section xml:id="hash.resources">
&reftitle.resources;
<para>
This extension defines a Hashing Context resource returned by
<function>hash_init</function>.
</para>
</section>
<!-- Information found in constants.xml -->
&reference.hash.constants;
</partintro>
&reference.hash.entities.functions;
</reference>

66
reference/hash/setup.xml Normal file
View file

@ -0,0 +1,66 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.2 $ -->
<chapter xml:id="hash.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.setup;
<!-- {{{ Requirements -->
<section xml:id="hash.requirements">
&reftitle.required;
<simpara>
The Hash extension requires no external libraries and is enabled by
default as of PHP 5.1.2. It may be explicitly disabled by using the
--disable-hash switch to configure. Earlier versions of PHP may
incorporate the Hash extension by installing the
<link xlink:href="&url.pecl.package;hash">PECL module</link>.
</simpara>
</section>
<!-- }}} -->
<!-- {{{ Installation -->
<section xml:id="hash.installation">
&reftitle.install;
&no.install;
</section>
<!-- }}} -->
<!-- {{{ Configuration -->
<section xml:id="hash.configuration">
&reftitle.runtime;
&no.config;
</section>
<!-- }}} -->
<!-- {{{ Resources -->
<section xml:id="hash.resources">
&reftitle.resources;
<para>
This extension defines a Hashing Context resource returned by
<function>hash_init</function>.
</para>
</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
-->