Skip to content

Commit 997700a

Browse files
committed
svn : fix XML by converting para to simpara tags via script
1 parent 3a2179f commit 997700a

51 files changed

Lines changed: 354 additions & 383 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

reference/svn/book.xml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,31 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
33
<!-- State: experimental -->
4-
5-
<book xml:id="book.svn" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
4+
<book xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="book.svn">
65
<?phpdoc extension-membership="pecl" ?>
76
<title>Subversion</title>
87
<titleabbrev>SVN</titleabbrev>
9-
8+
109
<!-- {{{ preface -->
1110
<preface xml:id="intro.svn">
1211
&reftitle.intro;
13-
<para>
12+
<simpara>
1413
This extension implements PHP bindings for
1514
<link xlink:href="&url.svn;">Subversion</link> (SVN), a version
1615
control system, allowing PHP scripts to communicate with SVN repositories
1716
and working copies without direct command line calls to the
1817
<filename>svn</filename>
1918
executable.
20-
</para>
19+
</simpara>
2120
&warn.experimental;
2221
</preface>
2322
<!-- }}} -->
24-
23+
2524
&reference.svn.setup;
2625
&reference.svn.constants;
2726
&reference.svn.reference;
2827

2928
</book>
30-
3129
<!-- Keep this comment at the end of the file
3230
Local variables:
3331
mode: sgml
@@ -48,4 +46,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
4846
vim: et tw=78 syn=sgml
4947
vi: ts=1 sw=1
5048
-->
51-

reference/svn/configure.xml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,30 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<section xml:id="svn.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
3+
<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="svn.installation">
44
&reftitle.install;
5-
<para>
5+
<simpara>
66
&pecl.info;
77
<link xlink:href="&url.pecl.package;svn"/>
8-
</para>
9-
<para>
8+
</simpara>
9+
<simpara>
1010
If <filename>./configure</filename> is having trouble finding the
1111
SVN files (for example, Subversion was installed with a
1212
different prefix directory), use
1313
<userinput>./configure --with-svn=$USR_PATH</userinput>
1414
to specify the directory where the
1515
<filename>include/subversion-1/</filename> folder is located.
16-
</para>
17-
<para>
16+
</simpara>
17+
<simpara>
1818
&pecl.windows.download;
19-
</para>
19+
</simpara>
2020
<warning>
21-
<para>
21+
<simpara>
2222
If the extension is compiled against libsvn 1.3,
2323
functions that work with working copies will fail
2424
when used on working copies created by Subversion 1.4.
25-
</para>
25+
</simpara>
2626
</warning>
2727
</section>
28-
2928
<!-- Keep this comment at the end of the file
3029
Local variables:
3130
mode: sgml

reference/svn/functions/svn-add.xml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
<methodparam choice="opt"><type>bool</type><parameter>recursive</parameter><initializer>&true;</initializer></methodparam>
1515
<methodparam choice="opt"><type>bool</type><parameter>force</parameter><initializer>&false;</initializer></methodparam>
1616
</methodsynopsis>
17-
<para>
17+
<simpara>
1818
Adds the file, directory or symbolic link at <parameter>path</parameter>
1919
to the working directory. The item will be added to the repository
2020
the next time you call <function>svn_commit</function> on the working
2121
copy.
22-
</para>
22+
</simpara>
2323
</refsect1>
2424

2525
<refsect1 role="parameters">
@@ -28,39 +28,39 @@
2828
<varlistentry>
2929
<term><parameter>path</parameter></term>
3030
<listitem>
31-
<para>
31+
<simpara>
3232
Path of item to add.
33-
</para>
33+
</simpara>
3434
&svn.relativepath;
3535
</listitem>
3636
</varlistentry>
3737
<varlistentry>
3838
<term><parameter>recursive</parameter></term>
3939
<listitem>
40-
<para>
40+
<simpara>
4141
If item is directory, whether or not to recursively add
4242
all of its contents. Default is &true;
43-
</para>
43+
</simpara>
4444
</listitem>
4545
</varlistentry>
4646
<varlistentry>
4747
<term><parameter>force</parameter></term>
4848
<listitem>
49-
<para>
49+
<simpara>
5050
If true, Subversion will recurse into already versioned directories
5151
in order to add unversioned files that may be hiding in those
5252
directories. Default is &false;
53-
</para>
53+
</simpara>
5454
</listitem>
5555
</varlistentry>
5656
</variablelist>
5757

