Skip to content

Commit 11efb50

Browse files
committed
sync: fix XML to remove useless wrapping para tags via script
1 parent d76d9e4 commit 11efb50

26 files changed

Lines changed: 1366 additions & 1405 deletions

reference/sodium/constants.xml

Lines changed: 1041 additions & 1044 deletions
Large diffs are not rendered by default.

reference/sodium/functions/sodium-base642bin.xml

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<!-- EN-Revision: d76a7fe17dd2488e47d664a8ab38e161b13ac843 Maintainer: mauricio Status: ready --><!-- CREDITS: mauricio, leonardolara -->
3-
<refentry xml:id="function.sodium-base642bin" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
2+
<!-- EN-Revision: 2214cd3277cf065a3abf395e9bbde73ed61d7d12 Maintainer: mauricio Status: ready -->
3+
<!-- CREDITS: mauricio, leonardolara -->
4+
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="function.sodium-base642bin">
45
<refnamediv>
56
<refname>sodium_base642bin</refname>
67
<refpurpose>Decodifica uma string codificada em base64 para binário bruto.</refpurpose>
@@ -36,25 +37,23 @@
3637
<varlistentry>
3738
<term><parameter>id</parameter></term>
3839
<listitem>
39-
<para>
40-
<simplelist>
41-
<member>
42-
<constant>SODIUM_BASE64_VARIANT_ORIGINAL</constant> para codificação
43-
Base64 padrão (<literal>A-Za-z0-9/\+</literal>).
44-
</member>
45-
<member>
46-
<constant>SODIUM_BASE64_VARIANT_ORIGINAL_NO_PADDING</constant> para codificação
47-
Base64 padrão (<literal>A-Za-z0-9/\+</literal>), sem os caracteres de preenchimento <literal>=</literal>.
48-
</member>
49-
<member>
50-
<constant>SODIUM_BASE64_VARIANT_URLSAFE</constant> para codificação Base64 segura para URL (<literal>A-Za-z0-9\-_</literal>).
51-
</member>
52-
<member>
53-
<constant>SODIUM_BASE64_VARIANT_URLSAFE_NO_PADDING</constant> para codificação
54-
Base64 segura para URL (<literal>A-Za-z0-9\-_</literal>), sem os caracteres de preenchimento <literal>=</literal>.
55-
</member>
56-
</simplelist>
57-
</para>
40+
<simplelist>
41+
<member>
42+
<constant>SODIUM_BASE64_VARIANT_ORIGINAL</constant> para codificação
43+
Base64 padrão (<literal>A-Za-z0-9/\+</literal>).
44+
</member>
45+
<member>
46+
<constant>SODIUM_BASE64_VARIANT_ORIGINAL_NO_PADDING</constant> para codificação
47+
Base64 padrão (<literal>A-Za-z0-9/\+</literal>), sem os caracteres de preenchimento <literal>=</literal>.
48+
</member>
49+
<member>
50+
<constant>SODIUM_BASE64_VARIANT_URLSAFE</constant> para codificação Base64 segura para URL (<literal>A-Za-z0-9\-_</literal>).
51+
</member>
52+
<member>
53+
<constant>SODIUM_BASE64_VARIANT_URLSAFE_NO_PADDING</constant> para codificação
54+
Base64 segura para URL (<literal>A-Za-z0-9\-_</literal>), sem os caracteres de preenchimento <literal>=</literal>.
55+
</member>
56+
</simplelist>
5857
</listitem>
5958
</varlistentry>
6059
<varlistentry>

