[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-util] branch master updated: regenerate doc.{html,txt}
From: |
gnunet |
Subject: |
[taler-taler-util] branch master updated: regenerate doc.{html,txt} |
Date: |
Thu, 10 Feb 2022 20:04:54 +0100 |
This is an automated email from the git hooks/post-receive script.
ttn pushed a commit to branch master
in repository taler-util.
The following commit(s) were added to refs/heads/master by this push:
new 0b4d950 regenerate doc.{html,txt}
0b4d950 is described below
commit 0b4d950a77f93340485e1876236a7e7729de87ff
Author: Thien-Thi Nguyen <ttn@gnu.org>
AuthorDate: Thu Feb 10 14:04:46 2022 -0500
regenerate doc.{html,txt}
---
doc/doc.html | 62 ++++++++++++++++++++++++++++++------------------------------
doc/doc.txt | 10 +++++-----
2 files changed, 36 insertions(+), 36 deletions(-)
diff --git a/doc/doc.html b/doc/doc.html
index fbe6930..1c765c7 100644
--- a/doc/doc.html
+++ b/doc/doc.html
@@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
-<!-- 2022-02-10 gio 10:18 -->
+<!-- 2022-02-10 gio 14:04 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Taler-Util Library</title>
@@ -247,18 +247,18 @@ for the JavaScript code in this tag.
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
-<li><a href="#orgd78f678">1. classes overview</a>
+<li><a href="#org9fd06cb">1. classes overview</a>
<ul>
-<li><a href="#orgda92b68">1.1. amount (currency + value)</a></li>
-<li><a href="#org4a5e10a">1.2. logging</a></li>
-<li><a href="#org9b2f3ca">1.3. ‘payto’ URI particularities</a></li>
-<li><a href="#org673ce64">1.4. configuration</a></li>
+<li><a href="#org6e7485b">1.1. amount (currency + value)</a></li>
+<li><a href="#org3a12cb9">1.2. logging</a></li>
+<li><a href="#orga412b06">1.3. ‘payto’ URI particularities</a></li>
+<li><a href="#orgb07a77b">1.4. configuration</a></li>
</ul>
</li>
-<li><a href="#org8a6eab3">2. classes <code>Amount</code>,
<code>SignedAmount</code></a>
+<li><a href="#org85d1f4c">2. classes <code>Amount</code>,
<code>SignedAmount</code></a>
<ul>
-<li><a href="#orgc6e89e9">2.1. class <code>Amount</code></a></li>
-<li><a href="#org1c9854a">2.2. class <code>SignedAmount</code></a></li>
+<li><a href="#org8c0b507">2.1. class <code>Amount</code></a></li>
+<li><a href="#orgccbc767">2.2. class <code>SignedAmount</code></a></li>
</ul>
</li>
</ul>
@@ -277,8 +277,8 @@ documentation, we can convert it to Sphinx (or whatever)
format.
Ongoing discussion: <a
href="https://bugs.gnunet.org/view.php?id=6649">https://bugs.gnunet.org/view.php?id=6649</a>
</p>
-<div id="outline-container-orgd78f678" class="outline-2">
-<h2 id="orgd78f678"><span class="section-number-2">1</span> classes
overview</h2>
+<div id="outline-container-org9fd06cb" class="outline-2">
+<h2 id="org9fd06cb"><span class="section-number-2">1</span> classes
overview</h2>
<div class="outline-text-2" id="text-1">
<p>
These are grouped according to area of concern, which (uncoincidentally)
@@ -292,8 +292,8 @@ The rest are <i>leaf classes</i>.
</p>
</div>
-<div id="outline-container-orgda92b68" class="outline-3">
-<h3 id="orgda92b68"><span class="section-number-3">1.1</span> amount (currency
+ value)</h3>
+<div id="outline-container-org6e7485b" class="outline-3">
+<h3 id="org6e7485b"><span class="section-number-3">1.1</span> amount (currency
+ value)</h3>
<div class="outline-text-3" id="text-1-1">
<ul class="org-ul">
<li>CurrencyMismatchError(Exception)</li>
@@ -305,8 +305,8 @@ The rest are <i>leaf classes</i>.
</div>
</div>
-<div id="outline-container-org4a5e10a" class="outline-3">
-<h3 id="org4a5e10a"><span class="section-number-3">1.2</span> logging</h3>
+<div id="outline-container-org3a12cb9" class="outline-3">
+<h3 id="org3a12cb9"><span class="section-number-3">1.2</span> logging</h3>
<div class="outline-text-3" id="text-1-2">
<ul class="org-ul">
<li>LogDefinition</li>
@@ -316,8 +316,8 @@ The rest are <i>leaf classes</i>.
</div>
</div>
-<div id="outline-container-org9b2f3ca" class="outline-3">
-<h3 id="org9b2f3ca"><span class="section-number-3">1.3</span> ‘payto’ URI
particularities</h3>
+<div id="outline-container-orga412b06" class="outline-3">
+<h3 id="orga412b06"><span class="section-number-3">1.3</span> ‘payto’ URI
particularities</h3>
<div class="outline-text-3" id="text-1-3">
<ul class="org-ul">
<li>PaytoFormatError(Exception)</li>
@@ -326,8 +326,8 @@ The rest are <i>leaf classes</i>.
</div>
</div>
-<div id="outline-container-org673ce64" class="outline-3">
-<h3 id="org673ce64"><span class="section-number-3">1.4</span>
configuration</h3>
+<div id="outline-container-orgb07a77b" class="outline-3">
+<h3 id="orgb07a77b"><span class="section-number-3">1.4</span>
configuration</h3>
<div class="outline-text-3" id="text-1-4">
<ul class="org-ul">
<li>ConfigurationError(Exception)</li>
@@ -341,8 +341,8 @@ The rest are <i>leaf classes</i>.
</div>
</div>
-<div id="outline-container-org8a6eab3" class="outline-2">
-<h2 id="org8a6eab3"><span class="section-number-2">2</span> classes
<code>Amount</code>, <code>SignedAmount</code></h2>
+<div id="outline-container-org85d1f4c" class="outline-2">
+<h2 id="org85d1f4c"><span class="section-number-2">2</span> classes
<code>Amount</code>, <code>SignedAmount</code></h2>
<div class="outline-text-2" id="text-2">
<p>
These classes handle Taler <i>amounts</i>, objects referred to in the format
@@ -360,17 +360,17 @@ the constructor throws an
<code>AmountOverflowError</code> exception.
</p>
</div>
-<div id="outline-container-orgc6e89e9" class="outline-3">
-<h3 id="orgc6e89e9"><span class="section-number-3">2.1</span> class
<code>Amount</code></h3>
+<div id="outline-container-org8c0b507" class="outline-3">
+<h3 id="org8c0b507"><span class="section-number-3">2.1</span> class
<code>Amount</code></h3>
<div class="outline-text-3" id="text-2-1">
<p>
The constructor takes three args: <i>currency</i>, <i>value</i>,
<i>fraction</i>.
</p>
<pre class="example">
->>> import taler.util.amount as Amount
+>>> from taler.util import amount
# KUDOS 10.50
->>> amt = Amount.Amount ("KUDOS", 10, 50000000)
+>>> amt = amount.Amount ("KUDOS", 10, 50000000)
>>> amt
Amount(currency='KUDOS', value=10, fraction=50000000)
</pre>
@@ -393,7 +393,7 @@ and <code>AmountOverflowError</code> if the fraction
portion is too long.
</p>
<pre class="example">
->>> Amount.Amount.parse ("KUDOS:10.12345678")
+>>> amount.Amount.parse ("KUDOS:10.12345678")
Amount(currency='KUDOS', value=10, fraction=12345678)
</pre>
@@ -407,7 +407,7 @@ a <code>CurrencyMismatchError</code> exception.
<pre class="example">
>>> amt + amt
Amount(currency='KUDOS', value=21, fraction=0)
->>> another = Amount.Amount ("KUDOS", 5, 42)
+>>> another = amount.Amount ("KUDOS", 5, 42)
>>> amt - another
Amount(currency='KUDOS', value=5, fraction=49999958)
</pre>
@@ -473,8 +473,8 @@ False
</div>
</div>
-<div id="outline-container-org1c9854a" class="outline-3">
-<h3 id="org1c9854a"><span class="section-number-3">2.2</span> class
<code>SignedAmount</code></h3>
+<div id="outline-container-orgccbc767" class="outline-3">
+<h3 id="orgccbc767"><span class="section-number-3">2.2</span> class
<code>SignedAmount</code></h3>
<div class="outline-text-3" id="text-2-2">
<p>
A <code>SignedAmount</code> object is an <i>amount with a sign</i>.
@@ -526,7 +526,7 @@ positive <code>SignedAmount</code>.
</p>
<pre class="example">
->>> Amount.SignedAmount.parse ("-KUDOS:2.34")
+>>> amount.SignedAmount.parse ("-KUDOS:2.34")
SignedAmount(is_positive=False, amount=Amount(currency='KUDOS', value=2,
fraction=34000000))
</pre>
@@ -548,7 +548,7 @@ True
</div>
<div id="postamble" class="status">
<p class="author">Author: Thien-Thi Nguyen</p>
-<p class="date">Created: 2022-02-10 gio 10:18</p>
+<p class="date">Created: 2022-02-10 gio 14:04</p>
<p class="validation"><a
href="http://validator.w3.org/check?uri=referer">Validate</a></p>
</div>
</body>
diff --git a/doc/doc.txt b/doc/doc.txt
index 1b7f6d7..6f818ca 100644
--- a/doc/doc.txt
+++ b/doc/doc.txt
@@ -97,9 +97,9 @@ Ongoing discussion: <https://bugs.gnunet.org/view.php?id=6649>
The constructor takes three args: /currency/, /value/, /fraction/.
┌────
- │ >>> import taler.util.amount as Amount
+ │ >>> from taler.util import amount
│ # KUDOS 10.50
- │ >>> amt = Amount.Amount ("KUDOS", 10, 50000000)
+ │ >>> amt = amount.Amount ("KUDOS", 10, 50000000)
│ >>> amt
│ Amount(currency='KUDOS', value=10, fraction=50000000)
└────
@@ -119,7 +119,7 @@ Ongoing discussion:
<https://bugs.gnunet.org/view.php?id=6649>
long.
┌────
- │ >>> Amount.Amount.parse ("KUDOS:10.12345678")
+ │ >>> amount.Amount.parse ("KUDOS:10.12345678")
│ Amount(currency='KUDOS', value=10, fraction=12345678)
└────
@@ -131,7 +131,7 @@ Ongoing discussion:
<https://bugs.gnunet.org/view.php?id=6649>
┌────
│ >>> amt + amt
│ Amount(currency='KUDOS', value=21, fraction=0)
- │ >>> another = Amount.Amount ("KUDOS", 5, 42)
+ │ >>> another = amount.Amount ("KUDOS", 5, 42)
│ >>> amt - another
│ Amount(currency='KUDOS', value=5, fraction=49999958)
└────
@@ -232,7 +232,7 @@ Ongoing discussion:
<https://bugs.gnunet.org/view.php?id=6649>
positive ‘SignedAmount’.
┌────
- │ >>> Amount.SignedAmount.parse ("-KUDOS:2.34")
+ │ >>> amount.SignedAmount.parse ("-KUDOS:2.34")
│ SignedAmount(is_positive=False, amount=Amount(currency='KUDOS', value=2,
fraction=34000000))
└────
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-taler-util] branch master updated: regenerate doc.{html,txt},
gnunet <=