5858
</refsect1>
5959
<refsect1 role="returnvalues">
6060
&reftitle.returnvalues;
61-
<para>
61+
<simpara>
6262
&return.success;
63-
</para>
63+
</simpara>
6464
</refsect1>
6565

6666
<!-- Use when ERRORS exist
@@ -100,28 +100,28 @@
100100
&reftitle.examples;
101101
<example>
102102
<title><function>svn_add</function> example</title>
103-
<para>
103+
<simpara>
104104
In a working directory where <userinput>svn status</userinput>
105105
returns:
106-
</para>
106+
</simpara>
107107
<screen>
108108
<![CDATA[
109109
$ svn status
110110
? foobar.txt
111111
]]>
112112
</screen>
113-
<para>...this code:</para>
113+
<simpara>...this code:</simpara>
114114
<programlisting role="php">
115115
<![CDATA[
116116
<?php
117117
svn_add('foobar.txt');
118118
?>
119119
]]>
120120
</programlisting>
121-
<para>
121+
<simpara>
122122
...will schedule <filename>foobar.txt</filename> for addition into
123123
the repository.
124-
</para>
124+
</simpara>
125125
</example>
126126
</refsect1>
127127

reference/svn/functions/svn-auth-get-parameter.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
<type>string</type><methodname>svn_auth_get_parameter</methodname>
1313
<methodparam><type>string</type><parameter>key</parameter></methodparam>
1414
</methodsynopsis>
15-
<para>
15+
<simpara>
1616
Retrieves authentication parameter at <parameter>key</parameter>.
1717
For a list of valid keys and their meanings, consult the
1818
<link linkend="svn.constants.auth">authentication constants list</link>.
19-
</para>
19+
</simpara>
2020
</refsect1>
2121

2222
<refsect1 role="parameters">
@@ -25,21 +25,21 @@
2525
<varlistentry>
2626
<term><parameter>key</parameter></term>
2727
<listitem>
28-
<para>
28+
<simpara>
2929
String key name. Use the <link linkend="svn.constants.auth">authentication constants</link>
3030
defined by this extension to specify a key.
31-
</para>
31+
</simpara>
3232
</listitem>
3333
</varlistentry>
3434
</variablelist>
3535

3636
</refsect1>
3737
<refsect1 role="returnvalues">
3838
&reftitle.returnvalues;
39-
<para>
39+
<simpara>
4040
Returns the string value of the parameter at <parameter>key</parameter>;
4141
returns &null; if parameter does not exist.
42-
</para>
42+
</simpara>
4343
</refsect1>
4444

4545
<refsect1 role="notes">

reference/svn/functions/svn-auth-set-parameter.xml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
<methodparam><type>string</type><parameter>key</parameter></methodparam>
1414
<methodparam><type>string</type><parameter>value</parameter></methodparam>
1515
</methodsynopsis>
16-
<para>
16+
<simpara>
1717
Sets authentication parameter at <parameter>key</parameter> to <parameter>value</parameter>.
1818
For a list of valid keys and their meanings, consult the
1919
<link linkend="svn.constants.auth">authentication constants list</link>.
20-
</para>
20+
</simpara>
2121
</refsect1>
2222

2323
<refsect1 role="parameters">
@@ -26,29 +26,29 @@
2626
<varlistentry>
2727
<term><parameter>key</parameter></term>
2828
<listitem>
29-
<para>
29+
<simpara>
3030
String key name. Use the <link linkend="svn.constants.auth">authentication constants</link>
3131
defined by this extension to specify a key.
32-
</para>
32+
</simpara>
3333
</listitem>
3434
</varlistentry>
3535
<varlistentry>
3636
<term><parameter>value</parameter></term>
3737
<listitem>
38-
<para>
38+
<simpara>
3939
String value to set to parameter at key. Format of value varies
4040
with the parameter.
41-
</para>
41+
</simpara>
4242
</listitem>
4343
</varlistentry>
4444
</variablelist>
4545
</refsect1>
4646