reference/sodium/functions/sodium-bin2base64.xml

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<!-- EN-Revision: d76a7fe17dd2488e47d664a8ab38e161b13ac843 Maintainer: mauricio Status: ready --><!-- CREDITS: mauricio, leonardolara -->
3-
<refentry xml:id="function.sodium-bin2base64" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
2+
<!-- EN-Revision: 2214cd3277cf065a3abf395e9bbde73ed61d7d12 Maintainer: mauricio Status: ready -->
3+
<!-- CREDITS: mauricio, leonardolara -->
4+
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="function.sodium-bin2base64">
45
<refnamediv>
56
<refname>sodium_bin2base64</refname>
67
<refpurpose>Codifica uma string binária bruta com base64.</refpurpose>
@@ -35,25 +36,23 @@
3536
<varlistentry>
3637
<term><parameter>id</parameter></term>
3738
<listitem>
38-
<para>
39-
<simplelist>
40-
<member>
41-
<constant>SODIUM_BASE64_VARIANT_ORIGINAL</constant> para codificação
42-
Base64 padrão (<literal>A-Za-z0-9/\+</literal>).
43-
</member>
44-
<member>
45-
<constant>SODIUM_BASE64_VARIANT_ORIGINAL_NO_PADDING</constant> para codificação
46-
Base64 padrão (<literal>A-Za-z0-9/\+</literal>), sem os caracteres de preenchimento <literal>=</literal>.
47-
</member>
48-
<member>
49-
<constant>SODIUM_BASE64_VARIANT_URLSAFE</constant> para codificação Base64 segura para URL (<literal>A-Za-z0-9\-_</literal>).
50-
</member>
51-
<member>
52-
<constant>SODIUM_BASE64_VARIANT_URLSAFE_NO_PADDING</constant> para codificação
53-
Base64 segura para URL (<literal>A-Za-z0-9\-_</literal>), sem os caracteres de preenchimento <literal>=</literal>.
54-
</member>
55-
</simplelist>
56-
</para>
39+
<simplelist>
40+
<member>
41+
<constant>SODIUM_BASE64_VARIANT_ORIGINAL</constant> para codificação
42+
Base64 padrão (<literal>A-Za-z0-9/\+</literal>).
43+
</member>
44+
<member>
45+
<constant>SODIUM_BASE64_VARIANT_ORIGINAL_NO_PADDING</constant> para codificação
46+
Base64 padrão (<literal>A-Za-z0-9/\+</literal>), sem os caracteres de preenchimento <literal>=</literal>.
47+
</member>
48+
<member>
49+
<constant>SODIUM_BASE64_VARIANT_URLSAFE</constant> para codificação Base64 segura para URL (<literal>A-Za-z0-9\-_</literal>).
50+
</member>
51+
<member>
52+
<constant>SODIUM_BASE64_VARIANT_URLSAFE_NO_PADDING</constant> para codificação
53+
Base64 segura para URL (<literal>A-Za-z0-9\-_</literal>), sem os caracteres de preenchimento <literal>=</literal>.
54+
</member>
55+
</simplelist>
5756
</listitem>
5857
</varlistentry>
5958
</variablelist>

reference/sodium/functions/sodium-crypto-core-ristretto255-add.xml

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
<?xml version="1.0" encoding="utf-8"?><!-- EN-Revision: 133b912de1379fe262b8a7bd7e9a83d5fdcc78ac Maintainer: leonardolara Status: ready --><!-- CREDITS: leonardolara -->
2-
<refentry xml:id="function.sodium-crypto-core-ristretto255-add" xmlns="http://docbook.org/ns/docbook">
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- EN-Revision: 2214cd3277cf065a3abf395e9bbde73ed61d7d12 Maintainer: leonardolara Status: ready -->
3+
<!-- CREDITS: leonardolara -->
4+
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.sodium-crypto-core-ristretto255-add">
35
<refnamediv>
46
<refname>sodium_crypto_core_ristretto255_add</refname>
57
<refpurpose>Adiciona um elemento</refpurpose>
@@ -51,10 +53,9 @@
5153

5254
<refsect1 role="examples">
5355
&reftitle.examples;
54-
<para>
55-
<example>
56-
<title>Exemplo de <function>sodium_crypto_core_ristretto255_add</function></title>
57-
<programlisting role="php">
56+
<example>
57+
<title>Exemplo de <function>sodium_crypto_core_ristretto255_add</function></title>
58+
<programlisting role="php">
5859
<![CDATA[
5960
<?php
6061
@@ -67,25 +68,22 @@ $value = sodium_crypto_core_ristretto255_sub($value, $bar);
6768
var_dump(hash_equals($foo, $value));
6869
?>
6970
]]>
70-
</programlisting>
71-
&example.outputs;
72-
<screen>
71+
</programlisting>
72+
&example.outputs;
73+
<screen>
7374
<![CDATA[
7475
bool(true)
7576
]]>
76-
</screen>
77-
</example>
78-
</para>
77+
</screen>
78+
</example>
7979
</refsect1>
8080

