[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-docs] branch master updated: tweak: remove group comments in fina
From: |
gnunet |
Subject: |
[taler-docs] branch master updated: tweak: remove group comments in final output |
Date: |
Tue, 04 Oct 2022 16:49:31 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository docs.
The following commit(s) were added to refs/heads/master by this push:
new effcc17 tweak: remove group comments in final output
effcc17 is described below
commit effcc17d92268b057ec1f643b4328ab0b2f3fedb
Author: Florian Dold <florian@dold.me>
AuthorDate: Tue Oct 4 16:49:27 2022 +0200
tweak: remove group comments in final output
---
extract-tsdefs/extract.ts | 6 ++++--
wallet/wallet-core.md | 12 ------------
2 files changed, 4 insertions(+), 14 deletions(-)
diff --git a/extract-tsdefs/extract.ts b/extract-tsdefs/extract.ts
index 6325e4f..ea133f3 100644
--- a/extract-tsdefs/extract.ts
+++ b/extract-tsdefs/extract.ts
@@ -182,7 +182,6 @@ const main = async () => {
sourceFile.getFullText(),
decl.getFullStart()
);
-
console.log(commentRanges);
commentRanges?.forEach((r) => {
const text = sourceFile.getFullText().slice(r.pos, r.end);
@@ -201,11 +200,14 @@ const main = async () => {
nameSet: new Set<string>(),
group: currentGroup,
};
- const declText = printer.printNode(
+ let declText = printer.printNode(
ts.EmitHint.Unspecified,
decl,
decl.getSourceFile()!
);
+ console.log("replacing group in", declText);
+ // Remove group comments
+ declText = declText.replace(/\/\/ group: [^\n]*[\n]/m, "");
perOpState.nameSet.add(v.name);
gatherState.declTexts.set(v.name, declText);
gatherDecls(decl, gatherState, perOpState);
diff --git a/wallet/wallet-core.md b/wallet/wallet-core.md
index 3b151b3..331b914 100644
--- a/wallet/wallet-core.md
+++ b/wallet/wallet-core.md
@@ -63,7 +63,6 @@ This file is auto-generated from
[wallet-core](https://git.taler.net/wallet-core
## Operation Reference
### InitWalletOp
```typescript
-// group: Initialization
/**
* Initialize wallet-core.
*
@@ -84,7 +83,6 @@ export type InitWalletOp = {
### GetBalancesOp
```typescript
-// group: Basic Wallet Information
/**
* Get current wallet balance.
*/
@@ -113,7 +111,6 @@ export interface Balance {
### GetTransactionsOp
```typescript
-// group: Managing Transactions
/**
* Get transactions.
*/
@@ -529,7 +526,6 @@ export interface RetryTransactionRequest {
### GetWithdrawalDetailsForAmountOp
```typescript
-// group: Withdrawals
/**
* Get details for withdrawing a particular amount (manual withdrawal).
*/
@@ -662,7 +658,6 @@ export interface AcceptManualWithdrawalResult {
### PreparePayForUriOp
```typescript
-// group: Merchant Payments
/**
* Prepare to make a payment
*/
@@ -850,7 +845,6 @@ export interface ApplyRefundResponse {
### PrepareTipOp
```typescript
-// group: Tipping
/**
* Query and store information about a tip.
*/
@@ -924,7 +918,6 @@ export interface AcceptTipRequest {
### ListExchangesOp
```typescript
-// group: Exchange Management
/**
* List exchanges known to the wallet.
*/
@@ -1049,7 +1042,6 @@ export interface WalletCurrencyInfo {
### CreateDepositGroupOp
```typescript
-// group: Deposits
/**
* Create a new deposit group.
*
@@ -1106,7 +1098,6 @@ export interface TrackDepositGroupResponse {
### ExportBackupRecoveryOp
```typescript
-// group: Backups
/**
* Export the recovery information for the wallet.
*/
@@ -1359,7 +1350,6 @@ export type ExportBackupPlainOp = {
### InitiatePeerPushPaymentOp
```typescript
-// group: Peer Payments
/**
* Initiate an outgoing peer push payment.
*/
@@ -1518,7 +1508,6 @@ export interface AcceptPeerPullPaymentRequest {
### ExportDbOp
```typescript
-// group: Database Management
/**
* Exoport the wallet database's contents to JSON.
*/
@@ -1555,7 +1544,6 @@ export type RecycleOp = {
### RunIntegrationTestOp
```typescript
-// group: Testing and Debugging
/**
* Run a simple integration test on a test deployment
* of the exchange and merchant.
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-docs] branch master updated: tweak: remove group comments in final output,
gnunet <=