Skip to content

Commit

Permalink
fix: links
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-user committed Sep 24, 2024
1 parent ad8490a commit 5334f9b
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions contentlayer.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const includeDirs = [
'docs/sway-standards/docs/src',
'docs/sway-by-example-lib/docs/src',
'docs/migrations-and-disclosures/docs/src',
'docs/integration-docs/docs',
'docs/integration-docs/docs/src',
// NIGHTLY DOCS
'docs/nightly/sway/docs/book/src',
'docs/nightly/fuels-rs/docs/src',
Expand All @@ -77,7 +77,7 @@ const includeDirs = [
'docs/nightly/sway-standards/docs/src',
'docs/nightly/sway-by-example-lib/docs/src',
'docs/nightly/migrations-and-disclosures/docs/src',
'docs/nightly/integration-docs/docs',
'docs/nightly/integration-docs/docs/src',
];

const excludeDirs = [
Expand Down
2 changes: 1 addition & 1 deletion docs/integration-docs
2 changes: 1 addition & 1 deletion docs/nightly/fuel-specs
Submodule fuel-specs updated 1 files
+19 −20 src/abi/receipts.md
2 changes: 1 addition & 1 deletion docs/nightly/fuels-ts
Submodule fuels-ts updated 273 files
2 changes: 1 addition & 1 deletion docs/nightly/fuels-wallet
Submodule fuels-wallet updated 79 files
+8 −8 .github/workflows/pr-tests.yml
+8 −8 .github/workflows/pr.yaml
+2 −2 .github/workflows/release-npm-changeset.yaml
+2 −2 .github/workflows/tests-devnet.yaml
+2 −2 .github/workflows/tests-testnet.yaml
+2 −2 .github/workflows/unpublish-npm.yaml
+2 −2 .github/workflows/update-sdk-cron.yaml
+2 −2 .github/workflows/update-sdk-manual.yaml
+1 −1 .npmrc
+1 −1 .nvmrc
+0 −1 .tool-versions
+3 −3 examples/cra-dapp/package.json
+0 −5 examples/cra-dapp/src/App.css
+89 −21 examples/cra-dapp/src/App.tsx
+0 −192 examples/cra-dapp/src/Connected.tsx
+4 −5 package.json
+0 −19 packages/app/CHANGELOG.md
+5 −4 packages/app/package.json
+2 −10 packages/app/playwright/crx/crx.test.ts
+2 −10 packages/app/playwright/mocks/database.ts
+1 −3 packages/app/src/systems/Asset/__mocks__/assets.tsx
+6 −0 packages/app/src/systems/CRX/background/actions/keepAwake.ts
+20 −49 packages/app/src/systems/CRX/background/communication.ts
+1 −0 packages/app/src/systems/CRX/background/index.ts
+56 −147 packages/app/src/systems/CRX/background/services/BackgroundService.ts
+9 −35 packages/app/src/systems/CRX/background/services/CommunicationProtocol.ts
+0 −4 packages/app/src/systems/CRX/background/services/DatabaseEvents.ts
+18 −27 packages/app/src/systems/CRX/background/services/DatabaseObservable.ts
+5 −45 packages/app/src/systems/CRX/background/services/PopUpService.ts
+42 −68 packages/app/src/systems/CRX/background/services/VaultService.ts
+4 −22 packages/app/src/systems/CRX/background/services/types.ts
+1 −6 packages/app/src/systems/CRX/scripts/contentScript.ts
+3 −4 packages/app/src/systems/CRX/utils/error.ts
+0 −4 packages/app/src/systems/Core/services/core.ts
+1 −1 packages/app/src/systems/Core/types.ts
+7 −18 packages/app/src/systems/Core/utils/database.ts
+4 −1 packages/app/src/systems/Core/utils/wallet.ts
+3 −3 packages/app/src/systems/DApp/events.ts
+1 −1 packages/app/src/systems/DApp/hooks/index.tsx
+41 −0 packages/app/src/systems/DApp/hooks/useAddNetworkRequest.tsx
+0 −54 packages/app/src/systems/DApp/hooks/useSelectNetworkRequest.tsx
+26 −51 packages/app/src/systems/DApp/machines/addNetworkRequestMachine.tsx
+1 −1 packages/app/src/systems/DApp/machines/index.tsx
+11 −23 packages/app/src/systems/DApp/methods.ts
+4 −4 packages/app/src/systems/DApp/pages/AddNetworkRequest/AddNetworkRequest.stories.tsx
+52 −0 packages/app/src/systems/DApp/pages/AddNetworkRequest/AddNetworkRequest.tsx
+1 −0 packages/app/src/systems/DApp/pages/AddNetworkRequest/index.tsx
+0 −115 packages/app/src/systems/DApp/pages/SelectNetworkRequest/SelectNetworkRequest.tsx
+0 −1 packages/app/src/systems/DApp/pages/SelectNetworkRequest/index.tsx
+1 −1 packages/app/src/systems/DApp/pages/index.tsx
+2 −5 packages/app/src/systems/DApp/routes.tsx
+3 −4 packages/app/src/systems/Error/utils/parseFuelError.ts
+1 −5 packages/app/src/systems/Network/__mocks__/networks.ts
+1 −6 packages/app/src/systems/Network/components/NetworkReviewCard/NetworkReviewCard.tsx
+2 −2 packages/app/src/systems/Network/events.tsx
+17 −34 packages/app/src/systems/Network/machines/networksMachine.ts
+7 −15 packages/app/src/systems/Network/services/network.test.ts
+19 −212 packages/app/src/systems/Network/services/network.ts
+2 −2 packages/app/src/systems/Store/index.tsx
+3 −3 packages/app/src/systems/Store/types.ts
+2 −0 packages/app/src/systems/Transaction/services/transaction.tsx
+1 −7 packages/app/src/systems/Unlock/machines/unlockMachine.tsx
+8 −20 packages/app/src/systems/Vault/connectors/VaultCRXConnector.ts
+3 −3 packages/app/src/systems/Vault/services/VaultServer.ts
+0 −6 packages/connections/CHANGELOG.md
+3 −3 packages/connections/package.json
+48 −20 packages/connections/src/ContentProxyConnection.ts
+6 −21 packages/connections/src/ExtensionPageConnection.ts
+2 −0 packages/connections/src/config.ts
+1 −1 packages/connections/src/utils/provider.ts
+2 −2 packages/docs/docs/contributing/running-locally.mdx
+3 −3 packages/docs/package.json
+3 −3 packages/e2e-contract-tests/package.json
+0 −6 packages/playwright-utils/CHANGELOG.md
+3 −3 packages/playwright-utils/package.json
+0 −2 packages/types/CHANGELOG.md
+3 −3 packages/types/package.json
+0 −1 packages/types/src/network.ts
+14,831 −19,138 pnpm-lock.yaml
2 changes: 1 addition & 1 deletion docs/nightly/integration-docs
1 change: 1 addition & 0 deletions scripts/generate-links/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ function handleAllOrders(allOrders, folderPath, filename) {
'graphql',
'forc',
'specs',
'integration-docs',
];

const finalAllOrders = allOrders.sort((a, b) => {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export function Sidebar({

{allNavs.map((navOrder) => {
const catIndex = versionSet === 'default' ? 1 : 2;
let key = navOrder.links[0].slug?.split('/')[catIndex];
let key = navOrder.links[0].slug.split('/')[catIndex];
if (key === 'sway') {
key = 'forc';
}
Expand Down

0 comments on commit 5334f9b

Please sign in to comment.