8181
<refsect1 role="seealso">
8282
&reftitle.seealso;
83-
<para>
84-
<simplelist>
85-
<member><function>sodium_crypto_core_ristretto255_random</function></member>
86-
<member><function>sodium_crypto_core_ristretto255_sub</function></member>
87-
</simplelist>
88-
</para>
83+
<simplelist>
84+
<member><function>sodium_crypto_core_ristretto255_random</function></member>
85+
<member><function>sodium_crypto_core_ristretto255_sub</function></member>
86+
</simplelist>
8987
</refsect1>
9088

9189
</refentry>

reference/sodium/functions/sodium-crypto-core-ristretto255-from-hash.xml

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
<?xml version="1.0" encoding="utf-8"?><!-- EN-Revision: 133b912de1379fe262b8a7bd7e9a83d5fdcc78ac Maintainer: leonardolara Status: ready --><!-- CREDITS: leonardolara -->
2-
<refentry xml:id="function.sodium-crypto-core-ristretto255-from-hash" xmlns="http://docbook.org/ns/docbook">
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- EN-Revision: 2214cd3277cf065a3abf395e9bbde73ed61d7d12 Maintainer: leonardolara Status: ready -->
3+
<!-- CREDITS: leonardolara -->
4+
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.sodium-crypto-core-ristretto255-from-hash">
35
<refnamediv>
46
<refname>sodium_crypto_core_ristretto255_from_hash</refname>
57
<refpurpose>Mapeia um vetor</refpurpose>
@@ -42,10 +44,9 @@
4244

