Skip to content

Commit

Permalink
fix: regenerate docs + fix build version tooling (#639)
Browse files Browse the repository at this point in the history
* Regenerate

* use old parser

* cs
  • Loading branch information
Cameron Manavian authored Dec 5, 2022
1 parent a1f6905 commit c0a62ed
Show file tree
Hide file tree
Showing 27 changed files with 83 additions and 34 deletions.
32 changes: 32 additions & 0 deletions .changeset/plenty-paws-refuse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
"@fuel-ts/abi-coder": patch
"@fuel-ts/address": patch
"@fuel-ts/constants": patch
"@fuel-ts/contract": patch
"@fuel-ts/example-contract": patch
"forc-bin": patch
"fuelchain": patch
"fuels": patch
"@fuel-ts/hasher": patch
"@fuel-ts/hdwallet": patch
"@fuel-ts/interfaces": patch
"@fuel-ts/keystore": patch
"@fuel-ts/math": patch
"@fuel-ts/merkle": patch
"@fuel-ts/merkle-shared": patch
"@fuel-ts/merklesum": patch
"@fuel-ts/mnemonic": patch
"@fuel-ts/predicate": patch
"@fuel-ts/providers": patch
"@fuel-ts/script": patch
"@fuel-ts/signer": patch
"@fuel-ts/sparsemerkle": patch
"@fuel-ts/testcases": patch
"@fuel-ts/transactions": patch
"typechain-target-fuels": patch
"@fuel-ts/wallet": patch
"@fuel-ts/wallet-manager": patch
"@fuel-ts/wordlists": patch
---

Update docs
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Bump and Collect Versions
run: |
pnpm changeset version
echo "BUILD_VERSION=$(sed 's/.*"version": "(.*?)",$/\1/p' packages/fuels/package.json)" >> $GITHUB_ENV
echo "BUILD_VERSION=$(sed -nE 's/^\s*"version": "(.*?)",$/\1/p' packages/fuels/package.json)" >> $GITHUB_ENV
echo "FORC_VERSION=$(sed 's/.*"forcVersion": "\(.*\)".*/\1/;t;d' ./packages/forc-bin/package.json)" >> $GITHUB_ENV
echo "FUEL_CORE_VERSION=$(sed 's/.*fuel-core:v\(.*\).*/\1/;t;d' ./services/fuel-core/Dockerfile)" >> $GITHUB_ENV
git reset --hard
Expand Down
3 changes: 2 additions & 1 deletion docs/guide/abi-typegen/generate-contract-types-from-abi.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
title: "Generate Contract Types From Abi"
parent: "Abi Typegen"
grand_parent: "Guide"
nav_order: 0
---

[info]: this file is autogenerated
[nav_order: 0]


# Generate Contract Types from ABI

Expand Down
4 changes: 2 additions & 2 deletions docs/guide/abi-typegen/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ title: "Abi Typegen"
parent: "Guide"
has_children: true
has_toc: false
nav_order: -2
nav_order: 1
---

[info]: this file is autogenerated
[nav_order: 1]


# ABI Typegen

Expand Down
3 changes: 2 additions & 1 deletion docs/guide/abi-typegen/using-generated-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
title: "Using Generated Types"
parent: "Abi Typegen"
grand_parent: "Guide"
nav_order: 1
---

[info]: this file is autogenerated
[nav_order: 1]


# Using Generated Types

Expand Down
3 changes: 2 additions & 1 deletion docs/guide/contracts/call-parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
title: "Call Parameters"
parent: "Contracts"
grand_parent: "Guide"
nav_order: 6
---

[info]: this file is autogenerated
[nav_order: 6]


# Call parameters

Expand Down
3 changes: 2 additions & 1 deletion docs/guide/contracts/calling-external-contracts.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
title: "Calling External Contracts"
parent: "Contracts"
grand_parent: "Guide"
nav_order: 7
---

[info]: this file is autogenerated
[nav_order: 7]


# Calling external contracts

Expand Down
3 changes: 2 additions & 1 deletion docs/guide/contracts/calls-with-different-wallets.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
title: "Calls With Different Wallets"
parent: "Contracts"
grand_parent: "Guide"
nav_order: 8
---

[info]: this file is autogenerated
[nav_order: 8]


# Calls with different Wallets or Providers

Expand Down
3 changes: 2 additions & 1 deletion docs/guide/contracts/cost-estimation.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
title: "Cost Estimation"
parent: "Contracts"
grand_parent: "Guide"
nav_order: 4
---

[info]: this file is autogenerated
[nav_order: 4]


# Estimating contract call cost

Expand Down
3 changes: 2 additions & 1 deletion docs/guide/contracts/deploying-contracts.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
title: "Deploying Contracts"
parent: "Contracts"
grand_parent: "Guide"
nav_order: 12
---

[info]: this file is autogenerated
[nav_order: 12]


# Deploying contracts

Expand Down
4 changes: 2 additions & 2 deletions docs/guide/contracts/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ title: "Contracts"
parent: "Guide"
has_children: true
has_toc: false
nav_order: -2
nav_order: 4
---

[info]: this file is autogenerated
[nav_order: 4]


# Calling contracts

Expand Down
3 changes: 2 additions & 1 deletion docs/guide/contracts/interacting-with-contracts.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
title: "Interacting With Contracts"
parent: "Contracts"
grand_parent: "Guide"
nav_order: 1
---

[info]: this file is autogenerated
[nav_order: 1]


# Interacting with contracts

Expand Down
3 changes: 2 additions & 1 deletion docs/guide/contracts/logs.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
title: "Logs"
parent: "Contracts"
grand_parent: "Guide"
nav_order: 9
---

[info]: this file is autogenerated
[nav_order: 9]


# Logs

Expand Down
3 changes: 2 additions & 1 deletion docs/guide/contracts/multicalls.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
title: "Multicalls"
parent: "Contracts"
grand_parent: "Guide"
nav_order: 3
---

[info]: this file is autogenerated
[nav_order: 3]


# Multiple contract calls

Expand Down
3 changes: 2 additions & 1 deletion docs/guide/contracts/read-only-calls.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
title: "Read Only Calls"
parent: "Contracts"
grand_parent: "Guide"
nav_order: 2
---

[info]: this file is autogenerated
[nav_order: 2]


# Read-only calls

Expand Down
3 changes: 2 additions & 1 deletion docs/guide/contracts/the-fuelvm-binary-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
title: "The Fuelvm Binary File"
parent: "Contracts"
grand_parent: "Guide"
nav_order: 11
---

[info]: this file is autogenerated
[nav_order: 11]


# The FuelVM binary file

Expand Down
3 changes: 2 additions & 1 deletion docs/guide/contracts/transaction-parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
title: "Transaction Parameters"
parent: "Contracts"
grand_parent: "Guide"
nav_order: 5
---

[info]: this file is autogenerated
[nav_order: 5]


# Transaction parameters

Expand Down
3 changes: 2 additions & 1 deletion docs/guide/contracts/variable-outputs.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
title: "Variable Outputs"
parent: "Contracts"
grand_parent: "Guide"
nav_order: 10
---

[info]: this file is autogenerated
[nav_order: 10]


# Variable outputs

Expand Down
4 changes: 2 additions & 2 deletions docs/guide/cookbook/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ title: "Cookbook"
parent: "Guide"
has_children: true
has_toc: false
nav_order: -2
nav_order: 5
---

[info]: this file is autogenerated
[nav_order: 5]


# Cookbook

Expand Down
4 changes: 2 additions & 2 deletions docs/guide/predicates/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ title: "Predicates"
parent: "Guide"
has_children: true
has_toc: false
nav_order: -2
nav_order: 6
---

[info]: this file is autogenerated
[nav_order: 6]


# Predicates

Expand Down
3 changes: 2 additions & 1 deletion docs/guide/providers/connecting-to-an-external-node.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
title: "Connecting To An External Node"
parent: "Providers"
grand_parent: "Guide"
nav_order: 2
---

[info]: this file is autogenerated
[nav_order: 2]


# Connecting to the Testnet or an external node

Expand Down
3 changes: 2 additions & 1 deletion docs/guide/providers/connection.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
title: "Connection"
parent: "Providers"
grand_parent: "Guide"
nav_order: 1
---

[info]: this file is autogenerated
[nav_order: 1]


# Connecting to a Fuel node

Expand Down
4 changes: 2 additions & 2 deletions docs/guide/providers/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ title: "Providers"
parent: "Guide"
has_children: true
has_toc: false
nav_order: -2
nav_order: 3
---

[info]: this file is autogenerated
[nav_order: 3]


# Providers

Expand Down
3 changes: 2 additions & 1 deletion docs/guide/providers/querying-the-chain.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
title: "Querying The Chain"
parent: "Providers"
grand_parent: "Guide"
nav_order: 3
---

[info]: this file is autogenerated
[nav_order: 3]


# Interacting with the blockchain

Expand Down
4 changes: 2 additions & 2 deletions docs/guide/testing/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ title: "Testing"
parent: "Guide"
has_children: true
has_toc: false
nav_order: -2
nav_order: 7
---

[info]: this file is autogenerated
[nav_order: 7]


# Testing

Expand Down
4 changes: 2 additions & 2 deletions docs/guide/types/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ title: "Types"
parent: "Guide"
has_children: true
has_toc: false
nav_order: -2
nav_order: 0
---

[info]: this file is autogenerated
[nav_order: 0]


# Types

Expand Down
4 changes: 2 additions & 2 deletions docs/guide/wallets/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ title: "Wallets"
parent: "Guide"
has_children: true
has_toc: false
nav_order: -2
nav_order: 2
---

[info]: this file is autogenerated
[nav_order: 2]


# Managing wallets

Expand Down

0 comments on commit c0a62ed

Please sign in to comment.