Skip to content

Commit afaacb5

Browse files
authored
Fix jsdoc generation and always publish GHA. (#626)
1 parent 40644e3 commit afaacb5

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/gh_pages.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ jobs:
3131
path: jsdoc
3232

3333
- name: Generate JS docs
34+
# because parsing errors still result in renderable docs
35+
continue-on-error: true
3436
run: yarn docs
3537

3638
- name: Publish JS docs

src/operation.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,8 +386,8 @@ export class Operation {
386386
* Note that while smart contracts allow larger amounts, this is oriented
387387
* towards validating the standard Stellar operations.
388388
*
389-
* @param {string} value the amount to validate
390-
* @param {[boolean]} allowZero whether or not zero is valid (default: no)
389+
* @param {string} value the amount to validate
390+
* @param {boolean} allowZero optionally, whether or not zero is valid (default: no)
391391
*
392392
* @returns {boolean}
393393
*/

0 commit comments

Comments
 (0)