4345
<refsect1 role="examples">
4446
&reftitle.examples;
45-
<para>
46-
<example>
47-
<title>Exemplo de <function>sodium_crypto_core_ristretto255_from_hash</function></title>
48-
<programlisting role="php">
47+
<example>
48+
<title>Exemplo de <function>sodium_crypto_core_ristretto255_from_hash</function></title>
49+
<programlisting role="php">
4950
<![CDATA[
5051
<?php
5152
@@ -56,26 +57,23 @@ $hashes = sodium_hex2bin(
5657
var_dump(sodium_bin2hex(sodium_crypto_core_ristretto255_from_hash($hashes)));
5758
?>
5859
]]>
59-
</programlisting>
60-
&example.outputs;
61-
<screen>
60+
</programlisting>
61+
&example.outputs;
62+
<screen>
6263
<![CDATA[
6364
string(64) "3066f82a1a747d45120d1740f14358531a8f04bbffe6a819f86dfe50f44a0a46"
6465
]]>
65-
</screen>
66-
</example>
67-
</para>
66+
</screen>
67+
</example>
6868
</refsect1>
6969

7070
<refsect1 role="seealso">
7171
&reftitle.seealso;
72-
<para>
73-
<simplelist>
74-
<member><function>sodium_hex2bin</function></member>
75-
<member><function>sodium_bin2hex</function></member>
76-
<member><function>sodium_crypto_core_ristretto255_from_hash</function></member>
77-
</simplelist>
78-
</para>
72+
<simplelist>
73+
<member><function>sodium_hex2bin</function></member>
74+
<member><function>sodium_bin2hex</function></member>
75+
<member><function>sodium_crypto_core_ristretto255_from_hash</function></member>
76+
</simplelist>
7977
</refsect1>
8078

8179
</refentry>

reference/sodium/functions/sodium-crypto-core-ristretto255-is-valid-point.xml

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
<?xml version="1.0" encoding="utf-8"?><!-- EN-Revision: 133b912de1379fe262b8a7bd7e9a83d5fdcc78ac Maintainer: leonardolara Status: ready --><!-- CREDITS: leonardolara -->
2-
<refentry xml:id="function.sodium-crypto-core-ristretto255-is-valid-point" xmlns="http://docbook.org/ns/docbook">
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- EN-Revision: 2214cd3277cf065a3abf395e9bbde73ed61d7d12 Maintainer: leonardolara Status: ready -->
3+
<!-- CREDITS: leonardolara -->
4+
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.sodium-crypto-core-ristretto255-is-valid-point">
35
<refnamediv>
46
<refname>sodium_crypto_core_ristretto255_is_valid_point</refname>
57
<refpurpose>Determina se um ponto está na curva ristretto255</refpurpose>
@@ -43,10 +45,9 @@
4345

4446
<refsect1 role="examples">
4547
&reftitle.examples;
46-
<para>
47-
<example>
48-
<title>Exemplo de <function>sodium_crypto_core_ristretto255_is_valid_point</function></title>
49-
<programlisting role="php">
48+
<example>
49+
<title>Exemplo de <function>sodium_crypto_core_ristretto255_is_valid_point</function></title>
50+
<programlisting role="php">
5051
<![CDATA[
5152
<?php
5253
@@ -56,25 +57,22 @@ $bar = sodium_crypto_scalarmult_ristretto255_base($foo);
5657
var_dump(sodium_crypto_core_ristretto255_is_valid_point($bar));
5758
?>
5859
]]>
59-
</programlisting>
60-
&example.outputs;
61-
<screen>
60+
</programlisting>
61+
&example.outputs;
62+
<screen>
6263
<![CDATA[
6364
bool(true)
6465
]]>
65-
</screen>
66-
</example>
67-
</para>
66+
</screen>
67+
</example>
6868
</refsect1>
6969

7070
<refsect1 role="seealso">
7171
&reftitle.seealso;
72-
<para>
73-
<simplelist>
74-
<member><function>sodium_crypto_core_ristretto255_scalar_random</function></member>
75-
<member><function>sodium_crypto_scalarmult_ristretto255_base</function></member>
76-
</simplelist>
77-
</para>
72+
<simplelist>
73+
<member><function>sodium_crypto_core_ristretto255_scalar_random</function></member>
74+
<member><function>sodium_crypto_scalarmult_ristretto255_base</function></member>
75+
</simplelist>
7876
</refsect1>
7977

8078
</refentry>

reference/sodium/functions/sodium-crypto-core-ristretto255-random.xml

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
<?xml version="1.0" encoding="utf-8"?><!-- EN-Revision: 133b912de1379fe262b8a7bd7e9a83d5fdcc78ac Maintainer: leonardolara Status: ready --><!-- CREDITS: leonardolara -->
2-
<refentry xml:id="function.sodium-crypto-core-ristretto255-random" xmlns="http://docbook.org/ns/docbook">
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- EN-Revision: 2214cd3277cf065a3abf395e9bbde73ed61d7d12 Maintainer: leonardolara Status: ready -->
3+
<!-- CREDITS: leonardolara -->
4+
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.sodium-crypto-core-ristretto255-random">
35
<refnamediv>
46
<refname>sodium_crypto_core_ristretto255_random</refname>
57
<refpurpose>Gera uma chave aleatória</refpurpose>
@@ -33,10 +35,9 @@
3335

3436
<refsect1 role="examples">
3537
&reftitle.examples;
36-
<para>
37-
<example>
38-
<title>Exemplo de <function>sodium_crypto_core_ristretto255_random</function></title>
39-
<programlisting role="php">
38+
<example>
39+
<title>Exemplo de <function>sodium_crypto_core_ristretto255_random</function></title>
40+
<programlisting role="php">
4041
<![CDATA[
4142
<?php
4243
@@ -49,25 +50,22 @@ $value = sodium_crypto_core_ristretto255_sub($value, $bar);
4950
var_dump(hash_equals($foo, $value));
5051
?>
5152
]]>
52-
</programlisting>
53-
&example.outputs;
54-
<screen>
53+
</programlisting>
54+
&example.outputs;
55+
<screen>
5556
<![CDATA[
5657
bool(true)
5758
]]>
58-
</screen>
59-
</example>
60-
</para>
59+
</screen>
60+
</example>
6161
</refsect1>
6262

6363
<refsect1 role="seealso">
6464
&reftitle.seealso;
65-
<para>
66-
<simplelist>
67-
<member><function>sodium_crypto_core_ristretto255_add</function></member>
68-
<member><function>sodium_crypto_core_ristretto255_sub</function></member>
69-
</simplelist>
70-
</para>
65+
<simplelist>
66+
<member><function>sodium_crypto_core_ristretto255_add</function></member>
67+
<member><function>sodium_crypto_core_ristretto255_sub</function></member>
68+
</simplelist>
7169
</refsect1>
7270

7371
</refentry>

0 commit comments

Comments
 (0)