4747
<refsect1 role="returnvalues">
4848
&reftitle.returnvalues;
49-
<para>
49+
<simpara>
5050
&return.void;
51-
</para>
51+
</simpara>
5252
</refsect1>
5353

5454
<!-- Use when ERRORS exist
@@ -88,10 +88,10 @@
8888
&reftitle.examples;
8989
<example>
9090
<title>Default authentication example</title>
91-
<para>
91+
<simpara>
9292
This example configures SVN so that the default username to use
9393
is 'Bob' and the default password is 'abc123':
94-
</para>
94+
</simpara>
9595
<programlisting role="php">
9696
<![CDATA[
9797
<?php

reference/svn/functions/svn-blame.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
<methodparam><type>string</type><parameter>repository_url</parameter></methodparam>
1414
<methodparam choice="opt"><type>int</type><parameter>revision_no</parameter><initializer>SVN_REVISION_HEAD</initializer></methodparam>
1515
</methodsynopsis>
16-
<para>
16+
<simpara>
1717
Get the SVN blame of a file from a repository URL.
18-
</para>
18+
</simpara>
1919
</refsect1>
2020

2121
<refsect1 role="parameters">
@@ -24,29 +24,29 @@
2424
<varlistentry>
2525
<term><parameter>repository_url</parameter></term>
2626
<listitem>
27-
<para>
27+
<simpara>
2828
The repository URL.
29-
</para>
29+
</simpara>
3030
</listitem>
3131
</varlistentry>
3232
<varlistentry>
3333
<term><parameter>revision_no</parameter></term>
3434
<listitem>
35-
<para>
35+
<simpara>
3636
The revision number.
37-
</para>
37+
</simpara>
3838
</listitem>
3939
</varlistentry>
4040
</variablelist>
4141
</refsect1>
4242

4343
<refsect1 role="returnvalues">
4444
&reftitle.returnvalues;
45-
<para>
45+
<simpara>
4646
An <type>array</type> of SVN blame information separated by line
4747
which includes the revision number, line number, line of code,
4848
author, and date.
49-
</para>
49+
</simpara>
5050
</refsect1>
5151

5252
<refsect1 role="examples">

reference/svn/functions/svn-cat.xml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
<methodparam><type>string</type><parameter>repos_url</parameter></methodparam>
1414
<methodparam choice="opt"><type>int</type><parameter>revision_no</parameter></methodparam>
1515
</methodsynopsis>
16-
<para>
16+
<simpara>
1717
Returns the contents of the URL <parameter>repos_url</parameter> to
1818
a file in the repository, optionally at revision number
1919
<parameter>revision_no</parameter>.
20-
</para>
20+
</simpara>
2121
</refsect1>
2222

2323
<refsect1 role="parameters">
@@ -26,29 +26,29 @@
2626
<varlistentry>
2727
<term><parameter>repos_url</parameter></term>
2828
<listitem>
29-
<para>
29+
<simpara>
3030
String URL path to item in a repository.
31-
</para>
31+
</simpara>
3232
</listitem>
3333
</varlistentry>
3434
<varlistentry>
3535
<term><parameter>revision_no</parameter></term>
3636
<listitem>
37-
<para>
37+
<simpara>
3838
Integer revision number of item to retrieve, default is the HEAD
3939
revision.
40-
</para>
40+
</simpara>
4141
</listitem>
4242
</varlistentry>
4343
</variablelist>
4444

4545
</refsect1>
4646
<refsect1 role="returnvalues">
4747
&reftitle.returnvalues;
48-
<para>
48+
<simpara>
4949
Returns the string contents of the item from the repository on
5050
success, and &false; on failure.
51-
</para>
51+
</simpara>
5252
</refsect1>
5353

5454
<!-- Use when ERRORS exist
@@ -88,9 +88,9 @@
8888
&reftitle.examples;
8989
<example>
9090
<title>Basic example</title>
91-
<para>
91+
<simpara>
9292
This example retrieves the contents of a file at revision 28:
93-
</para>
93+
</simpara>
9494
<programlisting role="php">
9595
<![CDATA[
9696
<?php

0 commit comments

Comments
 (0)