commit dea90d901d712807e4739c1a27933a38f3c2bd32
parent 3739ad8463dbd8dd35c9fd44792e0712432e9212
Author: Florian Dold <dold@taler.net>
Date: Tue, 10 Nov 2026 17:51:11 +0100
wallet-core docs: fix links and mobile layout
Diffstat:
6 files changed, 16 insertions(+), 68 deletions(-)
diff --git a/_static/custom.css b/_static/custom.css
@@ -19,3 +19,17 @@
font-size: medium;
display: block;
}
+
+/* Wrap wallet API identifiers without changing scrollable code blocks. */
+#wallet-core-api code.literal,
+#wallet-core-api code.literal .pre,
+#wallet-core-api .sig,
+#wallet-core-api .sig .pre {
+ overflow-wrap: anywhere;
+ white-space: normal;
+}
+
+#wallet-core-api .sig .property {
+ display: inline-block;
+ margin-inline-start: 0.5em;
+}
diff --git a/core/api-wallet-core.rst b/core/api-wallet-core.rst
@@ -39,7 +39,7 @@ of wallet-core (``packages/taler-wallet-core/src/wallet-api-types.ts`` and
generated from these sources is also available in the
:doc:`wallet-core reference </wallet/wallet-core>`.
-The `glossary <https://docs.taler.net/taler-developer-manual.html#developer-glossary>`_
+The `glossary <https://docs.taler.net/developer/taler-developer-manual.html#developer-glossary>`_
defines all specific terms used in this section.
@@ -138,7 +138,7 @@ A request is always answered with exactly one of the following envelopes:
}
The ``error`` object carries a numeric ``code`` from the
-`error code registry <error-codes>`_ plus optional details. It has the
+:ref:`error code registry <error-codes>` plus optional details. It has the
same structure as the `ErrorDetail` of the REST APIs (see
:ref:`http-common`), but allows arbitrary additional fields depending on
the error code:
diff --git a/core/wallet-core/database/migrate-database.rst b/core/wallet-core/database/migrate-database.rst
@@ -51,7 +51,3 @@
// Database backend active after the request.
databaseBackend: WalletDatabaseBackend;
}
-
-.. ts:def:: WalletDatabaseBackend
-
- type WalletDatabaseBackend = "indexeddb" | "sqlite";
diff --git a/core/wallet-core/global-currency/get-currency-specification.rst b/core/wallet-core/global-currency/get-currency-specification.rst
@@ -33,49 +33,6 @@
currencySpecification: CurrencySpecification;
}
-.. ts:def:: ScopeInfo
-
- // Currency scope, discriminated on the "type" field.
- type ScopeInfo =
- | ScopeInfoGlobal
- | ScopeInfoExchange
- | ScopeInfoAuditor
- | ScopeInfoExchangeLegacyKeys;
-
-.. ts:def:: ScopeInfoGlobal
-
- type ScopeInfoGlobal = {
- type: ScopeType.Global;
- currency: string;
- };
-
-.. ts:def:: ScopeInfoExchange
-
- type ScopeInfoExchange = {
- type: ScopeType.Exchange;
- currency: string;
- url: string;
- };
-
-.. ts:def:: ScopeInfoAuditor
-
- type ScopeInfoAuditor = {
- type: ScopeType.Auditor;
- currency: string;
- url: string;
- };
-
-.. ts:def:: ScopeInfoExchangeLegacyKeys
-
- type ScopeInfoExchangeLegacyKeys = {
- type: ScopeType.ExchangeLegacyKeys;
- currency: string;
- url: string;
-
- // The superseded key the funds were issued under.
- masterPub: string;
- };
-
.. ts:def:: ScopeType
enum ScopeType {
diff --git a/core/wallet-core/testing/test-pay.rst b/core/wallet-core/testing/test-pay.rst
@@ -27,16 +27,6 @@
forcedCoinSel?: ForcedCoinSel;
}
-.. ts:def:: ForcedCoinSel
-
- // Forced coin selection for deposits/payments.
- interface ForcedCoinSel {
- coins: {
- value: AmountString;
- contribution: AmountString;
- }[];
- }
-
.. ts:def:: TestPayResult
interface TestPayResult {
diff --git a/core/wallet-core/testing/withdraw-test-balance.rst b/core/wallet-core/testing/withdraw-test-balance.rst
@@ -44,12 +44,3 @@
// the withdrawal as a foreign withdrawal account.
useForeignAccount?: boolean;
}
-
-.. ts:def:: ForcedDenomSel
-
- interface ForcedDenomSel {
- denoms: {
- value: AmountString;
- count: number;
- }[];
- }